Skip to content

Commit

Permalink
Update C6 mapping, added esp32_gateway_rev_e and esp32_gateway_rev_f
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieucarbou committed Oct 27, 2024
1 parent 7cd1514 commit 1672a47
Showing 1 changed file with 55 additions and 4 deletions.
59 changes: 55 additions & 4 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -336,12 +336,15 @@ build_flags =
-D YASOLR_OUTPUT2_RELAY_PIN=-1
-D YASOLR_OUTPUT2_TEMP_PIN=-1
-D YASOLR_PZEM_RX_PIN=-1
-D YASOLR_PZEM_SERIAL=Serial1
-D YASOLR_PZEM_SERIAL=Serial0
-D YASOLR_PZEM_TX_PIN=-1
-D YASOLR_RELAY1_PIN=-1
-D YASOLR_RELAY2_PIN=-1
-D YASOLR_SYSTEM_TEMP_PIN=-1
-D YASOLR_ZCD_PIN=-1
; -D ARDUINO_USB_CDC_ON_BOOT=1
; -D YASOLR_PZEM_RX_PIN=-17
; -D YASOLR_PZEM_TX_PIN=-16

[env:oss-esp32c6]
board = esp32-c6-devkitc-1
Expand Down Expand Up @@ -487,8 +490,54 @@ build_flags =
-D YASOLR_SYSTEM_TEMP_PIN=-1
-D YASOLR_ZCD_PIN=-1

[env:oss-esp32_gateway]
[env:oss-esp32_gateway_rev_e]
board = esp32-gateway
board_build.extra_flags = "-DARDUINO_ESP32_GATEWAY_E"
custom_safeboot_url = https://github.com/mathieucarbou/MycilaSafeBoot/releases/download/v1.0.5/safeboot-esp32-gateway.bin
lib_deps =
${env.lib_deps}
${oss.lib_deps}
lib_ignore =
${env.lib_ignore}
${oss.lib_ignore}
build_flags =
${env.build_flags}
${oss.build_flags}
${esp32_gateway.build_flags}

[env:pro-esp32_gateway_rev_e]
board = esp32-gateway
board_build.extra_flags = "-DARDUINO_ESP32_GATEWAY_E"
custom_safeboot_url = https://github.com/mathieucarbou/MycilaSafeBoot/releases/download/v1.0.5/safeboot-esp32-gateway.bin
lib_deps =
${env.lib_deps}
${pro.lib_deps}
lib_ignore =
${env.lib_ignore}
${pro.lib_ignore}
build_flags =
${env.build_flags}
${pro.build_flags}
${esp32_gateway.build_flags}

[env:trial-esp32_gateway_rev_e]
board_build.extra_flags = "-DARDUINO_ESP32_GATEWAY_E"
board = esp32-gateway
custom_safeboot_url = https://github.com/mathieucarbou/MycilaSafeBoot/releases/download/v1.0.5/safeboot-esp32-gateway.bin
lib_deps =
${env.lib_deps}
${trial.lib_deps}
lib_ignore =
${env.lib_ignore}
${trial.lib_ignore}
build_flags =
${env.build_flags}
${trial.build_flags}
${esp32_gateway.build_flags}

[env:oss-esp32_gateway_rev_f]
board = esp32-gateway
board_build.extra_flags = "-DARDUINO_ESP32_GATEWAY_F"
custom_safeboot_url = https://github.com/mathieucarbou/MycilaSafeBoot/releases/download/v1.0.5/safeboot-esp32-gateway.bin
lib_deps =
${env.lib_deps}
Expand All @@ -501,8 +550,9 @@ build_flags =
${oss.build_flags}
${esp32_gateway.build_flags}

[env:pro-esp32_gateway]
[env:pro-esp32_gateway_rev_f]
board = esp32-gateway
board_build.extra_flags = "-DARDUINO_ESP32_GATEWAY_F"
custom_safeboot_url = https://github.com/mathieucarbou/MycilaSafeBoot/releases/download/v1.0.5/safeboot-esp32-gateway.bin
lib_deps =
${env.lib_deps}
Expand All @@ -515,7 +565,8 @@ build_flags =
${pro.build_flags}
${esp32_gateway.build_flags}

[env:trial-esp32_gateway]
[env:trial-esp32_gateway_rev_f]
board_build.extra_flags = "-DARDUINO_ESP32_GATEWAY_F"
board = esp32-gateway
custom_safeboot_url = https://github.com/mathieucarbou/MycilaSafeBoot/releases/download/v1.0.5/safeboot-esp32-gateway.bin
lib_deps =
Expand Down

0 comments on commit 1672a47

Please sign in to comment.