symbol set by linker script in deck_drivers.c

All discussions related to the Loco Positioning system
Post Reply
Narasing
Beginner
Posts: 7
Joined: Thu Feb 23, 2017 9:43 am

symbol set by linker script in deck_drivers.c

Post by Narasing » Tue Apr 18, 2017 1:39 pm

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.



arnaud
Bitcraze
Posts: 2070
Joined: Tue Feb 06, 2007 12:36 pm

Re: symbol set by linker script in deck_drivers.c

Post by arnaud » Tue Apr 18, 2017 7:01 pm

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.

Post Reply