Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 608 Bytes

File metadata and controls

19 lines (16 loc) · 608 Bytes

Building the bootloader

Requirements

  • A complete zephyr installation
  • Including the mcuboot repo under bootloader/mcuboot
  • Activation of zephyr_venv with 'source ~/zephyrproject/.venv/bin/activate'

Building

west build -s /home/test/zephyrproject/bootloader/mcuboot/boot/zephyr -b fse_pb -p auto -- \
-DBOARD_ROOT=/home/test/zephyrproject/fse_pb_bootloader \
-DOVERLAY_CONFIG=/home/test/zephyrproject/fse_pb_bootloader/bootloader/prj.conf
  • Use absolute paths, because west's behaviour is somethimes confusing with relative paths

Flashing

west flash --runner openocd