Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SES compilations error with Github Sample

Dear Team, I face Following error with example downloaded from Github, 

error 1) Output/Release/Obj/saadc_pca10040/ses_startup_nrf_common.o: in function `InitializeUserMemorySections':

error 2) undefined reference to `__RAM1_segment_end__'

with all examples I get this error which downloaded from github. I tried with changing softdevice version in common, but unable to comeout from this issue, your queick response will be apreciated

Parents
  • Okay, so you're using SDK v17.0.2.The GitHub examples are made for SDK v17.0.0, and according to the SDK v17.0.2 release notes there are some fixes necessary to make SES projects compatible.

    Compatibility of SES projects: Updates and fixes in the MDK used by Segger Embedded Studio break backwards compatibility with old SES project files. To use old projects in combination with this version of the SDK (MDK), make the following updates: 1. In the flash_placement.xml file: MemorySegment name must be changed from "RAM" to "RAM1": <MemorySegment name="RAM1" start="$(RAM_PH_START)" size="$(RAM_PH_SIZE)"> 2. In the .emProject file: In "linker_section_placements_segments" you must refer to "RAM1", replacing "RAM": linker_section_placements_segments="FLASH RX 0x0 0x100000;RAM1 RWX 0x20000000 0x40000"

    Best regards,

    Simon

Reply
  • Okay, so you're using SDK v17.0.2.The GitHub examples are made for SDK v17.0.0, and according to the SDK v17.0.2 release notes there are some fixes necessary to make SES projects compatible.

    Compatibility of SES projects: Updates and fixes in the MDK used by Segger Embedded Studio break backwards compatibility with old SES project files. To use old projects in combination with this version of the SDK (MDK), make the following updates: 1. In the flash_placement.xml file: MemorySegment name must be changed from "RAM" to "RAM1": <MemorySegment name="RAM1" start="$(RAM_PH_START)" size="$(RAM_PH_SIZE)"> 2. In the .emProject file: In "linker_section_placements_segments" you must refer to "RAM1", replacing "RAM": linker_section_placements_segments="FLASH RX 0x0 0x100000;RAM1 RWX 0x20000000 0x40000"

    Best regards,

    Simon

Children
Related