From a5d84ccc8455cca4c69b1efa754708483138ba2e Mon Sep 17 00:00:00 2001 From: jdgarcia99 Date: Thu, 12 Oct 2023 20:44:26 +0200 Subject: [PATCH 1/2] Update platformio.ini Added Support for wt32-eth01 board. Need to add a 1uF ceramic capacitor between pins EN and GND to avoid boot problems --- platformio.ini | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/platformio.ini b/platformio.ini index 1ea7ba75..62628cae 100644 --- a/platformio.ini +++ b/platformio.ini @@ -319,3 +319,26 @@ build_flags = -D RAPI_PORT=Serial1 -D RX1=25 -D TX1=27 + +[env:wt32-eth01] +# For Wireless Tag +board = wt32-eth01 +build_flags = + ${common.build_flags} + ${common.src_build_flags} + -D WIFI_LED=12 + -D WIFI_LED_ON_STATE=HIGH + -D WIFI_BUTTON=4 + -D WIFI_BUTTON_PRESSED_STATE=LOW + # -D DEBUG_PORT=Serial + -D RAPI_PORT=Serial2 + -D ENABLE_WIRED_ETHERNET + -D RESET_ETH_PHY_ON_BOOT=1 + -D RX2=5 + -D TX2=17 + -D ETH_PHY_TYPE=ETH_PHY_LAN8720 + -D ETH_PHY_ADDR=1 + -D ETH_PHY_MDC=23 + -D ETH_PHY_MDIO=18 + -D ETH_CLK_MODE=ETH_CLOCK_GPIO0_IN + -D ETH_PHY_POWER=16 From c5d1eb584eae8e36a925a08d60ee4b91e8c84959 Mon Sep 17 00:00:00 2001 From: jdgarcia99 Date: Mon, 16 Oct 2023 21:02:21 +0200 Subject: [PATCH 2/2] Update build.yaml Added Workflow to would env for the wt32-eth01 board --- .github/workflows/build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 205a4b03..7baf98b8 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -55,6 +55,7 @@ jobs: - olimex_esp32-gateway-f_dev - olimex_esp32-poe-iso - heltec_esp32-wifi-lora-v2 + - wt32-eth01 gui: - name: gui-v2 repo: OpenEVSE/openevse-gui-v2