example/flash_encryption: Fix partition table and sdkconfig.defaults

When the flash encryption is enabled then we do not need to change the partition table.
The partition_example.csv should not have fixed offsets for partitions because we want to move the whole table.
The fixed offsets in the table were cleared.
This commit is contained in:
KonstantinKondrashov
2020-08-24 15:26:49 +08:00
parent 96b3e7f405
commit 5e8795eebe
3 changed files with 5 additions and 6 deletions
@@ -1,5 +1,5 @@
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x6000,
nvs, data, nvs, , 0x6000,
# Extra partition to demonstrate reading/writing of encrypted flash
storage, data, 0xff, 0xf000, 0x1000, encrypted
factory, app, factory, 0x10000, 1M,
storage, data, 0xff, , 0x1000, encrypted
factory, app, factory, , 1M,
1 # Name, Type, SubType, Offset, Size, Flags
2 nvs, data, nvs, 0x9000, 0x6000, nvs, data, nvs, , 0x6000,
3 # Extra partition to demonstrate reading/writing of encrypted flash
4 storage, data, 0xff, 0xf000, 0x1000, encrypted storage, data, 0xff, , 0x1000, encrypted
5 factory, app, factory, 0x10000, 1M, factory, app, factory, , 1M,