-
If I were to write a bootloader using modm or import some third-party one, like mentioned in private by @salkinium (https://github.com/mcu-tools/mcuboot), what steps should I follow? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
The bootloader and the application would be separate projects with their own
No, not natively. You would need to write a small bash script that calls
Not necessarily, the application would have the lbuild option |
Beta Was this translation helpful? Give feedback.
The bootloader and the application would be separate projects with their own
project.xml
files.No, not natively. You would need to write a small bash script that calls
scons/make bin
for each and then concatenates the files correctly. Alternatively you can program the bootloader first, then use that to upload the application.Not necessarily, the application would have the lbuild option
modm:platform:cortex-m:linkerscript.flash_offset
set to the bootloader size and then everything is shifted upwards automatically. The bootloader it…