I have developed a custom Buttonless DFU application on top of the default example in the NRF SDK. In this custom app, I have also merged the BLE UART application, so I include the following code: #include "ble_nus.h". In the SEGGER Embedded Studio, when I Build Solution, it compiles perfectly without errors. However, when I compile with the command make -C <path-to--custom-buttonless-Makefile-dir> it stops when compiling file main.c on the following Fatal Error: ble_nus.h: No such file or directory
What could be causing this problem when using make? How can I get it to recognize the header file like it does when compiling with SES?
Thank you