Skip to content

Commit 2fb4c67

Browse files
committed
test(pcnt): with malloc comes from PSRAM by default
1 parent d345ac1 commit 2fb4c67

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

components/esp_driver_pcnt/test_apps/pulse_cnt/main/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ endif()
1313
# In order for the cases defined by `TEST_CASE` to be linked into the final elf,
1414
# the component can be registered as WHOLE_ARCHIVE
1515
idf_component_register(SRCS ${srcs}
16-
PRIV_REQUIRES unity esp_driver_pcnt esp_driver_gpio spi_flash
16+
PRIV_REQUIRES unity esp_driver_pcnt esp_driver_gpio spi_flash esp_psram
1717
WHOLE_ARCHIVE)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CONFIG_SPIRAM=y
2+
CONFIG_SPIRAM_MODE_HEX=y
3+
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=0

0 commit comments

Comments
 (0)