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

Help import blinky project from NRF5_SDK11 to SES

Hey! Using osx, SES 3.30, importing experimental_ble_app_blinky example from nRF5_SDK_11.0.0_89a8197 to be used with NRF51822 chip. When importing I chose pca10028/s130/iar directory. (BTW, what is pca10028 and what's the difference between s130, ser_s130_hci, ser_s130_uart and ser_s130_spi directories in there? anyway, after following the tutorial I get an error: 'NRF_MPU' undeclared (first use in this function) When commenting it out, I get errors similar to these: app_error.h: No such file or directory I repaired the paths, but now I get this: 'SWI_IRQn' undeclared (first use in this function) plus, I should have missed something - how do I manage lookup paths when incluing files?

  • okay, after a while, it turned out my target processor had been changed to something completely different. after fixing this issue and adding a bunch of directories to preprocessor section, i finally ended up with the following errors:

    Output/experimental_ble_app_blinky_s130_pca10028 nrf51822_xxaa_s130/Obj/ses_nrf51_startup.o: In function `SystemInit':
    undefined reference to `__SRAM_segment_end__'
    Output/experimental_ble_app_blinky_s130_pca10028 nrf51822_xxaa_s130/Obj/main.o: In function `ble_stack_init':
    undefined reference to `softdevice_enable_get_default_config'
    undefined reference to `sd_check_ram_start'
    undefined reference to `softdevice_enable'
    undefined reference to `softdevice_ble_evt_handler_set'
    

    spent several hours in total, and can't even launch the blinky example...

  • @puff: Have you tried to follow this blog ? I suggest to use SDK v12.3 to test.

Related