I use nRF51 DK and soft device s130.
I nedd to add a file ("app_uart_fifo.c") in the example of multilink central, after i add the file i build the proyect but the files .h never being created. I have to do something more?
I use nRF51 DK and soft device s130.
I nedd to add a file ("app_uart_fifo.c") in the example of multilink central, after i add the file i build the proyect but the files .h never being created. I have to do something more?
Compilation doesn't create .h files, compilation uses .h files. Your image shows nothing useful except that the final target wasn't created, it shows none of the actual compilation errors.
You need to include the app_uart.h file to your project and add the path to the header file:
..\..\..\..\..\..\components\libraries\uart\
to the include path.#include "app_uart.h"
near the top of the main.c file (or in whatever file you will be using the UART library).Jorgen i just do that, but this don't solve my problem.
I have to use the function "app_uart_put()". I write an answer more explicit above
Here i show a print screen from the uart example:
And here i put a print screen from my proyect:
In my proyect i include the file "app_uart_fifo.h" but i don't know what i have to do to include all of those .h files that i show in the uart example?
I solve the errors but i still don't see uart.c not app_uart_fifo.c:
You don't include them - you just add the include path so the compiler finds them. The IDE just shows the headers it found when compiling the code. The reason it doesn't show any, is because it didn't manage to compile the code because it's full of errors.
It seems you're not even compiling app_uart_fifo.c but app_uart.c, you can tell that from the name of the file in the error messages. Get the file list right and go fix up the errors.