Add entry for expat to test_app CMakeList

- Modify partition table to increase application size
- Update flash size to 4MB in sdkconfig.defaults
This commit is contained in:
Mahavir Jain 2022-01-13 16:57:56 +05:30
parent a7d99a2c21
commit baf88cf7d9
3 changed files with 12 additions and 2 deletions

View File

@ -2,9 +2,10 @@
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(EXTRA_COMPONENT_DIRS "../libsodium")
set(EXTRA_COMPONENT_DIRS ../libsodium ../expat)
# Set the components to include the tests for.
set(TEST_COMPONENTS libsodium CACHE STRING "List of components to test")
set(TEST_COMPONENTS libsodium expat CACHE STRING "List of components to test")
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(idf_extra_test_app)

5
test_app/partitions.csv Normal file
View File

@ -0,0 +1,5 @@
# 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, , 0x6000,
phy_init, data, phy, , 0x1000,
factory, app, factory, , 2M,
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 nvs, data, nvs, , 0x6000,
4 phy_init, data, phy, , 0x1000,
5 factory, app, factory, , 2M,

View File

@ -1,2 +1,6 @@
CONFIG_ESP_INT_WDT=n
CONFIG_ESP_TASK_WDT=n
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"