How do I add dependencies to a .c file that I copied over into the project on SEGGER IDE

Hi,

I am working on trying to add read and write functionalities on a ble microcontroller so I can read data from the FLASH. In the process of importing some code to the project, the build was giving an error when I tried to build the project. 



In the cli.c file that I am trying to import, I noticed that there isn't a dependencies folder in a dropdown menu like the data_saving.c file I have right below it. How do I import the cli.c file with all it's dependencies?


Related