Skip to content

Commit 59b4060

Browse files
committed
heltec_wifi_lora32_v2 in pio.ini
1 parent c8450f1 commit 59b4060

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

platformio.ini

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,16 @@ build_flags =
7979
; -D RFLINK_SERIAL2NET_DEBUG
8080
; -DCORE_DEBUG_LEVEL=5
8181

82+
[env:heltec_lora32_v2]
83+
extends = env:genericESP32
84+
board = heltec_wifi_lora_32_V2
85+
build_flags =
86+
-D RFLink_default_Radio_HardwareType=HardwareType::HW_SX1278_t
87+
-D RFLINK_WIFI_ENABLED
88+
-D PIN_RF_RX_DATA=34
89+
-D PIN_RF_RX_CS=18
90+
-D PIN_RF_RX_RESET=14
91+
8292

8393
[env:d1_mini]
8494
extends = ESP8266_base

0 commit comments

Comments
 (0)