This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to add app_fifo.h file in ble_app_template project?

Hello, I am using ble_app_template project. I want to add uart in this project. So I am referring uart project from peripherals. Now in ble_app_template project under nrf_drivers I am adding app_uart_fifo.c file but when I compile the code it gives me error of app_fifo.h file not included so I want to know how to add these files to the project? From the other projects I have app_fifo.h files but I dont know how to add this file. Thanks, Shailav

Parents Reply Children
  • Hello, Thanks for answering but unfortunately it does not works. In my components->libraries-> uart-> there is no file name app_fifo.h though in the c file app_uart_fifo.c it has been included. So when I create a new project and when I add app_uart_fifo.c file it gives me error of app_fifo.h not found. To solve this I created other app_fifo.h file in my folder components->libraries->uart->app_fifo.h. But when I add app_uart_fifo.c file to my new project it does not include my new .h file whereas it includes the other .h files app_uart.h as it has been already created by nxp. How should I solve this? I tried to use your suggestion and in include path I included \components\libraries\uart but again it shows me the same error. Thanks

  • The app_fifo.h file is located in \components\libraries\fifo. So just delete the app_fifo.h file you created in the components\libraries\uart folder and add the path above to you Include paths.

  • Hello, Thanks a lot. It worked. Shailav

  • Happy to help :) I would appreciate if you could mark the answer as correct by clicking the checkmark in a circle to the left of the answer.

Related