P01_Flash分区表

P01_Flash分区表-分区表的说明和使用

一、 Arduino中选择和修改分区表

二、PIO中修改分区表

  1. 使用Vscode+Platformio开发ESP32,因为代码量过大,超过了默认的程序分区大小,所以就需要修改默认的分区表以扩大程序分区。

  2. 在PlatformIO中添加、编译分区表

  1. 编译,查看输出flash空间占用即可

三、参考链接

下面附上一些链接: PlatformIO在线说明文档 :https://docs.platformio.org/en/latest/what-is-platformio.html.

PlatformIO中有关ESP32的配置命令,如端口波特率、主频设置、flash模式、分区表编译调用等: https://docs.platformio.org/en/latest/platforms/espressif32.html.

乐鑫有关分区表说明文档:https://docs.espressif.com/projects/esp-idf/zh_CN/latest/esp32/api-guides/partition-tables.html.

github上一些分区表示例:https://github.com/espressif/arduino-esp32/tree/master/tools/partitions.

!!! note "The End"