samples: esp32: do not search for all regions
Current SPIRAM sample code tries to search for any available heap, causing this test to fail. Make sure the sample code only malloc data from external ram. Fixes #65997 Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This commit is contained in:
parent
28555ae9f4
commit
5b4c927c50
|
@ -1,2 +0,0 @@
|
|||
CONFIG_ESP_HEAP_MEM_POOL_REGION_1_SIZE=100000
|
||||
CONFIG_ESP_HEAP_SEARCH_ALL_REGIONS=n
|
|
@ -1,3 +1,4 @@
|
|||
CONFIG_ESP_SPIRAM=y
|
||||
CONFIG_ESP_HEAP_MIN_EXTRAM_THRESHOLD=2048
|
||||
CONFIG_HEAP_MEM_POOL_SIZE=98304
|
||||
CONFIG_ESP_HEAP_SEARCH_ALL_REGIONS=n
|
||||
|
|
Loading…
Reference in a new issue