Skip to content

Commit 4a593d1

Browse files
committed
add non-debug enviroment for huzzah32 and huzzah32 idf
1 parent 5e4fe54 commit 4a593d1

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

platformio.ini

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ framework = arduino, espidf
216216

217217
# export PLATFORMIO_UPLOAD_PORT=172.16.0.157
218218
# export PLATFORMIO_UPLOAD_FLAGS="-p 3232"
219-
[env:openevse_huzzah32]
219+
[env:openevse_huzzah32_dev]
220220
platform = ${common.platform_esp32}
221221
board = featheresp32
222222
framework = arduino
@@ -236,7 +236,30 @@ src_build_flags =
236236
build_flags =
237237
${common.build_flags}
238238
${common.build_flags_esp32}
239-
#upload_port = openevse.local
239+
upload_speed = 921600
240+
monitor_speed = 115200
241+
extra_scripts = ${common.extra_scripts}
242+
board_build.partitions = ${common.build_partitions_esp32}
243+
244+
[env:openevse_huzzah32]
245+
platform = ${common.platform_esp32}
246+
board = featheresp32
247+
framework = arduino
248+
lib_deps = ${common.lib_deps}
249+
src_build_flags =
250+
${common.version}
251+
${common.src_build_flags}
252+
${common.src_build_flags_esp32}
253+
-DWIFI_LED=13
254+
-DWIFI_LED_ON_STATE=HIGH
255+
-DWIFI_BUTTON=0
256+
-DWIFI_BUTTON_PRESSED_STATE=LOW
257+
-DRAPI_PORT=Serial
258+
-DDEBUG_PORT=Serial2
259+
-DSERIAL_RX_PULLUP_PIN=3
260+
build_flags =
261+
${common.build_flags}
262+
${common.build_flags_esp32}
240263
upload_speed = 921600
241264
monitor_speed = 115200
242265
extra_scripts = ${common.extra_scripts}
@@ -246,6 +269,10 @@ board_build.partitions = ${common.build_partitions_esp32}
246269
extends = env:openevse_huzzah32
247270
framework = arduino, espidf
248271

272+
[env:openevse_huzzah32_idf_dev]
273+
extends = env:openevse_huzzah32_dev
274+
framework = arduino, espidf
275+
249276
[env:openevse_featheresp32]
250277
platform = ${common.platform_esp32}
251278
board = featheresp32

0 commit comments

Comments
 (0)