Hello forum,
I am using options that I set up in my project's Kconfig.projbuild. As all configuration of a project (ESP hardware, IDF, user) ends up in a flat file ("sdkconfig", all prefixed with CONFIG_), how can I avoid a name clash with existing system entries? Are there any naming rules / reserved prefixes for user app usage?
Sorry if this was already answered, but I did not find the response with my web searches.
Thank you in advance.
Naming convention in Kconfig?
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
Re: Naming convention in Kconfig?
Not really, unfortunately. If your project name is somewhat unique, you can use that as a prefix (CONFIG_PROJECTNAME_MY_OPTION) and you can be reasonably sure nothing will clash.
Who is online
Users browsing this forum: Bing [Bot] and 88 guests