--- #领域/未知 #复盘/0 #临时/备忘 #状态/待处理 ## 一句话描述 [________] --- 样例程序:260603-拆卸款ESP32S3-SD卡示例程序.zip ```bash # 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]] ```bash 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 ``` ```bash 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 ```