AlkaMotors / AM32_Bootloader_F051

29 stars 28 forks source link

Added boot loader version at a fixed address. Also make boot loader able to read itself. #1

Closed mikeller closed 3 years ago

AlkaMotors commented 3 years ago

That looks good, just out of curiosity why the changes to syscalls.c?

mikeller commented 3 years ago

He, I removed this when adding the makefile, as this definition conflicts with one in the latest ARM libraries:

syscalls.c:(.text._exit+0x0): multiple definition of `_exit'; /home/mikeller/github/betaflight/tools/gcc-arm-none-eabi-9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libnosys.a(_exit.o):_exit.c:(.text._exit+0x0): first defined here

I've moved the change into #2 where it belongs.