-
Notifications
You must be signed in to change notification settings - Fork 3k
On STM32F439xI IAR linker file decreased stack size and increased heap #7289
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
Conversation
@ARMmbed/team-ublox Please review cc @ARMmbed/team-st-mcd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are unifying ISR stack sizes to 1K across the boards (there are some exceptions Cortex A and NRF). Could you go straight to 1K please.
#7238 changes to stack sizes and tests |
Decreased stack size from 24kB to 1kB (stack is used on boot-up/interrupt handler). Increased heap size from 65kB to 89kB. Change is related to issue #7137 where UBLOX_EVK_ODIN_W2 runs out of heap on WLAN.
Changed stack size to 1K. |
why was the stack size earlier 24K? |
@mikaleppanen Could you please answer the question above so we could progress with the PR? |
@asifrizwanubx I do now know details. Looks like they were set to some default values based on memory size. |
is there any possiblity that this change will effect the behaviour of wifi drivers? I will test this PR with ublox internal tests and let you know if there is something wrong. |
@asifrizwanubx Ok, that sounds good. Change will affect ISR stack that is now 1K. |
@bulislaw Please review again, so this PR can proceed. Stack size have been changed as you requested. |
@mikaleppanen I have verifeid this and there is no bad impact on ublox internal test cases. |
@asifrizwanubx ok, thanks. |
One note, this settings affects also boards that are for mbed 2 - 1k stack is not enough there (this was also identified in 7238 and its being changed currently - the solution is to provide non rtos stack size bigger, see the Pr #7238 for more details). |
The unification still is in progress . We shall proceed with this one. @ARMmbed/team-st-mcd Please review (affecting also other targets). When I look at some F4 targets, they set |
LGTM |
@bulislaw Final approval? As requested this was set to 1K. I am afraid this is not sufficient for mbed 2 (this board is supported there). |
The unification PR is progressing, this should be good to go (1k stack defined for IAR there as well). /morph build |
Build : SUCCESSBuild number : 2679 Triggering tests/morph test |
Test : SUCCESSBuild number : 2417 |
Exporter Build : SUCCESSBuild number : 2316 |
On STM32F439xI IAR linker file decreased stack size and increased heap
Description
On STM32F439xI IAR linker file decreased stack size from 24kbytes to 1kbytes (stack is used on boot-up/interrupt handler). Increased heap size from 65kbytes to 89kbytes.
Change is related to issue #7137 where UBLOX_EVK_ODIN_W2 runs out of heap on WLAN.
Pull request type