特性:新增 WS2812 组件并迁移至 ESP32-C3

更新编译器路径:切换至 RISC-V 工具链,以支持 ESP32-C3 芯片。
新增 WS2812 组件:集成了基于 RMT(远程控制器)外设的驱动程序,用于控制 RGB LED。
配置烧录方式:将 IDF 的 Flash 烧录类型配置为 UART 模式。
This commit is contained in:
Wang Beihong
2026-04-05 20:42:45 +08:00
parent 400bf83204
commit f6a1d3af7e
9 changed files with 162 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
"configurations": [
{
"name": "ESP-IDF",
"compilerPath": "/home/beihong/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20251107/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc",
"compilerPath": "/home/beihong/.espressif/tools/riscv32-esp-elf/esp-14.2.0_20251107/riscv32-esp-elf/bin/riscv32-esp-elf-gcc",
"compileCommands": "${config:idf.buildPath}/compile_commands.json",
"includePath": [
"${workspaceFolder}/**"

View File

@@ -13,5 +13,6 @@
"--background-index",
"--query-driver=**",
"--compile-commands-dir=/home/beihong/esp_projects/esp32c3-smart-scale/build"
]
],
"idf.flashType": "UART"
}