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

Why when i compile a proyect the files .h not being created?

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?

image description

Parents
  • 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.

Reply
  • 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.

Children
No Data
Related