juechafun/01-项目/2605-MicroPythonESP32S3/操作说明-ESP32S3-示例代码.md

1.1 KiB
Raw Blame History


#领域/未知

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

一句话描述

[________]


样例程序260603-拆卸款ESP32S3-SD卡示例程序.zip

# 1. 激活 ESP-IDF 环境
source /opt/esp/idf/export.sh

# 2. 进入项目目录
cd /workspace/output/sdmmc/sdmmc

# 3. 构建项目
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

# 下载 merged.bin 

!Pasted image 20260603101137.png




cat > sdkconfig.defaults << 'EOF'
# PSRAM Configuration
CONFIG_SPIRAM=y
CONFIG_SPIRAM_MODE_OCT=y
CONFIG_SPIRAM_USE_MALLOC=y

# Camera Configuration (if needed)
CONFIG_CAMERA_ENABLED=y

# SD Card Configuration (if needed)
CONFIG_ESP32S3_SPIRAM_SUPPORT=y
EOF


cd /workspace/output/esp32-s3-cam && \
source /opt/esp/idf/export.sh && \
idf.py fullclean && \
idf.py set-target esp32s3 && \
idf.py build

cd /workspace/output/esp32-s3-cam/build
esptool.py --chip esp32s3 merge_bin -o ../merged_firmware.bin @flash_args