Closed
Description
Board
ESP32-S3
Device Description
Just a compilation issue, not relevant
Hardware Configuration
Just a compilation issue, not relevant
Version
other
IDE Name
Arduino IDE 1.8.19
Operating System
not sure
Flash frequency
not sure
PSRAM enabled
no
Upload speed
not sure
Description
uncommenting the line #define USE_SOFT_AP
as mentioned in the sketch leads to an error:
error: operator 'not' has no right operand
I guess it should be #define USE_SOFT_AP 1
or the ifdefs later in the sketch have to be changed to use ... not defined(USE_SOFT_AP)
instead of not USE_SOFT_AP
.
Sketch
https://github.com/espressif/arduino-esp32/blob/master/libraries/WiFiProv/examples/WiFiProv/WiFiProv.ino
Debug Message
sketch.ino:65:75: error: operator 'not' has no right operand
#if CONFIG_IDF_TARGET_ESP32 && CONFIG_BLUEDROID_ENABLED && not USE_SOFT_AP
^
sketch.ino:76:50: error: operator 'not' has no right operand
#if CONFIG_BLUEDROID_ENABLED && not USE_SOFT_AP
^
Error during build: exit status 1
Other Steps to Reproduce
https://wokwi.com/projects/372038262823000065
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.