diff --git a/boards/blackpill_f411ce.json b/boards/blackpill_f411ce.json index b5c8fab6..274920c5 100644 --- a/boards/blackpill_f411ce.json +++ b/boards/blackpill_f411ce.json @@ -27,7 +27,8 @@ "cmsis", "stm32cube", "libopencm3", - "zephyr" + "zephyr", + "mbed-ce" ], "name": "WeAct Studio BlackPill V2.0 (STM32F411CE)", "upload": { diff --git a/boards/cloud_jam.json b/boards/cloud_jam.json index f789fce9..e1d386ed 100644 --- a/boards/cloud_jam.json +++ b/boards/cloud_jam.json @@ -22,6 +22,7 @@ }, "frameworks": [ "mbed", + "mbed-ce", "cmsis", "spl", "stm32cube", diff --git a/boards/cloud_jam_l4.json b/boards/cloud_jam_l4.json index 71b69e11..e27b70ee 100644 --- a/boards/cloud_jam_l4.json +++ b/boards/cloud_jam_l4.json @@ -21,6 +21,7 @@ "frameworks": [ "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3" ], diff --git a/boards/disco_b_u585i_iot02a.json b/boards/disco_b_u585i_iot02a.json index 43aa231a..b6179e5c 100644 --- a/boards/disco_b_u585i_iot02a.json +++ b/boards/disco_b_u585i_iot02a.json @@ -25,7 +25,8 @@ "openocd_target": "stm32u5x" }, "frameworks": [ - "arduino" + "arduino", + "mbed-ce" ], "name": "ST B-U585I-IOT02A Discovery", "upload": { diff --git a/boards/disco_f413zh.json b/boards/disco_f413zh.json index 56deeb66..13e20aef 100644 --- a/boards/disco_f413zh.json +++ b/boards/disco_f413zh.json @@ -31,7 +31,8 @@ "cmsis", "stm32cube", "libopencm3", - "mbed" + "mbed", + "mbed-ce" ], "name": "ST 32F413HDISCOVERY", "upload": { diff --git a/boards/disco_f469ni.json b/boards/disco_f469ni.json index 33889852..093e1f91 100644 --- a/boards/disco_f469ni.json +++ b/boards/disco_f469ni.json @@ -27,6 +27,7 @@ "frameworks": [ "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3", "zephyr" diff --git a/boards/disco_f746ng.json b/boards/disco_f746ng.json index 2459f6fb..bd9972c0 100644 --- a/boards/disco_f746ng.json +++ b/boards/disco_f746ng.json @@ -33,6 +33,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3", "zephyr" diff --git a/boards/disco_f769ni.json b/boards/disco_f769ni.json index 72230311..c8c96519 100644 --- a/boards/disco_f769ni.json +++ b/boards/disco_f769ni.json @@ -28,6 +28,7 @@ "frameworks": [ "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3", "zephyr" diff --git a/boards/disco_h747xi.json b/boards/disco_h747xi.json index 53b42214..64b3c478 100644 --- a/boards/disco_h747xi.json +++ b/boards/disco_h747xi.json @@ -33,6 +33,7 @@ "stm32cube", "libopencm3", "mbed", + "mbed-ce", "zephyr" ], "name": "STM32H747I-DISCO", diff --git a/boards/disco_l072cz_lrwan1.json b/boards/disco_l072cz_lrwan1.json index cb7b688e..7a4eed3e 100644 --- a/boards/disco_l072cz_lrwan1.json +++ b/boards/disco_l072cz_lrwan1.json @@ -29,6 +29,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3", "zephyr" diff --git a/boards/disco_l475vg_iot01a.json b/boards/disco_l475vg_iot01a.json index 748e38c2..ae3314cc 100644 --- a/boards/disco_l475vg_iot01a.json +++ b/boards/disco_l475vg_iot01a.json @@ -34,6 +34,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3", "zephyr" diff --git a/boards/disco_l476vg.json b/boards/disco_l476vg.json index e3366ead..ed824fb3 100644 --- a/boards/disco_l476vg.json +++ b/boards/disco_l476vg.json @@ -27,6 +27,7 @@ "frameworks": [ "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3", "zephyr" diff --git a/boards/genericSTM32F103RB.json b/boards/genericSTM32F103RB.json index 8da84b46..457ca719 100644 --- a/boards/genericSTM32F103RB.json +++ b/boards/genericSTM32F103RB.json @@ -27,6 +27,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "libopencm3", "stm32cube" ], diff --git a/boards/giga_r1_m4.json b/boards/giga_r1_m4.json index d8ad78ba..43de909e 100644 --- a/boards/giga_r1_m4.json +++ b/boards/giga_r1_m4.json @@ -27,7 +27,8 @@ "openocd_target": "stm32h7x_dual_bank" }, "frameworks": [ - "arduino" + "arduino", + "mbed-ce" ], "name": "Arduino Giga R1 (M4 core)", "upload": { diff --git a/boards/giga_r1_m7.json b/boards/giga_r1_m7.json index e481b16e..10c57311 100644 --- a/boards/giga_r1_m7.json +++ b/boards/giga_r1_m7.json @@ -27,7 +27,8 @@ "openocd_target": "stm32h7x_dual_bank" }, "frameworks": [ - "arduino" + "arduino", + "mbed-ce" ], "name": "Arduino Giga R1 (M7 core)", "upload": { diff --git a/boards/mote_l152rc.json b/boards/mote_l152rc.json index 8e2a790f..5a6c147c 100644 --- a/boards/mote_l152rc.json +++ b/boards/mote_l152rc.json @@ -14,6 +14,7 @@ }, "frameworks": [ "mbed", + "mbed-ce", "cmsis", "stm32cube", "libopencm3" diff --git a/boards/mts_dragonfly_f411re.json b/boards/mts_dragonfly_f411re.json index 73c8b215..e6c9676a 100644 --- a/boards/mts_dragonfly_f411re.json +++ b/boards/mts_dragonfly_f411re.json @@ -15,6 +15,7 @@ }, "frameworks": [ "mbed", + "mbed-ce", "stm32cube", "libopencm3" ], diff --git a/boards/mts_mdot_f411re.json b/boards/mts_mdot_f411re.json index ff4c9266..f9819000 100644 --- a/boards/mts_mdot_f411re.json +++ b/boards/mts_mdot_f411re.json @@ -13,7 +13,8 @@ }, "frameworks": [ "stm32cube", - "libopencm3" + "libopencm3", + "mbed-ce" ], "name": "MultiTech mDot F411", "upload": { diff --git a/boards/nucleo_f072rb.json b/boards/nucleo_f072rb.json index f1f0cce5..ccd44562 100644 --- a/boards/nucleo_f072rb.json +++ b/boards/nucleo_f072rb.json @@ -27,6 +27,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3" ], diff --git a/boards/nucleo_f091rc.json b/boards/nucleo_f091rc.json index 164a56af..bf4299a3 100644 --- a/boards/nucleo_f091rc.json +++ b/boards/nucleo_f091rc.json @@ -27,6 +27,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3", "zephyr" diff --git a/boards/nucleo_f103rb.json b/boards/nucleo_f103rb.json index 0f89f66b..902629f2 100644 --- a/boards/nucleo_f103rb.json +++ b/boards/nucleo_f103rb.json @@ -24,6 +24,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "libopencm3", "stm32cube", "zephyr" diff --git a/boards/nucleo_f207zg.json b/boards/nucleo_f207zg.json index a4e5276a..d2df4ccc 100644 --- a/boards/nucleo_f207zg.json +++ b/boards/nucleo_f207zg.json @@ -30,6 +30,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3", "zephyr" diff --git a/boards/nucleo_f303k8.json b/boards/nucleo_f303k8.json index 6f0542f6..ce92bf09 100644 --- a/boards/nucleo_f303k8.json +++ b/boards/nucleo_f303k8.json @@ -27,6 +27,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3", "zephyr" diff --git a/boards/nucleo_f303re.json b/boards/nucleo_f303re.json index ad42c807..3492bd05 100644 --- a/boards/nucleo_f303re.json +++ b/boards/nucleo_f303re.json @@ -24,6 +24,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3", "zephyr" diff --git a/boards/nucleo_f303ze.json b/boards/nucleo_f303ze.json index 1bd16a78..f52b3e59 100644 --- a/boards/nucleo_f303ze.json +++ b/boards/nucleo_f303ze.json @@ -21,6 +21,7 @@ "frameworks": [ "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3" ], diff --git a/boards/nucleo_f401re.json b/boards/nucleo_f401re.json index ce1e10d1..e197d78b 100644 --- a/boards/nucleo_f401re.json +++ b/boards/nucleo_f401re.json @@ -23,6 +23,7 @@ "frameworks": [ "arduino", "mbed", + "mbed-ce", "cmsis", "spl", "stm32cube", diff --git a/boards/nucleo_f411re.json b/boards/nucleo_f411re.json index 402d4d7d..dd544623 100644 --- a/boards/nucleo_f411re.json +++ b/boards/nucleo_f411re.json @@ -24,6 +24,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3", "zephyr" diff --git a/boards/nucleo_f412zg.json b/boards/nucleo_f412zg.json index 5e2a47e5..a35e4381 100644 --- a/boards/nucleo_f412zg.json +++ b/boards/nucleo_f412zg.json @@ -21,6 +21,7 @@ "frameworks": [ "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3", "zephyr" diff --git a/boards/nucleo_f413zh.json b/boards/nucleo_f413zh.json index 9c562501..dce2cb9b 100644 --- a/boards/nucleo_f413zh.json +++ b/boards/nucleo_f413zh.json @@ -26,6 +26,7 @@ "stm32cube", "libopencm3", "mbed", + "mbed-ce", "zephyr" ], "name": "ST Nucleo F413ZH", diff --git a/boards/nucleo_f429zi.json b/boards/nucleo_f429zi.json index c694e29a..4b8bdd77 100644 --- a/boards/nucleo_f429zi.json +++ b/boards/nucleo_f429zi.json @@ -34,6 +34,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3", "zephyr" diff --git a/boards/nucleo_f439zi.json b/boards/nucleo_f439zi.json index 42fb8e14..db00eaed 100644 --- a/boards/nucleo_f439zi.json +++ b/boards/nucleo_f439zi.json @@ -33,6 +33,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3" ], diff --git a/boards/nucleo_f446re.json b/boards/nucleo_f446re.json index 8e96c367..382dfbe6 100644 --- a/boards/nucleo_f446re.json +++ b/boards/nucleo_f446re.json @@ -27,6 +27,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3", "zephyr" diff --git a/boards/nucleo_f446ze.json b/boards/nucleo_f446ze.json index e18c3ceb..fc9d7aa5 100644 --- a/boards/nucleo_f446ze.json +++ b/boards/nucleo_f446ze.json @@ -27,6 +27,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3", "zephyr" diff --git a/boards/nucleo_f746zg.json b/boards/nucleo_f746zg.json index 6e827ae6..dab22013 100644 --- a/boards/nucleo_f746zg.json +++ b/boards/nucleo_f746zg.json @@ -31,6 +31,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3", "zephyr" diff --git a/boards/nucleo_f756zg.json b/boards/nucleo_f756zg.json index 08939522..456f2289 100644 --- a/boards/nucleo_f756zg.json +++ b/boards/nucleo_f756zg.json @@ -31,6 +31,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3", "zephyr" diff --git a/boards/nucleo_f767zi.json b/boards/nucleo_f767zi.json index 63118d00..0327be38 100644 --- a/boards/nucleo_f767zi.json +++ b/boards/nucleo_f767zi.json @@ -28,6 +28,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3", "zephyr" diff --git a/boards/nucleo_g031k8.json b/boards/nucleo_g031k8.json index 7fe6ac97..7fbd3341 100644 --- a/boards/nucleo_g031k8.json +++ b/boards/nucleo_g031k8.json @@ -25,7 +25,8 @@ "frameworks": [ "arduino", "cmsis", - "stm32cube" + "stm32cube", + "mbed-ce" ], "name": "ST NUCLEO-G031K8", "upload": { diff --git a/boards/nucleo_g071rb.json b/boards/nucleo_g071rb.json index 687e543e..e14e6780 100644 --- a/boards/nucleo_g071rb.json +++ b/boards/nucleo_g071rb.json @@ -27,7 +27,8 @@ "cmsis", "libopencm3", "stm32cube", - "zephyr" + "zephyr", + "mbed-ce" ], "name": "Nucleo G071RB", "upload": { diff --git a/boards/nucleo_g431kb.json b/boards/nucleo_g431kb.json index 1cb791a8..accd8013 100644 --- a/boards/nucleo_g431kb.json +++ b/boards/nucleo_g431kb.json @@ -26,7 +26,8 @@ "arduino", "cmsis", "libopencm3", - "stm32cube" + "stm32cube", + "mbed-ce" ], "name": "Nucleo G431KB", "upload": { diff --git a/boards/nucleo_g431rb.json b/boards/nucleo_g431rb.json index 8f4f0729..778969ae 100644 --- a/boards/nucleo_g431rb.json +++ b/boards/nucleo_g431rb.json @@ -27,7 +27,8 @@ "cmsis", "libopencm3", "stm32cube", - "zephyr" + "zephyr", + "mbed-ce" ], "name": "Nucleo G431RB", "upload": { diff --git a/boards/nucleo_g474re.json b/boards/nucleo_g474re.json index e0ede08f..194ce2b7 100644 --- a/boards/nucleo_g474re.json +++ b/boards/nucleo_g474re.json @@ -26,6 +26,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "libopencm3", "stm32cube", "zephyr" diff --git a/boards/nucleo_h563zi.json b/boards/nucleo_h563zi.json index bbc5c9d3..accd0caa 100644 --- a/boards/nucleo_h563zi.json +++ b/boards/nucleo_h563zi.json @@ -18,7 +18,8 @@ }, "frameworks": [ "arduino", - "zephyr" + "zephyr", + "mbed-ce" ], "name": "ST Nucleo H563ZI", "upload": { diff --git a/boards/nucleo_h723zg.json b/boards/nucleo_h723zg.json index 52c1ad20..a7fc88ca 100644 --- a/boards/nucleo_h723zg.json +++ b/boards/nucleo_h723zg.json @@ -27,6 +27,7 @@ "arduino", "stm32cube", "mbed", + "mbed-ce", "libopencm3", "zephyr" ], diff --git a/boards/nucleo_h743zi.json b/boards/nucleo_h743zi.json index 257d5b50..6f8f66f2 100644 --- a/boards/nucleo_h743zi.json +++ b/boards/nucleo_h743zi.json @@ -29,6 +29,7 @@ "cmsis", "stm32cube", "mbed", + "mbed-ce", "zephyr" ], "name": "ST Nucleo H743ZI", diff --git a/boards/nucleo_h745zi_q.json b/boards/nucleo_h745zi_q.json index 49db6834..2431f781 100644 --- a/boards/nucleo_h745zi_q.json +++ b/boards/nucleo_h745zi_q.json @@ -29,7 +29,8 @@ "frameworks": [ "cmsis", "stm32cube", - "zephyr" + "zephyr", + "mbed-ce" ], "name": "ST Nucleo H745ZI-Q", "upload": { diff --git a/boards/nucleo_l073rz.json b/boards/nucleo_l073rz.json index 4f4174a3..85d5b40d 100644 --- a/boards/nucleo_l073rz.json +++ b/boards/nucleo_l073rz.json @@ -26,6 +26,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3", "zephyr" diff --git a/boards/nucleo_l152re.json b/boards/nucleo_l152re.json index b8a053d7..70bd3f3a 100644 --- a/boards/nucleo_l152re.json +++ b/boards/nucleo_l152re.json @@ -23,6 +23,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3" ], diff --git a/boards/nucleo_l432kc.json b/boards/nucleo_l432kc.json index 37b37cab..c4cfb44d 100644 --- a/boards/nucleo_l432kc.json +++ b/boards/nucleo_l432kc.json @@ -22,6 +22,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3", "zephyr" diff --git a/boards/nucleo_l433rc_p.json b/boards/nucleo_l433rc_p.json index 3b57ab5b..b3b74d41 100644 --- a/boards/nucleo_l433rc_p.json +++ b/boards/nucleo_l433rc_p.json @@ -24,6 +24,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3", "zephyr" diff --git a/boards/nucleo_l452re.json b/boards/nucleo_l452re.json index a14bd6cc..d7db13fe 100644 --- a/boards/nucleo_l452re.json +++ b/boards/nucleo_l452re.json @@ -27,7 +27,8 @@ "arduino", "cmsis", "stm32cube", - "libopencm3" + "libopencm3", + "mbed-ce" ], "name": "ST Nucleo L452RE", "upload": { diff --git a/boards/nucleo_l476rg.json b/boards/nucleo_l476rg.json index 2dffadf8..2d2a0097 100644 --- a/boards/nucleo_l476rg.json +++ b/boards/nucleo_l476rg.json @@ -27,6 +27,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3", "zephyr" diff --git a/boards/nucleo_l486rg.json b/boards/nucleo_l486rg.json index 7a9dcb2e..7c29f90d 100644 --- a/boards/nucleo_l486rg.json +++ b/boards/nucleo_l486rg.json @@ -24,6 +24,7 @@ "frameworks": [ "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3" ], diff --git a/boards/nucleo_l496zg_p.json b/boards/nucleo_l496zg_p.json index 6d31ff16..64f27d8b 100644 --- a/boards/nucleo_l496zg_p.json +++ b/boards/nucleo_l496zg_p.json @@ -26,6 +26,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3" ], diff --git a/boards/nucleo_l4r5zi.json b/boards/nucleo_l4r5zi.json index 4894e7ca..b657d04c 100644 --- a/boards/nucleo_l4r5zi.json +++ b/boards/nucleo_l4r5zi.json @@ -27,6 +27,7 @@ "arduino", "cmsis", "mbed", + "mbed-ce", "stm32cube", "zephyr" ], diff --git a/boards/nucleo_l552ze_q.json b/boards/nucleo_l552ze_q.json index 32f39ab5..2a928da4 100644 --- a/boards/nucleo_l552ze_q.json +++ b/boards/nucleo_l552ze_q.json @@ -27,7 +27,8 @@ "arduino", "cmsis", "stm32cube", - "zephyr" + "zephyr", + "mbed-ce" ], "name": "ST Nucleo L552ZE-Q", "upload": { diff --git a/boards/nucleo_u575zi_q.json b/boards/nucleo_u575zi_q.json index cfd83d0c..9f40827d 100644 --- a/boards/nucleo_u575zi_q.json +++ b/boards/nucleo_u575zi_q.json @@ -26,7 +26,8 @@ }, "frameworks": [ "arduino", - "mbed" + "mbed", + "mbed-ce" ], "name": "ST Nucleo U575ZI-Q", "upload": { diff --git a/boards/nucleo_wl55jc.json b/boards/nucleo_wl55jc.json index d63ea28a..33bc0b34 100644 --- a/boards/nucleo_wl55jc.json +++ b/boards/nucleo_wl55jc.json @@ -24,7 +24,8 @@ }, "frameworks": [ "arduino", - "zephyr" + "zephyr", + "mbed-ce" ], "name": "ST Nucleo WL55JC", "upload": { diff --git a/boards/portenta_h7_m4.json b/boards/portenta_h7_m4.json index 060f9d5b..25b28080 100644 --- a/boards/portenta_h7_m4.json +++ b/boards/portenta_h7_m4.json @@ -27,7 +27,8 @@ "openocd_target": "stm32h7x_dual_bank" }, "frameworks": [ - "arduino" + "arduino", + "mbed-ce" ], "name": "Arduino Portenta H7 (M4 core)", "upload": { diff --git a/boards/portenta_h7_m7.json b/boards/portenta_h7_m7.json index 630bab4e..6ba31e0e 100644 --- a/boards/portenta_h7_m7.json +++ b/boards/portenta_h7_m7.json @@ -27,7 +27,8 @@ "openocd_target": "stm32h7x_dual_bank" }, "frameworks": [ - "arduino" + "arduino", + "mbed-ce" ], "name": "Arduino Portenta H7 (M7 core)", "upload": { diff --git a/boards/seeedArchMax.json b/boards/seeedArchMax.json index 244b4e08..92fa773b 100644 --- a/boards/seeedArchMax.json +++ b/boards/seeedArchMax.json @@ -24,6 +24,7 @@ "frameworks": [ "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3" ], diff --git a/boards/xdot_l151cc.json b/boards/xdot_l151cc.json index ff0daca9..aa8fbb87 100644 --- a/boards/xdot_l151cc.json +++ b/boards/xdot_l151cc.json @@ -15,6 +15,7 @@ "frameworks": [ "cmsis", "mbed", + "mbed-ce", "stm32cube", "libopencm3" ], diff --git a/builder/frameworks/mbed-ce.py b/builder/frameworks/mbed-ce.py new file mode 100644 index 00000000..9cfc181e --- /dev/null +++ b/builder/frameworks/mbed-ce.py @@ -0,0 +1,26 @@ +# Copyright 2014-present PlatformIO +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +""" +Mbed OS Community Edition +https://mbed-ce.dev/ +""" + +from os.path import join + +from SCons.Script import Import, SConscript + +Import("env") + +SConscript( + join(env.PioPlatform().get_package_dir("framework-mbed-ce"), "tools", "python", "mbed_platformio", "build_mbed_ce.py")) \ No newline at end of file diff --git a/platform.json b/platform.json index 3d9ba4a8..0486ce00 100644 --- a/platform.json +++ b/platform.json @@ -27,6 +27,13 @@ "homepage": "https://os.mbed.com/", "title": "Mbed" }, + "mbed-ce": { + "package": "framework-mbed-ce", + "script": "builder/frameworks/mbed-ce.py", + "description": "Community edition of Mbed OS, an open-source operating system designed for the Internet of Things.", + "homepage": "https://mbed-ce.dev", + "title": "Mbed CE" + }, "cmsis": { "package": "framework-cmsis", "script": "builder/frameworks/cmsis.py", @@ -87,6 +94,12 @@ "owner": "platformio", "version": "~6.61700.0" }, + "framework-mbed-ce": { + "type": "framework", + "optional": true, + "owner": "mbed-ce-project", + "version": ">=6.99" + }, "framework-cmsis": { "type": "framework", "optional": true, diff --git a/platform.py b/platform.py index 45b605f1..bac9f505 100644 --- a/platform.py +++ b/platform.py @@ -53,8 +53,13 @@ def configure_default_packages(self, variables, targets): self.packages["framework-cmsis"]["version"] = "~2.50900.0" self.packages["framework-cmsis"]["optional"] = False - if "mbed" in frameworks: + if "mbed" in frameworks or "mbed-ce" in frameworks: self.packages["toolchain-gccarmnoneeabi"]["version"] = "~1.90201.0" + + if "mbed-ce" in frameworks: + for p in self.packages: + if p in ("tool-cmake", "tool-ninja"): + self.packages[p]["optional"] = False if "cmsis" in frameworks: assert build_mcu, ("Missing MCU field for %s" % board)