This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

FDS & Application flash size

Hi,

Can you explain please why do you use all flash space for application (except SD area) in your examples. For example, SDK 17.0.0, HRS s132 example starts from 0x26000 and ends at 0x7FFFF.

FDS module uses last 3KB of flash by default. And flash space for FDS is not reserved in linker script, it is defined in FDS sources. So it looks like some large application with such linker script can override FDS space. Is it correct? And is it better to define application flash space as all flash size minus SD size and minus FDS size (in case of application with bootloader minus bootloader & bootloader settings size)?

Thank you,

Artem

Parents
  • FDS module uses last 3KB of flash by default. And flash space for FDS is not reserved in linker script, it is defined in FDS sources. So it looks like some large application with such linker script can override FDS space. Is it correct?

     You are right. None of the libraries have their own linker scripts so FDS uses defines like other libraries and assumes that simple application does not need to worry about these and complex applications knows more about these details and will change or override these settings in their own application linker scripts.

Reply
  • FDS module uses last 3KB of flash by default. And flash space for FDS is not reserved in linker script, it is defined in FDS sources. So it looks like some large application with such linker script can override FDS space. Is it correct?

     You are right. None of the libraries have their own linker scripts so FDS uses defines like other libraries and assumes that simple application does not need to worry about these and complex applications knows more about these details and will change or override these settings in their own application linker scripts.

Children
Related