Attempted a fresh start of a new Mac running Sequoia 15.0.1. Ardunio IDE 2.3.3 installed. Followed Heltec ESP32 Series Quick Start step by step using the Git option. Only exception was using Python3 to execute get.py. No errors at any step. Restart of IDE after every step.
Tried to compile several of the examples. Received multiple errors. The errors involved missing environment variable. This included the code at the end of the Quick Start shown below:
#include <heltec.h>
// the setup routine runs once when starts up
void setup(){
// Initialize the Heltec ESP32 object
Heltec.begin(true /DisplayEnable Enable/, true /LoRa Disable/, true /Serial Enable/, true /PABOOST Enable/, 470E6 /**/);
}
// the loop routine runs over and over again forever
void loop() {
}
Compile produced the following errors:
Library Heltec ESP32 Dev-Boards has been declared precompiled:
Using precompiled library in /Users/jim/Documents/Arduino/libraries/Heltec_ESP32_Dev-Boards/src/esp32
/Users/jim/Documents/Arduino/libraries/Heltec_ESP32_Dev-Boards/src/driver/gpio-board.c: In function ‘GpioMcuWrite’:
/Users/jim/Documents/Arduino/libraries/Heltec_ESP32_Dev-Boards/src/driver/gpio-board.c:56:22: error: ‘RADIO_NSS’ undeclared (first use in this function)
56 | if(obj->pin==RADIO_NSS && radio_nss_inited==false)
| ^~~~~~~~~
/Users/jim/Documents/Arduino/libraries/Heltec_ESP32_Dev-Boards/src/driver/gpio-board.c:56:22: note: each undeclared identifier is reported only once for each function it appears in
/Users/jim/Documents/Arduino/libraries/Heltec_ESP32_Dev-Boards/src/LoRaWan_APP.cpp:40:34: error: ‘LoRaWAN_DEBUG_LEVEL’ was not declared in this scope; did you mean ‘CORE_DEBUG_LEVEL’?
40 | RTC_DATA_ATTR uint8_t debugLevel=LoRaWAN_DEBUG_LEVEL;
| ^~~~~~~~~~~~~~~~~~~
| CORE_DEBUG_LEVEL
/Users/jim/Documents/Arduino/libraries/Heltec_ESP32_Dev-Boards/src/LoRaWan_APP.cpp: In member function ‘void LoRaWanClass::sleep(DeviceClass_t)’:
/Users/jim/Documents/Arduino/libraries/Heltec_ESP32_Dev-Boards/src/LoRaWan_APP.cpp:666:40: error: ‘HELTEC_BOARD’ was not declared in this scope
666 | Mcu.sleep(classMode,debugLevel,HELTEC_BOARD,SLOW_CLK_TPYE);
| ^~~~~~~~~~~~
/Users/jim/Documents/Arduino/libraries/Heltec_ESP32_Dev-Boards/src/LoRaWan_APP.cpp:666:53: error: ‘SLOW_CLK_TPYE’ was not declared in this scope
666 | Mcu.sleep(classMode,debugLevel,HELTEC_BOARD,SLOW_CLK_TPYE);
| ^~~~~~~~~~~~~
exit status 1
Compilation error: exit status 1
What am I missing?