[HWCDC] Enable HWCDC for all ESP32-C3 builds

This commit is contained in:
TD-er
2023-05-31 20:45:28 +02:00
parent 9dc72e9f35
commit 34c916ec76
+24 -30
View File
@@ -1,7 +1,6 @@
[esp32c3_common]
extends = esp32_base
lib_ignore = ${esp32_always.lib_ignore}
@@ -23,26 +22,26 @@ build_flags = ${esp32c3_common.build_flags}
board_build.filesystem = littlefs
[env:custom_ESP32c3_4M316k]
[env:custom_ESP32c3_4M316k_CDC]
extends = esp32c3_common
board = esp32c3
board = esp32c3cdc
build_flags = ${esp32c3_common.build_flags}
-DPLUGIN_BUILD_CUSTOM
extra_scripts = ${esp32c3_common.extra_scripts}
pre:tools/pio/pre_custom_esp32.py
[env:neopixel_ESP32c3_4M316k]
[env:neopixel_ESP32c3_4M316k_CDC]
extends = esp32c3_common
board = esp32c3
board = esp32c3cdc
build_flags = ${esp32c3_common.build_flags}
-DFEATURE_ARDUINO_OTA=1
-DFEATURE_SD=1
-DPLUGIN_NEOPIXEL_COLLECTION
[env:custom_IR_ESP32c3_4M316k]
[env:custom_IR_ESP32c3_4M316k_CDC]
extends = esp32c3_common
board = esp32c3
board = esp32c3cdc
build_flags = ${esp32c3_common.build_flags}
-DPLUGIN_BUILD_CUSTOM
-DPLUGIN_BUILD_IR
@@ -54,73 +53,68 @@ extra_scripts = ${esp32c3_common.extra_scripts}
[env:normal_ESP32c3_4M316k]
extends = esp32c3_common
board = esp32c3
[env:normal_ESP32c3_4M316k_CDC]
extends = esp32c3_common
board = esp32c3cdc
[env:collection_A_ESP32c3_4M316k]
[env:collection_A_ESP32c3_4M316k_CDC]
extends = esp32c3_common
board = esp32c3
board = esp32c3cdc
build_flags = ${esp32c3_common.build_flags}
-DPLUGIN_SET_COLLECTION_ESP32
-DCOLLECTION_USE_RTTTL
[env:collection_B_ESP32c3_4M316k]
[env:collection_B_ESP32c3_4M316k_CDC]
extends = esp32c3_common
board = esp32c3
board = esp32c3cdc
build_flags = ${esp32c3_common.build_flags}
-DPLUGIN_SET_COLLECTION_B_ESP32
-DCOLLECTION_USE_RTTTL
[env:collection_C_ESP32c3_4M316k]
[env:collection_C_ESP32c3_4M316k_CDC]
extends = esp32c3_common
board = esp32c3
board = esp32c3cdc
build_flags = ${esp32c3_common.build_flags}
-DPLUGIN_SET_COLLECTION_C_ESP32
-DCOLLECTION_USE_RTTTL
[env:collection_D_ESP32c3_4M316k]
[env:collection_D_ESP32c3_4M316k_CDC]
extends = esp32c3_common
board = esp32c3
board = esp32c3cdc
build_flags = ${esp32c3_common.build_flags}
-DPLUGIN_SET_COLLECTION_D_ESP32
-DCOLLECTION_USE_RTTTL
[env:collection_E_ESP32c3_4M316k]
[env:collection_E_ESP32c3_4M316k_CDC]
extends = esp32c3_common
board = esp32c3
board = esp32c3cdc
build_flags = ${esp32c3_common.build_flags}
-DPLUGIN_SET_COLLECTION_E_ESP32
-DCOLLECTION_USE_RTTTL
[env:collection_F_ESP32c3_4M316k]
[env:collection_F_ESP32c3_4M316k_CDC]
extends = esp32c3_common
board = esp32c3
board = esp32c3cdc
build_flags = ${esp32c3_common.build_flags}
-DPLUGIN_SET_COLLECTION_F_ESP32
-DCOLLECTION_USE_RTTTL
[env:energy_ESP32c3_4M316k]
[env:energy_ESP32c3_4M316k_CDC]
extends = esp32c3_common
board = esp32c3
board = esp32c3cdc
build_flags = ${esp32c3_common.build_flags}
-D PLUGIN_ENERGY_COLLECTION
[env:display_ESP32c3_4M316k]
[env:display_ESP32c3_4M316k_CDC]
extends = esp32c3_common
board = esp32c3
board = esp32c3cdc
build_flags = ${esp32c3_common.build_flags}
-D PLUGIN_DISPLAY_COLLECTION
[env:climate_ESP32c3_4M316k]
[env:climate_ESP32c3_4M316k_CDC]
extends = esp32c3_common
board = esp32c3
board = esp32c3cdc
build_flags = ${esp32c3_common.build_flags}
-D PLUGIN_CLIMATE_COLLECTION