Skip to content

Commit

Permalink
examples: zephyr: force esp32 wifi to use system heap
Browse files Browse the repository at this point in the history
Zephyr v4.0.0 introduced a separate heap for ESP32. This heap has
minimum size requirements that we cannot satisfy, so intead we disable
the heap and force everything onto the system heap.

Signed-off-by: Sam Friedman <sam@golioth.io>
  • Loading branch information
sam-golioth committed Nov 14, 2024
1 parent 795c052 commit 3c94b03
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/zephyr/common/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

if GOLIOTH_SAMPLE_COMMON

# Force ESP32 WiFi to use system heap
config ESP_HEAP_RUNTIME
default n

if DNS_RESOLVER

config DNS_SERVER_IP_ADDRESSES
Expand Down

0 comments on commit 3c94b03

Please sign in to comment.