unit tests: Shrink unit test partition table so tests can run on 2MB of flash

This commit is contained in:
Angus Gratton 2017-04-13 17:37:35 +10:00 committed by Angus Gratton
parent f7793840e1
commit b99d5df922

View file

@ -6,7 +6,9 @@ nvs, data, nvs, 0x9000, 0x4000
otadata, data, ota, 0xd000, 0x2000
phy_init, data, phy, 0xf000, 0x1000
factory, 0, 0, 0x10000, 1M
ota_0, 0, ota_0, , 1M
ota_1, 0, ota_1, , 1M
# these OTA partitions are used for tests, but can't fit real OTA apps in them
# (done this way so tests can run in 2MB of flash.)
ota_0, 0, ota_0, , 128K
ota_1, 0, ota_1, , 128K
# flash_test partition used for SPI flash tests
flash_test, 0x55, 0x55, , 512K

1 # Special partition table for unit test app
6 otadata, data, ota, 0xd000, 0x2000
7 phy_init, data, phy, 0xf000, 0x1000
8 factory, 0, 0, 0x10000, 1M
9 ota_0, 0, ota_0, , 1M # these OTA partitions are used for tests, but can't fit real OTA apps in them
10 ota_1, 0, ota_1, , 1M # (done this way so tests can run in 2MB of flash.)
11 ota_0, 0, ota_0, , 128K
12 ota_1, 0, ota_1, , 128K
13 # flash_test partition used for SPI flash tests
14 flash_test, 0x55, 0x55, , 512K