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

This commit is contained in:
Hu Rui
2026-04-01 15:57:19 +08:00
parent 14a34187b8
commit de40896138
3 changed files with 7 additions and 4 deletions
@@ -33,5 +33,5 @@ if(CONFIG_PM_POWER_DOWN_CPU_IN_LIGHT_SLEEP AND CONFIG_IEEE802154_ENABLED)
endif()
idf_component_register(SRCS ${srcs}
PRIV_REQUIRES unity driver test_utils ieee802154
PRIV_REQUIRES unity driver test_utils ieee802154 esp_psram
WHOLE_ARCHIVE)
@@ -0,0 +1,3 @@
CONFIG_SPIRAM=y
CONFIG_SPIRAM_SPEED_80M=y
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=0