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

Eclipse with SDK5.2 nan-29

Hello,

I'm trying to get the SDK examples working in Eclipse. I have followed all steps(except debugging part) in the nan-29, but i can only import the s110/ble_hrs example with missing headers(see attachment)? Is there any information about how to import for example the ble_template project and set all header/source files correctly? All help will be appreciated!

Regards, Pascal

GCC_import.png

Parents
  • Did you added the system_nrf51.c & gcc_startup_nrf51.s source files to your project ? Those files are in the sdk under Source/templates. system_nrf51.c is for core init and the gcc_startup_nrf51 is for run time init. Without those 2 files, your app will crash on startup. I think that's what is happing to your app. You get that when your app crashes from start, before the first break point.

Reply
  • Did you added the system_nrf51.c & gcc_startup_nrf51.s source files to your project ? Those files are in the sdk under Source/templates. system_nrf51.c is for core init and the gcc_startup_nrf51 is for run time init. Without those 2 files, your app will crash on startup. I think that's what is happing to your app. You get that when your app crashes from start, before the first break point.

Children
Related