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

Error creating a makefile for gcc and eclipse

I have been following the tutorial devzone.nordicsemi.com/.../ on how to use eclipse but in the makefile part im getting this error. I'm using sdk v11. I have used sdk v14 as well but there was no such error when i tried this. I have set the path correctly and and set the version correct too. But i dont know why im getting this error and someone help me out pease !!!

image description

image description

Parents
  • Hey Hung, I just checked the toolchain folder and it does contain the system_nrf52.c . I'm using sdk 11 because all ble examples seems to work fine when I compile it with Keil IDE. I have tried the sdk14 but it won't compile because keil allows to have code upto 32kb only and ble heart rate monitor example takes 37kb, so thats why i decided to use gcc and ecplise ide. I have used gcc with sdk14 it and it makes the _build file normally but the code doesn't seem to work. So I'm stuck here. I will upload my " make VERBOSE=1" screenshot in my question itself and update. Please have a look Thank you.

Reply
  • Hey Hung, I just checked the toolchain folder and it does contain the system_nrf52.c . I'm using sdk 11 because all ble examples seems to work fine when I compile it with Keil IDE. I have tried the sdk14 but it won't compile because keil allows to have code upto 32kb only and ble heart rate monitor example takes 37kb, so thats why i decided to use gcc and ecplise ide. I have used gcc with sdk14 it and it makes the _build file normally but the code doesn't seem to work. So I'm stuck here. I will upload my " make VERBOSE=1" screenshot in my question itself and update. Please have a look Thank you.

Children
No Data
Related