make menuconfig – 运行配置菜单,做过kernel开发的会非常熟悉.
make defconfig - 为所有的配置项设置默认值
make app 只编译app模块
make all 编译所有
make flash 编译并刷机
make clean – 清除编译产生的文件.
make distclean 清除之前的编译结果。
ake monitor 查看串口输出
make erase_flash – 擦除ESP32上的整个Flash.
make partition_table 查看分区
make size - 显示Bin文件中各个部分的大小
make app-flash - 如果后期只修改应用程序,不修改工程设置等,直接使用
make size-components -, size-files - 每个模块所占内存的大小,这个在项目代码膨胀后还是比较有用的。
printenv IDF_PATH 检查SDK路径
make list-components - List all components in the project
make app-flash 只编译并烧写app模块
make menuconfig 配置编译参数
make partition_table-flash 刷新分区表
make erase_flash 擦除flash
拉取IDF工具:git clone --recursive https://github.com/espressif/esp-idf.git