-
Notifications
You must be signed in to change notification settings - Fork 3k
Support configuring stack size in RTOS-less build #6813
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
Comments
@SenRamakri @bulislaw Please review |
Hi @ccli8 you are right it doesn't make sense to have 2k stack and huge heap. We should be able to configure it with some sane default. We'll try to have a look into that soonish. |
On an barely related note, is there an official easy to build without RTOS? |
Right now we don't support it officially. We acknowledge it's a legitimate use case so we try not to break it, but we don't actively maintain it. We may revisit that for next major release. |
Any update? Besides, same as rtos-less main stack size, it is also needed to make rtos kernel stack size configurable. I meet stack overrun with them in Mbed Cloud. |
Internal Jira reference: https://jira.arm.com/browse/IOTCORE-261 |
Done with #8039 |
Description
mbed-os sha:
mbed-os-5.8.3
I am evaluating Mbed Cloud 1.3.1 on NUMAKER_PFM_M487/GCC_ARM. In mbed-bootloader, it is built with RTOS disabled. With stack size hard-coded to 0x800 in linker script file, I meet stack overflow on
printf()
call. For RTOS enabled, I can change main thread's stack size throughmbed_app.json
(MBED_CONF_APP_MAIN_STACK_SIZE
). But for RTOS disabled, it seems there's no way except modifying linker script file.The text was updated successfully, but these errors were encountered: