参考代码

This commit is contained in:
LokLiang
2024-03-28 12:19:52 +08:00
commit 7b86aa3362
96 changed files with 19986 additions and 0 deletions

9
partitions.csv Executable file
View File

@@ -0,0 +1,9 @@
# Name, Type, SubType, Offset, Size, Flags
# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap,,,,
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, , 0x5C000,
otadata, data, ota, , 0x2000,
phy_init, data, phy, , 0x1000,
bcfg, 0x40, 0x00, 0x6F000, 0x1000,
ota_0, app, ota_0, , 0x1B0000,
ota_1, app, ota_1, , 0x1B0000,
1 # Name Type SubType Offset Size Flags
2 # Note: if you have increased the bootloader size make sure to update the offsets to avoid overlap
3 # Name Type SubType Offset Size Flags
4 nvs data nvs 0x5C000
5 otadata data ota 0x2000
6 phy_init data phy 0x1000
7 bcfg 0x40 0x00 0x6F000 0x1000
8 ota_0 app ota_0 0x1B0000
9 ota_1 app ota_1 0x1B0000