PlatformIO - heltec_wifi_lora_32_V3

I note that Heltec does not have a “platform-” git repository for the wifi lora v3 board.

Is anyone else using PlatformIO and this board?

If so what steps did you take to get all the libs setup properly?

Thank you.

Well from reading other posts I am beginning to feel the purchase of this new board has put me in the deep end of the pool. I am a pretty good swimmer, but I am heading for the side :slight_smile:

Heltec WiFi LoRa 32 (V3) Sketches & OLED not working - LoRa Node - Heltec Automation Technical Community

I’ve been successfully using platformio with the heltec V3 board. My platformio.ini looks like:

[env:ap_device]
platform = espressif32
board = heltec_wifi_lora_32_V3
framework = arduino
lib_deps =
    thingpulse/ESP8266 and ESP32 OLED driver for SSD1306 displays
    sandeepmistry/LoRa
monitor_filters = esp32_exception_decoder ; decode esp32 stacktraces
monitor_speed = 115200
upload_speed = 921600 ; 30% faster upload

For LoRa support you have to use a 3rd party library like RadioLib or sandeepministry.

@platypii Thanks for your ini file.

I am getting this error.

: fatal error: heltec.h: No such file or directory

My platformIO libs does not have heltec.h.

Do you have that/those files?

* HelTec Automation(TM) WIFI_LoRa_32 factory test code, witch includ
 * follow functions:
 * - Basic OLED function test;
 * - Basic serial port test(in baud rate 115200);
 * - LED blink test;
 * - WIFI connect and scan test;
 * - LoRa Ping-Pong test (DIO0 -- GPIO26 interrup check the new incoming messages);
 * - Timer test and some other Arduino basic functions.
 * by Aaron.Lee from HelTec AutoMation, ChengDu, China
 * 鎴愰兘鎯犲埄鐗硅嚜鍔ㄥ寲绉戞妧鏈夐檺鍏徃
 * https://heltec.org
 *
 * this project also releases on GitHub:
 * https://github.com/HelTecAutomation/Heltec_ESP32
*/

#include "Arduino.h"
#include <heltec.h>
#include "WiFi.h"
#include "images.h"

Add to lib_deps Heltec ESP32 Dev-Boards

But you’re probably going to want to move away from examples that use heltec.h for V3.

When I started using the CubeCell boards PlatformIO had all of the libs installed. I don’t see any installed for the lora V3 board. How did you get your environment setup?

Thank you.

And, any idea why the Heltec lora libs (used in CubeCell) are not being used for this board?
I guess Heltec did not provide lora libs for it?

If you want to use LoRa or LoRaWan, you can also use this (mine) library: https://registry.platformio.org/libraries/eiannone/Heltec_Esp32_LoRaWan

Thank you @eiannone. Sorry I did not get back to this thread after I posted it.

Hi, is there a .json file to add heltec-wireless-paper has supported board under platformio ?
https://resource.heltec.cn/download/Wireless_Paper
Or how do you created a JSON file to add a board to platformio ?
Thanks

@carrera911
I don’t know the answer to your question, but you should create a new topic and select the appropriate category (E-Ink Display ?) for best results.

Thanks Terrence, just did under Platformio Heltec Wireless-paper
http://community.heltec.cn/t/platformio-heltec-wireless-paper/14254/3