Skip to content

Commit 1bc241d

Browse files
committed
Various tweeks
A few bints of tidy up, temp enable of some debug, dev version of the ESP32 gateway board and enable the power cycling of the ethernet chip
1 parent 1aba1c8 commit 1bc241d

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

platformio.ini

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ default_envs = openevse_wifi_v1
3030

3131
[common]
3232
version = -D BUILD_TAG=4.1.3
33-
monitor_speed = 115200
3433
lib_deps =
3534
3635
jeremypoulter/[email protected]
@@ -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
9393
build_partitions = min_spiffs.csv
94+
build_partitions_debug = min_spiffs_debug.csv
9495

9596
neopixel_lib = adafruit/Adafruit [email protected]
9697

@@ -101,7 +102,7 @@ neopixel_lib = adafruit/Adafruit [email protected]
101102
#platform = https://github.com/platformio/platform-espressif32.git#feature/stage
102103
#platform = https://github.com/platformio/platform-espressif32.git#develop
103104
#platform = [email protected]
104-
platform = espressif32@4.4.0
105+
platform = espressif32@5.0.0
105106
#framework = arduino, espidf
106107
framework = arduino
107108
lib_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]
123125
board = nodemcu-32s
@@ -154,6 +156,8 @@ build_flags =
154156
#upload_protocol = espota
155157
upload_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
265270
board_build.extra_flags = "-DARDUINO_ESP32_GATEWAY=\'E\'"
266271
upload_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]
271282
board = heltec_wifi_lora_32_V2

0 commit comments

Comments
 (0)