Update to 2.0.0
This commit is contained in:
@@ -1,22 +1,18 @@
|
||||
# 使用说明
|
||||
|
||||
|
||||
1. 设置编译目标为 esp32s3
|
||||
**编译**
|
||||
|
||||
```shell
|
||||
idf.py set-target esp32s3
|
||||
```bash
|
||||
python ./scripts/release.py m5stack-core-s3
|
||||
```
|
||||
|
||||
2. 修改配置
|
||||
如需手动编译,请参考 `m5stack-core-s3/config.json` 修改 menuconfig 对应选项。
|
||||
|
||||
```shell
|
||||
cp main/boards/m5stack-core-s3/sdkconfig.cores3 sdkconfig
|
||||
```
|
||||
**烧录**
|
||||
|
||||
3. 编译烧录程序
|
||||
|
||||
```shell
|
||||
idf.py build flash monitor
|
||||
```bash
|
||||
idf.py flash
|
||||
```
|
||||
|
||||
> [!NOTE]
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
#include <driver/i2c_master.h>
|
||||
#include <driver/i2s_tdm.h>
|
||||
|
||||
|
||||
#define TAG "CoreS3AudioCodec"
|
||||
|
||||
CoreS3AudioCodec::CoreS3AudioCodec(void* i2c_master_handle, int input_sample_rate, int output_sample_rate,
|
||||
|
||||
@@ -16,12 +16,8 @@
|
||||
#include <esp_timer.h>
|
||||
#include "esp32_camera.h"
|
||||
|
||||
|
||||
#define TAG "M5StackCoreS3Board"
|
||||
|
||||
LV_FONT_DECLARE(font_puhui_20_4);
|
||||
LV_FONT_DECLARE(font_awesome_20_4);
|
||||
|
||||
class Pmic : public Axp2101 {
|
||||
public:
|
||||
// Power Init
|
||||
@@ -44,7 +40,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
class CustomBacklight : public Backlight {
|
||||
public:
|
||||
CustomBacklight(Pmic *pmic) : pmic_(pmic) {}
|
||||
@@ -58,7 +53,6 @@ private:
|
||||
Pmic *pmic_;
|
||||
};
|
||||
|
||||
|
||||
class Aw9523 : public I2cDevice {
|
||||
public:
|
||||
// Exanpd IO Init
|
||||
@@ -123,7 +117,6 @@ private:
|
||||
TouchPoint_t tp_;
|
||||
};
|
||||
|
||||
|
||||
class M5StackCoreS3Board : public WifiBoard {
|
||||
private:
|
||||
i2c_master_bus_handle_t i2c_bus_;
|
||||
@@ -294,16 +287,7 @@ private:
|
||||
esp_lcd_panel_mirror(panel, DISPLAY_MIRROR_X, DISPLAY_MIRROR_Y);
|
||||
|
||||
display_ = new SpiLcdDisplay(panel_io, panel,
|
||||
DISPLAY_WIDTH, DISPLAY_HEIGHT, DISPLAY_OFFSET_X, DISPLAY_OFFSET_Y, DISPLAY_MIRROR_X, DISPLAY_MIRROR_Y, DISPLAY_SWAP_XY,
|
||||
{
|
||||
.text_font = &font_puhui_20_4,
|
||||
.icon_font = &font_awesome_20_4,
|
||||
#if CONFIG_USE_WECHAT_MESSAGE_STYLE
|
||||
.emoji_font = font_emoji_32_init(),
|
||||
#else
|
||||
.emoji_font = font_emoji_64_init(),
|
||||
#endif
|
||||
});
|
||||
DISPLAY_WIDTH, DISPLAY_HEIGHT, DISPLAY_OFFSET_X, DISPLAY_OFFSET_Y, DISPLAY_MIRROR_X, DISPLAY_MIRROR_Y, DISPLAY_SWAP_XY);
|
||||
}
|
||||
|
||||
void InitializeCamera() {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user