Programming in Arduino IDE an HELTEC ESP32 lora wifi kit (v2) is the same as any other ESP board.
Install Arduino IDE and then set the board in “Boards Manager”. In the “Preferences” window of the ArduinoIDE enter
https://dl.espressif.com/dl/package_esp32_index.json
into Additional Board Manager URLs field.
Then open “Boards Manger” from “Tools” and install the ESP32 package.
Then select the board:
To test the board, upload one of the examples, get the chip id;
uint64_t chipid; void setup() { Serial.begin(115200); } void loop() { chipid=ESP.getEfuseMac();//The chip ID is essentially its MAC address(length: 6 bytes). Serial.printf("ESP32 Chip ID = %04X",(uint16_t)(chipid>>32));//print High 2 bytes Serial.printf("%08X\n",(uint32_t)chipid);//print Low 4bytes. delay(3000); }
Upload the code and see the results in the serial console
Additional resources:
https://github.com/espressif/arduino-esp32/blob/master/docs/arduino-ide/boards_manager.mdWIFI LoRa 32 (V2)Tutorial: Heltec ESP32 Board + The Things Network
HELTEC ESP32 lora wifi kit v2
Have you also tried to install RIOT OS (https://riot-os.org/) on this board and perform LoRa/LoRaWAN sessions?
Explain, how to flash ESP32 on WiFi LoRa 32 Board via USB?