This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Eclipse compiling

Hi all,

I have followed the guide (AN-29) for using eclipse with the nRF51822 but it gives me several errors.

First at all, the linker says: ...../arm-none-eabi/bin/ld.exe: cannot find -lnosys. I found that this library was declared into the file gcc_nrf51_blank_xxaa.ld and I dont understand why this error.

I have taken away this -lnosys for continuing the compilation, and then it gives me this other error: [i]../..//Source//templates/gcc/gcc_startup_nrf51.s:150: undefined reference to `__start' collect2.exe: error: ld returned 1 exit status[/i]

But I don't know what to do with this last error. I think I'm missing something in the declaration of the includes, paths or something. Could anyone give a bit of help?

Thanks in advance, M.

Related