You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everytime I try to compile for the TinyS3 using PlatformIO, it fails saying that error: 'esp32_adc2gpio' was not declared in this scope.
The only workaround for that is to edit manually variants/um_tinys3/pins_arduino.h commenting out the line 16 (#define analogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1)) and add #define analogInputToDigitalPin(p) (((p)<20)?(analogChannelToDigitalPin(p)):-1) just below of it
C:/Users/juanp/.platformio/packages/framework-arduinoespressif32/variants/um_tinys3/pins_arduino.h:16:48: error: 'esp32_adc2gpio' was not declared in this scope
#define analogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1)
wled00/src/dependencies/blynk/Blynk/BlynkApiArduino.h:70:62: note: in expansion of macro 'analogInputToDigitalPin'
#define BLYNK_DECODE_PIN(it) (((it).asStr()[0] == 'A') ? analogInputToDigitalPin(atoi((it).asStr()+1)) : (it).asInt())
^~~~~~~~~~~~~~~~~~~~~~~
wled00/src/dependencies/blynk/Blynk/BlynkApiArduino.h:93:19: note: in expansion of macro 'BLYNK_DECODE_PIN'
uint8_t pin = BLYNK_DECODE_PIN(it);
Board
Unexpected Maker TinyS3 (AKA: TinyS3)
Device Description
N/A
Hardware Configuration
N/A
Version
latest master (checkout manually)
IDE Name
PlatformIO
Operating System
Windows 11
Flash frequency
80Mhz
PSRAM enabled
yes
Upload speed
921600
Description
Everytime I try to compile for the TinyS3 using PlatformIO, it fails saying that
error: 'esp32_adc2gpio' was not declared in this scope
.The only workaround for that is to edit manually variants/um_tinys3/pins_arduino.h commenting out the line 16 (
#define analogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1)
) and add#define analogInputToDigitalPin(p) (((p)<20)?(analogChannelToDigitalPin(p)):-1)
just below of itPlease refer to wled/WLED#2905 (comment) for more info
Sketch
Debug Message
Other Steps to Reproduce
You can fork https://github.com/Aircoookie/WLED and replace the [env:esp32s3dev_8MB_PSRAM] from that project with the above one
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: