1.2 KiB
1.2 KiB
#领域/未知
#复盘/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
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.bin @flash_args
cd /workspace/output/esp32_video/spi_lcd_touch && source /opt/esp/idf/export.sh && idf.py fullclean && idf.py set-target esp32s3 && idf.py build
