Commit 5b4c927c authored by Sylvio Alves's avatar Sylvio Alves Committed by Henrik Brix Andersen
Browse files

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: default avatarSylvio Alves <sylvio.alves@espressif.com>
parent 28555ae9
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
CONFIG_ESP_HEAP_MEM_POOL_REGION_1_SIZE=100000
CONFIG_ESP_HEAP_SEARCH_ALL_REGIONS=n
+1 −0
Original line number Diff line number Diff line
CONFIG_ESP_SPIRAM=y
CONFIG_ESP_HEAP_MIN_EXTRAM_THRESHOLD=2048
CONFIG_HEAP_MEM_POOL_SIZE=98304
CONFIG_ESP_HEAP_SEARCH_ALL_REGIONS=n