about _param_start and _param_stop

Firmware/software/electronics/mechanics
Post Reply
justinleeyang
Expert
Posts: 186
Joined: Mon Dec 28, 2015 5:07 am

about _param_start and _param_stop

Post by justinleeyang »

Hi,
we are learning the crazyflie-firmware, About the paramsLen, the code as follow:
//These are set by the Linker
extern struct param_s _param_start;
extern struct param_s _param_stop;
......
paramsLen = &_param_stop - &_param_start
......

I don't understand the code, why? the Linker set the _param_start and _param_stop?
I don't find the setting.
Please help me, thanks!
Post Reply