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 Reply
  • For the record -- struggled with this one for far too long.

    I was getting " No source available for "main() at 0x177b4" using SDK 7.2.1 and SD 7.1.0 with Eclipse and the generic examples.

    Finally, found a good article here that suggested turning off optimizations and adding debugging: CFLAGS += -O0 -g3

    But also needed to get rid of the followng line (flags): CFLAGS += -flto -fno-builtin

    Didn't find "both" bits of info anywhere, so sharing here in hopes of helping ..

Children
No Data
Related