Merge pull request #28 from Kevincoooool/fix_c3_bug

Add esp32c3 efuse setting & fix components version
This commit is contained in:
Xiaoxia
2024-12-16 23:01:27 +08:00
committed by GitHub
2 changed files with 6 additions and 2 deletions

View File

@@ -8,6 +8,7 @@
#include <wifi_station.h>
#include <esp_log.h>
#include <esp_efuse_table.h>
#include <driver/i2c_master.h>
#define TAG "KevinBoxBoard"
@@ -56,7 +57,10 @@ private:
}
public:
KevinBoxBoard() : boot_button_(BOOT_BUTTON_GPIO) {
KevinBoxBoard() : boot_button_(BOOT_BUTTON_GPIO) {
// 把 ESP32C3 的 VDD SPI 引脚作为普通 GPIO 口使用
esp_efuse_write_field_bit(ESP_EFUSE_VDD_SPI_AS_GPIO);
InitializeCodecI2c();
InitializeButtons();
InitializeIot();

View File

@@ -4,7 +4,7 @@ dependencies:
78/esp-opus-encoder: "~2.0.0"
78/esp-ml307: "~1.7.0"
espressif/led_strip: "^2.4.1"
espressif/esp_codec_dev: "^1.3.1"
espressif/esp_codec_dev: "~1.3.2"
espressif/esp-sr: "^1.9.0"
espressif/button: "^3.3.1"
lvgl/lvgl: "~8.4.0"