forked from xiaozhi/xiaozhi-esp32
Add esp32c3 efuse setting & fix components version
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include <wifi_station.h>
|
||||
#include <esp_log.h>
|
||||
#include <driver/i2c_master.h>
|
||||
#include "esp_efuse_table.h"
|
||||
|
||||
#define TAG "KevinBoxBoard"
|
||||
|
||||
@@ -56,7 +57,9 @@ private:
|
||||
}
|
||||
|
||||
public:
|
||||
KevinBoxBoard() : boot_button_(BOOT_BUTTON_GPIO) {
|
||||
KevinBoxBoard() : boot_button_(BOOT_BUTTON_GPIO) {
|
||||
//把ESP32C3的VDD SPI引脚作为普通GPIO口使用 需要写efuse 每个芯片需要写一次
|
||||
esp_efuse_write_field_bit(ESP_EFUSE_VDD_SPI_AS_GPIO);
|
||||
InitializeCodecI2c();
|
||||
InitializeButtons();
|
||||
InitializeIot();
|
||||
|
||||
@@ -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.2.0"
|
||||
espressif/esp-sr: "^1.9.0"
|
||||
espressif/button: "^3.3.1"
|
||||
lvgl/lvgl: "~8.4.0"
|
||||
|
||||
Reference in New Issue
Block a user