Error: Unknown board ID 'heltec_wifi_lora_32_V3'

Hi

I’m running VS Code with PlatformIO Release date 17th March 2023.

I created a new project in platform IO and searched for the board “heltec wifi lora 32 (v3)” which I found and selected.

So far so good, until I try and make the project I get the error " Error: Unknown board ID ‘heltec_wifi_lora_32_V3’ "

image

Any ideas what I am doing wrong?

My platformio.ini file looks like this at the moment

[env:heltec_wifi_lora_32_V3]
platform = espressif32
board = heltec_wifi_lora_32_V3

; change microcontroller
board_build.mcu = esp32s3

; change MCU frequency
board_build.f_cpu = 240000000L

I added the board_build.mcu and board_build.f_cpu manually after reading this page Heltec WiFi LoRa 32 (V3) — PlatformIO latest documentation

So far my main.cpp is blank as the error is in the creating of the project.

If I try building the empty project unsurprisingly I get the below error

Resolving heltec_wifi_lora_32_V3 dependencies...
Error: Unknown board ID 'heltec_wifi_lora_32_V3'

Am I missing something in my platformio.ini file?

My google searching didn’t come up with much apart from a few posts about requesting platformIO add support for the V3. The fact I can find that in list of boards I assume support was added???

Then your Espressif32 platform, which actually holds the board definitions, is not up-to-date. For a quick update, open a CLIpio pkg update -g -p espressif32.