@@ -30,7 +30,6 @@ default_envs = openevse_wifi_v1
3030
3131[common]
3232version = -D BUILD_TAG =4.1.3
33- monitor_speed = 115200
3433lib_deps =
35343635@@ -50,9 +49,10 @@ debug_flags =
5049 -D ENABLE_DEBUG
5150 # -D ENABLE_DEBUG_WEB
5251 # -D ENABLE_DEBUG_WEB_REQUEST
53- # -D ENABLE_DEBUG_SCHEDULER
52+ -D ENABLE_DEBUG_SCHEDULER
53+ # -D ENABLE_DEBUG_TIME
5454 # -D ENABLE_DEBUG_EVSE_MAN
55- # -D ENABLE_DEBUG_EVSE_MONITOR
55+ -D ENABLE_DEBUG_EVSE_MONITOR
5656 # -D ENABLE_DEBUG_DIVERT
5757 # -D ENABLE_DEBUG_LED
5858 # -D ENABLE_DEBUG_LCD
@@ -91,6 +91,7 @@ build_flags =
9191 -D USE_ESP32
9292 -D USE_ESP32_FRAMEWORK_ARDUINO
9393build_partitions = min_spiffs.csv
94+ build_partitions_debug = min_spiffs_debug.csv
9495
9596neopixel_lib = adafruit/Adafruit
[email protected] 9697
101102# platform = https://github.com/platformio/platform-espressif32.git#feature/stage
102103# platform = https://github.com/platformio/platform-espressif32.git#develop
103104104- platform = espressif32@4.4 .0
105+ platform = espressif32@5.0 .0
105106# framework = arduino, espidf
106107framework = arduino
107108lib_deps = ${common.lib_deps}
@@ -117,7 +118,8 @@ board_build.partitions = ${common.build_partitions}
117118# ; use a special branch
118119# framework-arduinoespressif32 @ https://github.com/marcovannoord/arduino-esp32.git#idf-release/v4.0
119120# platformio/framework-arduinoespressif32 @ ~3.10006.0
120- monitor_filters = esp32_exception_decoder
121+ monitor_filters =
122+ esp32_exception_decoder
121123
122124[env:openevse_nodemcu-32s]
123125board = nodemcu-32s
@@ -154,6 +156,8 @@ build_flags =
154156# upload_protocol = espota
155157upload_speed = 2000000
156158# upload_protocol = ftdi
159+ # debug_tool = ftdi
160+ # board_build.partitions = ${common.build_partitions_debug}
157161
158162# export PLATFORMIO_UPLOAD_PORT=172.16.0.157
159163# export PLATFORMIO_UPLOAD_FLAGS="-p 3232"
@@ -262,10 +266,17 @@ build_flags =
262266 -D RANDOM_SEED_CHANNEL =1
263267 -D RX2 =16
264268 -D TX2 =32
269+ -D PHY_PWR =5
265270board_build.extra_flags = " -DARDUINO_ESP32_GATEWAY=\'E\'"
266271upload_speed = 921600
267- monitor_flags =
268- --filter =esp32_exception_decoder
272+
273+ [env:openevse_esp32-gateway-e_dev]
274+ extends = env:openevse_esp32-gateway-e
275+ build_flags =
276+ ${env:openevse_esp32-gateway-e.build_flags}
277+ ${common.debug_flags}
278+ build_type = debug
279+ board_build.partitions = ${common.build_partitions_debug}
269280
270281[env:openevse_esp32-heltec-wifi-lora-v2]
271282board = heltec_wifi_lora_32_V2
0 commit comments