Using this environment and board:
[env:heltec_wifi_lora_32_V3]
platform = espressif32
board = heltec_wifi_lora_32_V3
According to the board schematic, the builtin LED is on GPIO 35. However, in pins_arduino.h it is defined as:
static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT+48;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
which ends up with LED_BUILTIN defines as GPIO 97.
Am I seeing this wroing?
Thanks!
lenstruttmann:
According to the board schematic, the builtin LED is on GPIO 35. However, in pins_arduino.h it is defined as:
static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT+48;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN
which ends up with LED_BUILTIN defines as GPIO 97.
This looks more like an ESP32-S3 DevKit C.
The correct pins_arduino.h
for Heltec WiFi Kit 32 V3 is located here:
Hmmm… The path being used on my PC is:
“C:\Users\red.platformio\packages\framework-arduinoespressif32\variants\heltec_wifi_kit_32_v3\pins_arduino.h”
There are no other Heltec V3 variants (other than LoRa, which is not what I have). I am admittedly a newbie and am somewhat confused. Do I have an incorrect version of platformio?
To clarify this, we would need to know the exact Espressif32 platform version. Which one do you have installed?
Apparently, it was 6.1.0. I updated and it is now 6.9.0, and the problem is fixed. Yippee!
As a newbie, I naively assumed that platformio just took care of these updates automatically. My mistake.
How would I set things up to be notified of new Espressif32 releases?
Thanks!
Create a GitHub account if you don’t already have one and subscribe to release info at GitHub - platformio/platform-espressif32: Espressif 32: development platform for PlatformIO by clicking Watch / Custom / Releases.