mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ut: Support esp8684 with 2M flash being able to run unit test
This commit is contained in:
parent
952b4d848f
commit
c10d15cc3a
17
tools/unit-test-app/partition_table_unit_test_app_2m.csv
Normal file
17
tools/unit-test-app/partition_table_unit_test_app_2m.csv
Normal file
@ -0,0 +1,17 @@
|
||||
# Special partition table for unit test app
|
||||
#
|
||||
# Name, Type, SubType, Offset, Size, Flags
|
||||
# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlap
|
||||
nvs, data, nvs, 0xb000, 0x5000
|
||||
otadata, data, ota, 0x10000, 0x2000
|
||||
phy_init, data, phy, 0x12000, 0x1000
|
||||
factory, 0, 0, 0x20000, 0x160000
|
||||
# these OTA partitions are used for tests, but can't fit real OTA apps in them
|
||||
# (done this way to reduce total flash usage.)
|
||||
ota_0, 0, ota_0, , 64K
|
||||
ota_1, 0, ota_1, , 64K
|
||||
# flash_test partition used for SPI flash tests, WL FAT tests, and SPIFFS tests
|
||||
flash_test, data, fat, , 320K
|
||||
nvs_key, data, nvs_keys, , 0x1000, encrypted
|
||||
|
||||
# Note: occupied 1.85MB in the 2MB flash
|
|
4
tools/unit-test-app/sdkconfig.defaults.esp8684
Normal file
4
tools/unit-test-app/sdkconfig.defaults.esp8684
Normal file
@ -0,0 +1,4 @@
|
||||
CONFIG_ESP_SYSTEM_MEMPROT_FEATURE=n
|
||||
CONFIG_ESPTOOLPY_FLASHSIZE_2MB=y
|
||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partition_table_unit_test_app_2m.csv"
|
||||
CONFIG_PARTITION_TABLE_FILENAME="partition_table_unit_test_app_2m.csv"
|
Loading…
x
Reference in New Issue
Block a user