1. I want make my example, and e.g. modify 01_helloword sdkconfig file and add example part of 02_blink,
I add below to 01 example,
#
# Example Configuration
#
CONFIG_BLINK_GPIO=5
but the config file recover to default and after type make, and make menuconfig can't load the "example configuration"
please give advise.
why example sdkconfig file always revocer to default
-
- Posts: 9708
- Joined: Thu Nov 26, 2015 4:08 am
Re: why example sdkconfig file always revocer to default
The blink GPIO configuration option is custom to the blink example, and is defined in examples/02_blink/main/Kconfig.projbuild and used in the code that blinks the LED in examples/02_blink/main/main.c. It does not make any sense in the 01_hello example: there is no code that uses it and there is no Kconfig code that defines what CONFIG_BLINK_GPIO is and how it should show up in the make menuconfig menu. That is why the program interpreting the sdkconfig file decides to throw it away.
Re: why example sdkconfig file always revocer to default
@esp_sprite,
Thanks, it has been fixed.
Thanks, it has been fixed.
Who is online
Users browsing this forum: No registered users and 76 guests