Trouble creating a new Kconfig definition file for a custom application

Hi everyone,

I am currently trying to create a custom application and am stuck on the final step shown in First Application Tutorial (Hello Sky) | PX4 User Guide. It states to create a new Kconfig file, however i have no idea where or how to place this kind of file to have my application run.

I am hoping someone could help point me in the right direction and explain what this Kconfig file is and why its needed. Any help would be amazing!

Cheers,
Sam.

I was wondering the same. Then I looked at the existing working example apps ( e.g. px4_simple_app etc.) and they all have the Kconfig file in the application folder ( i.e. where you save your c code file )