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
  • Hi

    Just to avoid any confusion, can you confirm which one of the nRF52 ADC examples you're using, I assume it is one of these three, correct? In that case, you shouldn't need to make any alterations to make it work with an nRF52DK. Have you cloned the GitHub repository into the following path in the nRF5 SDK?

    \nRF5_SDK_17.0.0_9d13099\examples\nRF52-ADC-examples\

    If you download the .zip file, you can place the individual projects into the \nRF5_SDK_17.0.0_9d13099\examples\peripheral\ and/or \nRF5_SDK_17.0.0_9d13099\examples\ble_peripheral\ folder.

    Best regards,

    Simon

Reply
  • Hi

    Just to avoid any confusion, can you confirm which one of the nRF52 ADC examples you're using, I assume it is one of these three, correct? In that case, you shouldn't need to make any alterations to make it work with an nRF52DK. Have you cloned the GitHub repository into the following path in the nRF5 SDK?

    \nRF5_SDK_17.0.0_9d13099\examples\nRF52-ADC-examples\

    If you download the .zip file, you can place the individual projects into the \nRF5_SDK_17.0.0_9d13099\examples\peripheral\ and/or \nRF5_SDK_17.0.0_9d13099\examples\ble_peripheral\ folder.

    Best regards,

    Simon

Children
  • Dear Simonr,

    My issue not yet solved even after following path as per suggested by you,

    My file location and project is same in Local link and done again everything from scratch including Clone of the project.

    D:\nRF5_SDK_17.0.2_d674dde\examples\nRF52-ADC-examples\ble_app_uart__saadc_timer_driven__scan_mode\pca10040\s132\ses

    Also for your reference Output log also pasted

    4> Compiling ‘nrf_sdh_ble.c’
    1> Compiling ‘nrf_sdh_soc.c’
    1> Generating linker script ‘ble_app_uart_pca10040_s132.ld’
    1> Linking ble_app_uart_pca10040_s132.elf
    1> C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 5.10b/gcc/arm-none-eabi/bin/ld: Output/Release/Obj/ble_app_uart_pca10040_s132/ses_startup_nrf_common.o: in function `InitializeUserMemorySections':
    1> D:\nRF5_SDK_17.0.2_d674dde\modules\nrfx\mdk/ses_startup_nrf_common.s:117: undefined reference to `__RAM1_segment_end__'
    Build failed

    An example was same as you mentioned.

Related