Hello, I am using pca10028 and sdk 12.2. I am trying to run some code. I am getting some make file error as ble_nus_error.PNG.
My main.c file is New Text Document (3).txt
My make file is New Text Document (3).txt
Thanks, Shailav
Hello, I am using pca10028 and sdk 12.2. I am trying to run some code. I am getting some make file error as ble_nus_error.PNG.
My main.c file is New Text Document (3).txt
My make file is New Text Document (3).txt
Thanks, Shailav
Looks from your other question that you got this working?
Hello, I have added few more code and I am facing few more errors as attached above. I could make it work in keil without errors but because of few limitations of code size I am forced to use make file to compile and generate hex files. So please edit the make file or let me know the suggestions.
P.S I have edited my original question.
Thanks, Shailav
Hi,
I have attached updated files, which should compile with GCC. Note that I had to comment out some lines declaring unused variable in your main.c file. The makefile is configured to threat all warnings as errors, so this is needed to make it compile. You can comment in the declarations if you are going to use the variables.
main.c - Makefile - sdk_config.h
Best regards,
Jørgen