Skip to content

Commit

Permalink
rollback arduino core 3.1.0 rc2
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieucarbou committed Oct 26, 2024
1 parent a0685c1 commit 7dde1dc
Showing 1 changed file with 94 additions and 41 deletions.
135 changes: 94 additions & 41 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ default_envs = pro-esp32, pro-esp32s3, pro-lilygo_eth_lite_s3, pro-wt32_eth01
[env]
build_type = release
framework = arduino
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10-rc2/platform-espressif32.zip
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10-rc1/platform-espressif32.zip
; https://github.com/espressif/arduino-esp32/issues/10526
; platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10-rc2/platform-espressif32.zip

monitor_filters = esp32_exception_decoder, log2file
monitor_speed = 115200
Expand Down Expand Up @@ -144,7 +146,7 @@ build_flags =
-Og
; -Os
-D CONFIG_ARDUHAL_LOG_COLORS
-D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO
-D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
build_unflags =
-std=gnu++11

Expand Down Expand Up @@ -177,34 +179,12 @@ lib_deps =
lib_ignore =

; --------------------------------------------------------------------
; SHORTCUTS
; ENVIRONMENTs
; --------------------------------------------------------------------

[pinout-empty]
build_flags =
-D YASOLR_DISPLAY_CLOCK_PIN=-1
-D YASOLR_DISPLAY_DATA_PIN=-1
-D YASOLR_JSY_RX_PIN=-1
-D YASOLR_JSY_SERIAL=Serial2
-D YASOLR_JSY_TX_PIN=-1
-D YASOLR_LIGHTS_GREEN_PIN=-1
-D YASOLR_LIGHTS_RED_PIN=-1
-D YASOLR_LIGHTS_YELLOW_PIN=-1
-D YASOLR_OUTPUT1_DIMMER_PIN=-1
-D YASOLR_OUTPUT1_RELAY_PIN=-1
-D YASOLR_OUTPUT1_TEMP_PIN=-1
-D YASOLR_OUTPUT2_DIMMER_PIN=-1
-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_TX_PIN=-1
-D YASOLR_RELAY1_PIN=-1
-D YASOLR_RELAY2_PIN=-1
-D YASOLR_SYSTEM_TEMP_PIN=-1
-D YASOLR_ZCD_PIN=-1
; esp32dev

[pinout-default]
[esp32]
build_flags =
-D YASOLR_DISPLAY_CLOCK_PIN=SCL
-D YASOLR_DISPLAY_DATA_PIN=SDA
Expand All @@ -228,16 +208,6 @@ build_flags =
-D YASOLR_SYSTEM_TEMP_PIN=4
-D YASOLR_ZCD_PIN=35

; --------------------------------------------------------------------
; ENVIRONMENTs
; --------------------------------------------------------------------

; esp32dev

[esp32]
build_flags =
{pinout-default.build_flags}

[env:oss-esp32]
board = esp32dev
custom_safeboot_url = https://github.com/mathieucarbou/MycilaSafeBoot/releases/download/v1.0.5/safeboot-esp32dev.bin
Expand All @@ -250,6 +220,7 @@ lib_ignore =
build_flags =
${env.build_flags}
${oss.build_flags}
${esp32.build_flags}

[env:pro-esp32]
board = esp32dev
Expand All @@ -263,6 +234,7 @@ lib_ignore =
build_flags =
${env.build_flags}
${pro.build_flags}
${esp32.build_flags}

[env:trial-esp32]
board = esp32dev
Expand All @@ -276,6 +248,7 @@ lib_ignore =
build_flags =
${env.build_flags}
${trial.build_flags}
${esp32.build_flags}

; esp32s3

Expand Down Expand Up @@ -353,7 +326,27 @@ build_flags =
build_flags =
-D ESPCONNECT_ETH_RESET_ON_START
-D ESPCONNECT_ETH_SUPPORT
${pinout-empty.build_flags}
-D YASOLR_DISPLAY_CLOCK_PIN=SCL
-D YASOLR_DISPLAY_DATA_PIN=SDA
-D YASOLR_JSY_RX_PIN=-1
-D YASOLR_JSY_SERIAL=Serial2
-D YASOLR_JSY_TX_PIN=-1
-D YASOLR_LIGHTS_GREEN_PIN=-1
-D YASOLR_LIGHTS_RED_PIN=-1
-D YASOLR_LIGHTS_YELLOW_PIN=-1
-D YASOLR_OUTPUT1_DIMMER_PIN=-1
-D YASOLR_OUTPUT1_RELAY_PIN=-1
-D YASOLR_OUTPUT1_TEMP_PIN=-1
-D YASOLR_OUTPUT2_DIMMER_PIN=-1
-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_TX_PIN=-1
-D YASOLR_RELAY1_PIN=-1
-D YASOLR_RELAY2_PIN=-1
-D YASOLR_SYSTEM_TEMP_PIN=-1
-D YASOLR_ZCD_PIN=-1

