It tells you meaning of the error message already. The identifier CONFIG_BLINK_GPIO
is undefined. As can be seen in the platformio.ini
for the example
You need to define what pin to blink there.
It tells you meaning of the error message already. The identifier CONFIG_BLINK_GPIO
is undefined. As can be seen in the platformio.ini
for the example
You need to define what pin to blink there.
Per the comment right above the define, it is telling you what you need to do… either use menuconfig, which will somehow create that CONFIG_BLINK_GPIO
or, replace it (CONFIG_BLINK_GPIO
) with the pin number for the pin the LED is on.
In your earlier post, you had the -D CONFIG_BLINK_GPIO=2
build_flag
defined, so where has that gone?
I know that i define somewhere but i forgot. at that time there was another error.
actually I am new for this IDE and C.
In assembly It was very simple, all files i create manually.
You seem to have changed line 18 of blink.c
compared to what it was originally. Revert it back to:
#define BLINK_GPIO CONFIG_BLINK_GPIO
Now compiled and uploaded successfully, but I have unbranded ESP32 module. there is only one LED on module. So I check with multimeter, I shows voltage changes on G2 Pin.
Connected LED. It works.
Thanks to all