
---
#领域/未知

#复盘/0 #临时/备忘 #状态/待处理

20260528-备忘-主题名-文件内容

## 一句话描述

[________]

---
  
  
  
  

## 编译项目

  

```bash

. $IDF_PATH/export.sh

idf.py set-target esp32s3

idf.py clean

idf.py build

esptool.py --chip esp32s3 merge_bin -o merged.bin 0x0 build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin 0x10000 build/xr-ai-cam.bin

  
  

cd /workspace/micropython/ports/esp32/build-ESP32_GENERIC_S3

python -m esptool --chip esp32s3 merge_bin -o merged.bin \

  --flash_mode dio --flash_size 4MB --flash_freq 80m \

  0x0 bootloader/bootloader.bin \

  0x8000 partition_table/partition-table.bin \

  0x10000 micropython.bin

  

```

  
  
  

## 烧录

  

Windows ESP-IDF

```bash

  

# ren merged.bin merged_latest.bin

move /y ..\merged.bin merged.bin

move /y ..\firmware_v1.0.0_latest.bin merged.bin

# cd C:\Users\Administrator\Downloads

esptool.py --chip esp32s3 --port COM22 --baud 921600 write_flash -z 0x0 merged.bin

esptool.py --chip esp32s3 --port COM22 erase_flash

idf.py monitor -p COM22

  
  

```

  
  

mkdir -p /workspace/pre-merge

cp cat_face.zip /workspace/pre-merge

  
  

unzip cat_face.zip

  
  

cd /workspace/pre-merge