首先搭建开发环境,这里采用了windows下集成开发环境ide进行开发,具体的安装方法:ESP-IDF安装配置
这里使用的乐鑫的esp32s3,N16R8

从上面图中可以看到,N16R8这里使用了外扩16M的flash,外扩8M的psram
首先在github下载测试例程:测试例程
然后将examples\get-started\hello_world复制到某个位置,也可以不进行复制,直接编译烧写也可以

这里我为了方便直接放在了D盘
然后启动windows的esp-idf cmd

切换到hello_world目录

idf.py set-target esp32s3

idf.py menuconfig
根据前面知道了flash为16M
Serial flasher config —>


选中设置为片外ram

根据芯片手册还可以知道psram为Octal模式

设置psram为octal


最后按s键保存,按q键退出
idf.py build
idf.py -p COM9 flash

idf.py -p COM9 monitor
idf.py -p COM9 flash monitor
