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
Through sketch reductions down to basics(below), the same compile errors occur when using "LoRaWan_APP.h" and OneWire under Arduino IDE 2.3.3 and the latest Heltec/Expressif hardware libraries.
Module - Heltec Wireless Stick Lite.
SKETCH:
#include "LoRaWan_APP.h"
#include <OneWire.h>
void setup() { // put your setup code here, to run once: }
void loop() { // put your main code here, to run repeatedly: }
ERROR:
In file included from C:\Users\XXX\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\cores\esp32/esp32-hal.h:75, from C:\Users\XXX\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\cores\esp32/Arduino.h:36, from c:\Users\XXX\Documents\Arduino\libraries\OneWire\OneWire.cpp:147:
c:\Users\XXX\Documents\Arduino\libraries\OneWire\util/OneWire_direct_gpio.h: In function 'void directModeInput(uint32_t)':
C:\Users\XXX\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\cores\esp32/esp32-hal-gpio.h:68:34: error: 'GPIO_IS_VALID_GPIO' was not declared in this scope; did you mean 'RTC_GPIO_IS_VALID_GPIO'?
68 | #define digitalPinIsValid(pin) GPIO_IS_VALID_GPIO(pin)
| ^~~~~~~~~~~~~~~~~~
c:\Users\XXX\Documents\Arduino\libraries\OneWire\util/OneWire_direct_gpio.h:214:10: note: in expansion of macro 'digitalPinIsValid'
214 | if ( digitalPinIsValid(pin) )
The text was updated successfully, but these errors were encountered:
Through sketch reductions down to basics(below), the same compile errors occur when using "LoRaWan_APP.h" and OneWire under Arduino IDE 2.3.3 and the latest Heltec/Expressif hardware libraries.
Module - Heltec Wireless Stick Lite.
SKETCH:
#include "LoRaWan_APP.h"
#include <OneWire.h>
void setup() { // put your setup code here, to run once: }
void loop() { // put your main code here, to run repeatedly: }
ERROR:
In file included from C:\Users\XXX\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\cores\esp32/esp32-hal.h:75, from C:\Users\XXX\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\cores\esp32/Arduino.h:36, from c:\Users\XXX\Documents\Arduino\libraries\OneWire\OneWire.cpp:147:
c:\Users\XXX\Documents\Arduino\libraries\OneWire\util/OneWire_direct_gpio.h: In function 'void directModeInput(uint32_t)':
C:\Users\XXX\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\cores\esp32/esp32-hal-gpio.h:68:34: error: 'GPIO_IS_VALID_GPIO' was not declared in this scope; did you mean 'RTC_GPIO_IS_VALID_GPIO'?
68 | #define digitalPinIsValid(pin) GPIO_IS_VALID_GPIO(pin)
| ^~~~~~~~~~~~~~~~~~
c:\Users\XXX\Documents\Arduino\libraries\OneWire\util/OneWire_direct_gpio.h:214:10: note: in expansion of macro 'digitalPinIsValid'
214 | if ( digitalPinIsValid(pin) )
The text was updated successfully, but these errors were encountered: