Hi!I'm having some problems in adding a new library to my project (sdk 11.0.0,s130), I want to add ble_nus.h. I follow this instructions "devzone.nordicsemi.com/.../" but it still doesn't work. someone can help me, please?thank you!
Hi!I'm having some problems in adding a new library to my project (sdk 11.0.0,s130), I want to add ble_nus.h. I follow this instructions "devzone.nordicsemi.com/.../" but it still doesn't work. someone can help me, please?thank you!
The instructions prvoided in the link which you were reading are very good and clear. There is probably no more informative answer than that. What do you mean "but it still doesn't work" ? What error you are seeing?
I have added the screenshot of what I see, there is the .c file in the nrf_ble folder, but in the code there is still the error.
The scrrenshot is too small/unclear to read.
What error(s), exactly, are you getting?
Note that you can copy & paste the text from the uVision build output window...
*** Using Compiler 'V5.06 update 1 (build 61)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' Build target 'nrf51422_xxac_s130' compiling ble_nus.c... compiling main.c... ......\main.c(41): error: #5: cannot open source input file "ble_nus.h": No such file or directory #include "ble_nus.h" ......\main.c: 0 warnings, 1 error "._build\nrf51422_xxac_s130.axf" - 1 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:03
This the error, I have also updated the screenshot
So it can't open the file "ble_nus.h".
That must be either because the file doesn't exist at all or, if it does exist, it is not in a location where the compiler is looking.