How to add new version of MBED framework?


#1

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.


#2

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 https://github.com/platformio/platform-freescalekinetis