Page 1 of 1

symbol set by linker script in deck_drivers.c

Posted: Tue Apr 18, 2017 1:39 pm
by Narasing
Hi,

In deck_drivers.c file see following

/* Symbols set by the linker script */
extern const struct deck_driver * _deckDriver_start;
extern const struct deck_driver * _deckDriver_stop;

So where should I see for linker script or map file.

Re: symbol set by linker script in deck_drivers.c

Posted: Tue Apr 18, 2017 7:01 pm
by arnaud
Hi,

The linker script sets these symbol there: https://github.com/bitcraze/crazyflie-f ... ld#L59-L62. The relevant data structures are placed in the deckDriver section.