Use ONLY arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 7-2017-q4-major) 7.2.1 20170904 (release) [ARM/embedded-7-branch revision 255204]
Version 9.3 will cause issues with flash programing and not work at this time!
Build all targets:
git submodule sync --recursive
git submodule update --init --recursive
make
The binaries will be in build/BOARDNAME/BOARDNAME.elf
. Two files are built: ELF files for use with JTAG adapters and BIN files for direct onboard upgrading.
Build a specific board: Please check the Makefile
for specific build targets.
License: LGPL for libopencm3, BSD for core bootloader (see LICENSE.md)
- Chat: Dronecode Slack
- Forum: Dronecode Discuss
Typical use case. The PX4 IO. px4pipbl.pdf
To avoid accidental erasure or bad image loading:
The booaloder need to receive PROTO_GET_SYNC
and PROTO_GET_DEVICE
Prior to receiving PROTO_CHIP_ERASE
The booaloder need to receive PROTO_GET_SYNC
and PROTO_GET_DEVICE
and PROTO_PROG_MULTI
and PROTO_GET_CRC
Prior to receiving PROTO_BOOT