kconfig for setting IDF params
Posted: Tue Mar 16, 2021 12:27 pm
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?
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?