diff options
author | xengineering <me@xengineering.eu> | 2025-02-23 20:42:12 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2025-02-24 19:53:36 +0100 |
commit | 5099b9846dcd8c62a877140f99936ea8f7101e4e (patch) | |
tree | f48d3e54d9fb5e1c91be58b92831f6c5e508caaf /README.md | |
parent | d24bdfcca2eb9d3ef9c5a77d5e96dc80c73cf13e (diff) | |
download | iot-contact-5099b9846dcd8c62a877140f99936ea8f7101e4e.tar iot-contact-5099b9846dcd8c62a877140f99936ea8f7101e4e.tar.zst iot-contact-5099b9846dcd8c62a877140f99936ea8f7101e4e.zip |
fw: Build application firmware for bootloader
This changes the flash address for which the application firmware is
built. Furthermore it adds the MCUboot header as offset to the
application firmware. For details see the documentation of the enabled
Kconfig flag.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -10,6 +10,7 @@ The content of this repository can be build with CMake and Ninja. ``` cmake -Bbuild -GNinja ninja -C build +./fw/sign.sh ``` Exported files related to the printed circuit board (PCB) can be found in the @@ -22,7 +23,8 @@ tree build/pcb The resulting firmware can be flashed via a ST-LINK debugger / programmer. ``` -st-flash --connect-under-reset write build/fw/zephyr/zephyr.bin 0x8000000 +st-flash --connect-under-reset write build/fw/bootloader/zephyr/zephyr.bin 0x8000000 +st-flash --connect-under-reset write build/fw/zephyr/zephyr.bin.signed 0x8040000 ``` UART shell output can be retrieved with `picocom`. |