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

NRF_SECTION_SET_DEF usage into crossworks IDE with GCC

Hello,

I have a running environment on Crossworks IDE, nRF52832, S132 based on SDK 12.3.

I try to migrate it on SDK 15.2, to use nRF52840 and S140.

After I included all the sources files on my project, I got these errors:

undefined reference to '__start_sdh_state_observers'

undefined reference to '__stop_sdh_state_observers'

And similar errors, all related to new NRF_SECTION_SET_DEF

Looking at the SDK documentation : https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/lib_section_iter?1179#lib_section_iter_usage_module_usage

Apparently I must change something on a "linker script", but I cannot figure out where on Crossworks IDE environment.

Someone has a hint of what to do ?

Parents Reply
  • ThierryC said:
    Use SDK 12.3 and SD140 (with nRF52840). What's the risk ?

     Please do not do this. SDK12.3 is maintained for nRF51 devices and all fixes and updates on nRF52 devices are not going into SDK12.X releases. The risk of failures is very high here.

     

    ThierryC said:
    Migrate ALL my project to SES (or Keil ?). But this will take some time.

    I would recommend you this. But before doing that, please ask Rowley's guys to confirm if they have any updates on supporting nRF52840 with SDK14.x and above. If not, then I think porting your project to SES is what I would recommend. We at Tech Support use Keil/SES/GCC/IAR a lot and could help you even from basic to advanced configuration.

Children
No Data
Related