mbed-ce / mbed-os

Arm Mbed OS is a platform operating system designed for the internet of things
https://mbed.com
Other
76 stars 14 forks source link

Bootloader support #305

Open chrissnow opened 1 month ago

chrissnow commented 1 month ago

I don't think there is a way to implement bootloaders? mbed-tools was never updated to include it.

https://github.com/ARMmbed/mbed-tools/issues/156 https://github.com/ARMmbed/mbed-tools/issues/315

The give away is this in the configure

WARNING: You are attempting to override an undefined config parameter target.header_format. It is an error to override an undefined configuration parameter. Please check your target_overrides are correct. The parameter target.header_format will not be added to the configuration. WARNING: You are attempting to override an undefined config parameter target.bootloader_img. It is an error to override an undefined configuration parameter. Please check your target_overrides are correct. The parameter target.bootloader_img will not be added to the configuration.

How complicated to implement this would it be? I could work around it if too complex.

There was once talk in mbed of supporting mcuboot as it has a lot of nice features. https://docs.mcuboot.com/

multiplemonomials commented 1 month ago

I should have some updates about this within the next week or two! Currently the CMake build system (started by ARM, improved by us) does not support this, but it can, someday.

multiplemonomials commented 1 month ago

However, I will admit, it's probably a 1-2 years away thing, not a few months thing, unless someone is interested in working on it now!