test(pcnt): with malloc comes from PSRAM by default

This commit is contained in:
Chen Jichang
2025-06-11 15:13:13 +08:00
parent d345ac1a50
commit 2fb4c6771a
2 changed files with 4 additions and 1 deletions

View File

@ -13,5 +13,5 @@ endif()
# In order for the cases defined by `TEST_CASE` to be linked into the final elf, # In order for the cases defined by `TEST_CASE` to be linked into the final elf,
# the component can be registered as WHOLE_ARCHIVE # the component can be registered as WHOLE_ARCHIVE
idf_component_register(SRCS ${srcs} idf_component_register(SRCS ${srcs}
PRIV_REQUIRES unity esp_driver_pcnt esp_driver_gpio spi_flash PRIV_REQUIRES unity esp_driver_pcnt esp_driver_gpio spi_flash esp_psram
WHOLE_ARCHIVE) WHOLE_ARCHIVE)

View File

@ -0,0 +1,3 @@
CONFIG_SPIRAM=y
CONFIG_SPIRAM_MODE_HEX=y
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=0