Skip to content

Commit 5b4c927

Browse files
sylvioalveshenrikbrixandersen
authored andcommitted
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 <[email protected]>
1 parent 28555ae commit 5b4c927

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

samples/boards/esp32/spiram_test/boards/esp32_devkitc_wroom.conf

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
CONFIG_ESP_SPIRAM=y
22
CONFIG_ESP_HEAP_MIN_EXTRAM_THRESHOLD=2048
33
CONFIG_HEAP_MEM_POOL_SIZE=98304
4+
CONFIG_ESP_HEAP_SEARCH_ALL_REGIONS=n

0 commit comments

Comments
 (0)