方法一:修改默认分区表文件
默认分区表目录:esp-idf-v4.1-beta1\components\partition_table\partitions_singleapp.csv
不建议使用该方式,不然其他使用默认分区表的工程都会被影响
方法二:使用自定义分区表
配置工具-》Partition Table-》Partition Table, 选择Custom patition table CSV, 填写自己的csv文件名,Name of the custom partition CSV filename. This path is evaluated relative to the project root directory. 分区表路径为相对工程的根路径
注:
修改分区大小后可能需要修改配置里的Flash size
配置工具-》Serial flasher config-》Flash size