@@ -249,28 +249,6 @@ build_flags =
249249 -D RANDOM_SEED_CHANNEL =1
250250# https://github.com/espressif/arduino-esp32/blob/master/libraries/WiFi/examples/ETH_LAN8720/ETH_LAN8720.ino
251251
252- [env:openevse_esp32-gateway-e]
253- # For hardware RevE
254- # https://github.com/OpenEVSE/ESP32_WiFi_V3.x/blob/master/docs/wired-ethernet.md
255- board = esp32-gateway
256- build_flags =
257- ${common.build_flags}
258- ${common.version}
259- ${common.src_build_flags}
260- -D WIFI_LED =33
261- -D WIFI_LED_ON_STATE =HIGH
262- -D WIFI_BUTTON =34
263- -D WIFI_BUTTON_PRESSED_STATE =LOW
264- -D DEBUG_PORT =Serial
265- -D RAPI_PORT =Serial2
266- -D ENABLE_WIRED_ETHERNET
267- -D RANDOM_SEED_CHANNEL =1
268- -D RX2 =16
269- -D TX2 =32
270- -D RESET_ETH_PHY_ON_BOOT =1
271- board_build.extra_flags = " -DARDUINO_ESP32_GATEWAY=\'E\'"
272- upload_speed = 921600
273-
274252[env:openevse_esp32-gateway-f]
275253# For hardware RevF and RevG
276254# https://github.com/OpenEVSE/ESP32_WiFi_V3.x/blob/master/docs/wired-ethernet.md
@@ -292,9 +270,33 @@ build_flags =
292270board_build.extra_flags = " -DARDUINO_ESP32_GATEWAY=\'F\'"
293271upload_speed = 921600
294272
273+ [env:openevse_esp32-gateway-e]
274+ # For hardware RevE
275+ # https://github.com/OpenEVSE/ESP32_WiFi_V3.x/blob/master/docs/wired-ethernet.md
276+ extends = env:openevse_esp32-gateway-f
277+ build_flags =
278+ ${env:openevse_esp32-gateway-f.build_flags}
279+ -D RESET_ETH_PHY_ON_BOOT =1
280+ board_build.extra_flags = " -DARDUINO_ESP32_GATEWAY=\'E\'"
281+
282+ [env:openevse_esp32-gateway-e_dev]
283+ extends = env:openevse_esp32-gateway-e
284+ build_flags =
285+ ${env:openevse_esp32-gateway-e.build_flags}
286+ ${common.debug_flags}
287+ build_type = debug
288+ board_build.partitions = ${common.build_partitions_debug}
289+
290+ [env:openevse_esp32-gateway-f_dev]
291+ extends = env:openevse_esp32-gateway-f
292+ build_flags =
293+ ${env:openevse_esp32-gateway-f.build_flags}
294+ ${common.debug_flags}
295+ build_type = debug
296+ board_build.partitions = ${common.build_partitions_debug}
297+
295298[env:openevse_esp32-poe-iso]
296299# Tested against Rev C board
297- extends = env:openevse_esp32-gateway
298300board = esp32-poe-iso
299301build_flags =
300302 ${common.build_flags}
@@ -309,14 +311,6 @@ build_flags =
309311 -D RESET_ETH_PHY_ON_BOOT =1
310312upload_speed = 921600
311313
312- [env:openevse_esp32-gateway-e_dev]
313- extends = env:openevse_esp32-gateway-e
314- build_flags =
315- ${env:openevse_esp32-gateway-e.build_flags}
316- ${common.debug_flags}
317- build_type = debug
318- board_build.partitions = ${common.build_partitions_debug}
319-
320314[env:openevse_esp32-heltec-wifi-lora-v2]
321315board = heltec_wifi_lora_32_V2
322316build_flags =
0 commit comments