Compiling Crazyflie firmware in keil - linker section

Firmware/software/electronics/mechanics
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Compiling Crazyflie firmware in keil - linker section

Post by arnaud »

Log and param could jus be disabled by not calling there init function. The same for the Deck drivers.

For debuging: the way this is supposed to work is that the symbols set by the linker should link to the start and end of the section that contains the log/param/deck structures. This is how they are accessed by the software at runtime.

Maybe you can try to ask on an ARM/Keil forum. The functionality you need to reproduce in keil is this part of the GCC linker script: https://github.com/bitcraze/crazyflie-f ... ld#L48-L62. You can see that I declare the symbols before and after including the section in the flash.
justinleeyang
Expert
Posts: 186
Joined: Mon Dec 28, 2015 5:07 am

Re: Compiling Crazyflie firmware in keil - linker section

Post by justinleeyang »

Got it! I will try.
Post Reply