How to add new version of MBED framework?

Hi there fam,

mbed-os recently had a new patch (5.7.2) which includes a bugfix which is relevant to my project and I’d like to update my platform (freescalekinetis) to use that version of mbed-os for framework-mbed

In platform.json I tried replacing

"framework-mbed": {
  "type": "framework",
  "optional": true,
  "version": "~4.50701.0"
},

… with …

"framework-mbed": {
  "type": "framework",
  "optional": true,
  "version": "/Path/to/my/own/clone/mbed-os_v5.7.2"
},

… but no dice.

Cheers!

P.S. Platformio is a great project, would like to contribute in various ways.

You need to copy ~/.platformio/packages/framework-mbed/platformio folder to a new version and read ~/.platformio/packages/framework-mbed/platformio/README.txt.

Nevertheless, we have deployed 5.7.2 version and will release dev/platforms soon. You can switch to development version GitHub - platformio/platform-freescalekinetis: Freescale Kinetis: development platform for PlatformIO