[env:oss-esp32_poe]
board = esp32-poe
Expand Down Expand Up @@ -402,7 +395,27 @@ build_flags =

[wipy3]
build_flags =
${pinout-empty.build_flags}
-D YASOLR_DISPLAY_CLOCK_PIN=SCL
-D YASOLR_DISPLAY_DATA_PIN=SDA
-D YASOLR_JSY_RX_PIN=-1
-D YASOLR_JSY_SERIAL=Serial2
-D YASOLR_JSY_TX_PIN=-1
-D YASOLR_LIGHTS_GREEN_PIN=-1
-D YASOLR_LIGHTS_RED_PIN=-1
-D YASOLR_LIGHTS_YELLOW_PIN=-1
-D YASOLR_OUTPUT1_DIMMER_PIN=-1
-D YASOLR_OUTPUT1_RELAY_PIN=-1
-D YASOLR_OUTPUT1_TEMP_PIN=-1
-D YASOLR_OUTPUT2_DIMMER_PIN=-1
-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_TX_PIN=-1
-D YASOLR_RELAY1_PIN=-1
-D YASOLR_RELAY2_PIN=-1
-D YASOLR_SYSTEM_TEMP_PIN=-1
-D YASOLR_ZCD_PIN=-1

[env:oss-wipy3]
board = wipy3
Expand Down Expand Up @@ -451,7 +464,27 @@ build_flags =

[tinypico]
build_flags =
${pinout-empty.build_flags}
-D YASOLR_DISPLAY_CLOCK_PIN=SCL
-D YASOLR_DISPLAY_DATA_PIN=SDA
-D YASOLR_JSY_RX_PIN=-1
-D YASOLR_JSY_SERIAL=Serial2
-D YASOLR_JSY_TX_PIN=-1
-D YASOLR_LIGHTS_GREEN_PIN=-1
-D YASOLR_LIGHTS_RED_PIN=-1
-D YASOLR_LIGHTS_YELLOW_PIN=-1
-D YASOLR_OUTPUT1_DIMMER_PIN=-1
-D YASOLR_OUTPUT1_RELAY_PIN=-1
-D YASOLR_OUTPUT1_TEMP_PIN=-1
-D YASOLR_OUTPUT2_DIMMER_PIN=-1
-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_TX_PIN=-1
-D YASOLR_RELAY1_PIN=-1
-D YASOLR_RELAY2_PIN=-1
-D YASOLR_SYSTEM_TEMP_PIN=-1
-D YASOLR_ZCD_PIN=-1

[env:oss-tinypico]
board = tinypico
Expand Down Expand Up @@ -500,7 +533,27 @@ build_flags =

[denky_d4]
build_flags =
${pinout-empty.build_flags}
-D YASOLR_DISPLAY_CLOCK_PIN=SCL
-D YASOLR_DISPLAY_DATA_PIN=SDA
-D YASOLR_JSY_RX_PIN=-1
-D YASOLR_JSY_SERIAL=Serial2
-D YASOLR_JSY_TX_PIN=-1
-D YASOLR_LIGHTS_GREEN_PIN=-1
-D YASOLR_LIGHTS_RED_PIN=-1
-D YASOLR_LIGHTS_YELLOW_PIN=-1
-D YASOLR_OUTPUT1_DIMMER_PIN=-1
-D YASOLR_OUTPUT1_RELAY_PIN=-1
-D YASOLR_OUTPUT1_TEMP_PIN=-1
-D YASOLR_OUTPUT2_DIMMER_PIN=-1
-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_TX_PIN=-1
-D YASOLR_RELAY1_PIN=-1
-D YASOLR_RELAY2_PIN=-1
-D YASOLR_SYSTEM_TEMP_PIN=-1
-D YASOLR_ZCD_PIN=-1

[env:oss-denky_d4]
board = denky_d4
Expand Down

0 comments on commit 7dde1dc

Please sign in to comment.