Skip to content

Commit

Permalink
samples: esp32: do not search for all regions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
sylvioalves authored and henrikbrixandersen committed Feb 19, 2024
1 parent 28555ae commit 5b4c927
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.

This file was deleted.

1 change: 1 addition & 0 deletions samples/boards/esp32/spiram_test/prj.conf
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5b4c927

Please sign in to comment.