File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,12 +120,16 @@ def device_provision(env):
120120 env .Execute ("rnodeconf --product e0 --model e9 --hwrev 1 --rom " + env .subst ("$UPLOAD_PORT" ))
121121 case "lora32v21" | "lora32v21_local" :
122122 env .Execute ("rnodeconf --product b1 --model b9 --hwrev 1 --rom " + env .subst ("$UPLOAD_PORT" ))
123+ case "heltec32v3" :
124+ env .Execute ("rnodeconf --product c1 --model c5 --hwrev 1 --rom " + env .subst ("$UPLOAD_PORT" )) # 433 MHz. For 868-923: --model ca
123125 case "heltec32v4" | "heltec32v4_local" :
124126 env .Execute ("rnodeconf --product b1 --model b9 --hwrev 1 --rom " + env .subst ("$UPLOAD_PORT" ))
125127 case "rak4631" | "rak4631_local" :
126128 env .Execute ("rnodeconf --product 10 --model 12 --hwrev 1 --rom " + env .subst ("$UPLOAD_PORT" ))
127129 case "heltec_t114" | "heltec_t114_local" :
128130 env .Execute ("rnodeconf --product c2 --model c7 --hwrev 1 --rom " + env .subst ("$UPLOAD_PORT" ))
131+ case _:
132+ print ("WARN Device hasn't been provisioned! Add rnodeconf call to device_provision() in extra_script.py" )
129133
130134def firmware_hash (source , env ):
131135 # Firmware hash
Original file line number Diff line number Diff line change @@ -498,3 +498,18 @@ lib_deps =
498498 https://github.com/liamcottle/esp8266-oled-ssd1306# e16cee124fe26490cb14880c679321ad8ac89c95
499499 adafruit/Adafruit NeoPixel@^1.12.0
500500 microReticulum =symlink://../microReticulum
501+
502+ [env:heltec_wifi_lora_32_V3_local]
503+ platform = espressif32
504+ board = heltec_wifi_lora_32_V3
505+ custom_variant = heltec32v3
506+ board_build.partitions = no_ota.csv
507+ board_build.filesystem = littlefs
508+ build_flags =
509+ ${env.build_flags}
510+ -DBOARD_MODEL =BOARD_HELTEC32_V3
511+ lib_deps =
512+ ${env.lib_deps}
513+ XPowersLib@^0.2.1
514+ microReticulum =symlink://../microReticulum
515+ monitor_filters = esp32_exception_decoder
You can’t perform that action at this time.
0 commit comments