Linker giving error when building the ble_app_alert_notification_pca10028_s130

Hi,

I have installed Segger Studio for ARM v6.22a.

I have also installed the SDK5 version 12.3.0.

I imported the IAR project project  ble_app_start_notification_pca10028_s130 (.eww file) 

I also selected internal toolchain on the popup.

I also followed the directions followed for importing KEIL projects into the workspace :https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/segger-embedded-studio-a-cross-platform-ide

I was not able to "import section placement" as the option is not showing up when I right click on the project name. Is it because I am using a non commercial license?

Now when I do the build I get a whole lot of linker errors.

Can you please tell me what I am missing?

Please see error image below:

Rajkumar

Parents
  • Hi

    Why exactly are you changing stuff in the flash placement file? Is there a reason you set the RAM name to RAM1? This is only necessary when updating to SDK v17.0.2, so please revert this change. This likely causes a conflict with where where the RAM name "RAM" is used define the RAM segments, which is why you're getting this new error.

    Next for your actual issue, I think that is due to missing a step somewhere in the SES import guide https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/segger-embedded-studio-a-cross-platform-ide. Can you double check that you for example have done the Adding nRF5 MDK files section correctly? 

    • Download ses_nrf51_startup.s and save it into NRF5_SDK/components/toolchain/embedded_studio/ (create the folder)
    • Remove Cortex_M_Startup.s from the Internal Files folder in the Project Explorer
    • Right click the Internal Files folder and select Add Existing File...
    • In NRF5_SDK/components/toolchain/ select system_nrf51.c
    • Do the same for NRF5_SDK/components/toolchain/embedded_studio/ses_nrf51_startup.s
    • Select Project -> Edit Options... and then select the Preprocessor tab
    • Add ../../../../../../components/device to the User Include Directories field to include the device header files in our Embedded Studio project

    Best regards,

    Simon

Reply
  • Hi

    Why exactly are you changing stuff in the flash placement file? Is there a reason you set the RAM name to RAM1? This is only necessary when updating to SDK v17.0.2, so please revert this change. This likely causes a conflict with where where the RAM name "RAM" is used define the RAM segments, which is why you're getting this new error.

    Next for your actual issue, I think that is due to missing a step somewhere in the SES import guide https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/segger-embedded-studio-a-cross-platform-ide. Can you double check that you for example have done the Adding nRF5 MDK files section correctly? 

    • Download ses_nrf51_startup.s and save it into NRF5_SDK/components/toolchain/embedded_studio/ (create the folder)
    • Remove Cortex_M_Startup.s from the Internal Files folder in the Project Explorer
    • Right click the Internal Files folder and select Add Existing File...
    • In NRF5_SDK/components/toolchain/ select system_nrf51.c
    • Do the same for NRF5_SDK/components/toolchain/embedded_studio/ses_nrf51_startup.s
    • Select Project -> Edit Options... and then select the Preprocessor tab
    • Add ../../../../../../components/device to the User Include Directories field to include the device header files in our Embedded Studio project

    Best regards,

    Simon

Children
Related