-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Fix libc heap size calculation for ESP32, use heap adapter #84331
Open
marekmatej
wants to merge
3
commits into
zephyrproject-rtos:main
Choose a base branch
from
marekmatej:bugfix/libc_malloc_arena_size
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Fix libc heap size calculation for ESP32, use heap adapter #84331
marekmatej
wants to merge
3
commits into
zephyrproject-rtos:main
from
marekmatej:bugfix/libc_malloc_arena_size
+53
−165
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zephyrbot
added
area: C Library
C Standard Library
size: XS
A PR changing only a single line of code
labels
Jan 21, 2025
zephyrbot
requested review from
aescolar,
cfriedt,
keith-packard,
nashif and
stephanosio
January 21, 2025 15:37
thedjnK
requested changes
Jan 21, 2025
marekmatej
force-pushed
the
bugfix/libc_malloc_arena_size
branch
from
January 22, 2025 23:14
3142fc0
to
853dbfe
Compare
zephyrbot
requested review from
LucasTambor,
raffarost,
sylvioalves,
uLipe and
wmrsouza
January 22, 2025 23:14
marekmatej
force-pushed
the
bugfix/libc_malloc_arena_size
branch
from
January 22, 2025 23:18
853dbfe
to
851f3ab
Compare
marekmatej
changed the title
libc: common: Kconfig
Fix system heap size calc for ESP32 and separate it from the ESP heap
Jan 22, 2025
wmrsouza
previously approved these changes
Jan 23, 2025
marekmatej
force-pushed
the
bugfix/libc_malloc_arena_size
branch
from
January 23, 2025 14:19
851f3ab
to
de5e46b
Compare
thedjnK
previously approved these changes
Jan 25, 2025
wmrsouza
previously approved these changes
Jan 26, 2025
sylvioalves
previously approved these changes
Jan 28, 2025
marekmatej
dismissed stale reviews from sylvioalves, wmrsouza, and thedjnK
via
January 29, 2025 13:33
9debbfd
marekmatej
force-pushed
the
bugfix/libc_malloc_arena_size
branch
from
January 29, 2025 13:33
de5e46b
to
9debbfd
Compare
sylvioalves
reviewed
Jan 29, 2025
marekmatej
force-pushed
the
bugfix/libc_malloc_arena_size
branch
from
January 29, 2025 14:15
9debbfd
to
745474a
Compare
marekmatej
force-pushed
the
bugfix/libc_malloc_arena_size
branch
2 times, most recently
from
January 29, 2025 23:09
df0d856
to
c148a1e
Compare
The following west manifest projects have changed revision in this Pull Request:
✅ All manifest checks OK Note: This message is automatically posted and updated by the Manifest GitHub Action. |
zephyrbot
added
manifest
manifest-hal_espressif
DNM
This PR should not be merged (Do Not Merge)
labels
Jan 29, 2025
marekmatej
force-pushed
the
bugfix/libc_malloc_arena_size
branch
from
January 29, 2025 23:26
c148a1e
to
b94ef47
Compare
marekmatej
changed the title
Fix system heap size calc for ESP32 and separate it from the ESP heap
Fix libc heap size calculation for ESP32, use heap adapter
Jan 29, 2025
marekmatej
force-pushed
the
bugfix/libc_malloc_arena_size
branch
5 times, most recently
from
January 30, 2025 16:47
f4e0e99
to
8d16387
Compare
Use proper hal version. Signed-off-by: Marek Matej <marek.matej@espressif.com>
Change the condition so that ESP32 SoCs are using `_heap_sentry` to get actual run-time heap size. Signed-off-by: Marek Matej <marek.matej@espressif.com>
marekmatej
force-pushed
the
bugfix/libc_malloc_arena_size
branch
from
January 31, 2025 13:26
8d16387
to
500adf2
Compare
@stephanosio can you PTAL |
Remove ESP heap from the sources. System heap is default heap. Use heap adapter layer to configure used heap. Use MEM_POOL memory request config to Wi-Fi and Bluetooth drivers. Signed-off-by: Marek Matej <marek.matej@espressif.com>
marekmatej
force-pushed
the
bugfix/libc_malloc_arena_size
branch
from
January 31, 2025 14:48
500adf2
to
e50546c
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: Bluetooth HCI
Bluetooth HCI Driver
area: Bluetooth
area: C Library
C Standard Library
area: Wi-Fi
Wi-Fi
manifest
manifest-hal_espressif
platform: ESP32
Espressif ESP32
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR: