Page 2 of 2

Re: Compiling Crazyflie firmware in keil - linker section

Posted: Mon Sep 26, 2016 8:31 am
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.

Re: Compiling Crazyflie firmware in keil - linker section

Posted: Mon Sep 26, 2016 9:02 am
by justinleeyang
Got it! I will try.