diff --git a/platformio.ini b/platformio.ini index 62628cae..4116b208 100644 --- a/platformio.ini +++ b/platformio.ini @@ -111,7 +111,7 @@ neopixel_lib = adafruit/Adafruit NeoPixel@1.11.0 #platform = https://github.com/platformio/platform-espressif32.git#feature/stage #platform = https://github.com/platformio/platform-espressif32.git#develop #platform = espressif32@1.11.1 -platform = espressif32@6.0.1 +platform = espressif32@6.4.0 #framework = arduino, espidf framework = arduino lib_deps = ${common.lib_deps} @@ -342,3 +342,19 @@ build_flags = -D ETH_PHY_MDIO=18 -D ETH_CLK_MODE=ETH_CLOCK_GPIO0_IN -D ETH_PHY_POWER=16 + +[env:esp32-c3-devkitc-02] +board = esp32-c3-devkitc-02 +lib_deps = + ${common.lib_deps} + ${common.neopixel_lib} +build_flags = + ${common.build_flags} + ${common.src_build_flags} + ${common.debug_flags} + -D RAPI_PORT=Serial1 + -D TX1=6 + -D RX1=7 + -D NEO_PIXEL_PIN=8 + -D NEO_PIXEL_LENGTH=1 + -D WIFI_PIXEL_NUMBER=1