Question regarding kconfig and the menuconfig system.
I have a custom parameter in my project kconfig which can be "release" or "devboard".
The main point of this is on my product we are using UART0 on GPIO1,3 for communication to another device, then use UART1 on different pins for the normal console out (from ESP_LOGx... etc).
When I am doing dev work, using a devboard, it would be handy that when I have set the config "devboard", the common ESP parameters to use UART0 for the console on GPIO1,3 (the norm), rather than having to manually go in to menuconfig and change this.
I can handle the comms to the other device separately in the source code, so don't worry about that.
Is this possible?
kconfig for setting IDF params
Re: kconfig for setting IDF params
Maybe i understand it wrong, but you have to go to menuconfig anyway to switch between devboard and release, so it is as easy as switch between UART0 and custom UART in menuconfig.
In theory it would be possible, but you would have to shadow copy this component in your project, i think
and add option to take account to make use of your new Kconfig parameters.
In theory it would be possible, but you would have to shadow copy this component in your project, i think
Code: Select all
components/esp_common (in v4.3 and earlier)
components/esp_system (in master)
Who is online
Users browsing this forum: Bing [Bot] and 156 guests