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

Linker Script creation problem with Segger Embedded Studio

May need to post this question to Segger, but I'd figure I'd ask here.

Have a nRF52832 project that compiles, links, and runs fine on the 52832/10040 dev kit board.

Wanted to run the same code on the 52840/10056 dev kit, so I created a public configuration in SES for the 10056. Added the appropriate 52840 specific files: ses_nrf52840_Vectors.s and system_nrf52840.c, and disabled the corresponding 52832 files. Copy the flash.xml file (even though it's identical) and pointed SES at it. Changed all the relevant defines, including removing the NRF52 define (which is specific to the 52832).

Compiles fine, but when generating the linker script, I get:

error: cannot find run section .log_dynamic_data_run referenced in log_dynamic_data

But I see the log_dynamic_data in all the same places that exist for the 10040 configuration. Making the build verbose tells me nothing more. Has to be something simple, what am I missing?

Ed

Related