Add esp32c3 efuse setting & fix components version

This commit is contained in:
Kevincoooool
2024-12-13 09:35:40 +08:00
parent 051a0ba483
commit 894e872cfd
2 changed files with 5 additions and 2 deletions

View File

@@ -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();