Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

soc: espressif: minimal runtime heap size request #81780

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions soc/espressif/common/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ config ESP_HEAP_RUNTIME
ending at the last memory location that can be safely accessed (depending on a boot mode).
This is a memory pool used in runtime to create a new heap memory.

config ESP_HEAP_RUNTIME_MIN_SIZE
int
default 0
help
Ask for reserved space at the end of DRAM. Not having this minimal size could pottentionaly
lead to statically allocate all of available DRAM, not having enough for the subsystems
which depends on ESP_HEAP_RUNTIME (such as WiFi or BT).
Comment on lines +39 to +41
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Ask for reserved space at the end of DRAM. Not having this minimal size could pottentionaly
lead to statically allocate all of available DRAM, not having enough for the subsystems
which depends on ESP_HEAP_RUNTIME (such as WiFi or BT).
Ask for reserved space at the end of DRAM. Not having this minimal size could potentially
lead to statically allocating all of available DRAM, not having enough for the subsystems
which depends on ESP_HEAP_RUNTIME (such as WiFi or BT).


config ESP32_TIMER_TASK_STACK_SIZE
int "Stack size of the high resolution ESP Timer"
default 4096
Expand Down
Loading