-
Notifications
You must be signed in to change notification settings - Fork 3k
Greentea fails for GCC_ARM in TMPM066 #4901
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
@0xc0170 do we have any 16k boards passing our testing? |
KL25Z has the same flash/ram sizes (not now plugged in CI though but it is released for mbed OS 5). NRF51 has even lower ram - 16k parts (16k - softdevice use) and it's passing. The tested nrf51dk has around 20k of RAM. We can look at those and analyze |
Closing since fix looks to be merged in and issue inactivity. |
Description
Bug
Target
Toshiba TMPM066
Toolchain:
GCC_ARM
Expected behavior
Greentea testsuites (features-tests-filesystem-mbr_block_device & tests-mbedmicro-rtos-mbed-threads) should pass without change in main stack
Actual behavior
Greentea testsuites (features-tests-filesystem-mbr_block_device & tests-mbedmicro-rtos-mbed-threads) fails due to not enough memory (Operator new[] out of memory).
Steps to reproduce
Details
Not enough memory is the message from the log - "Operator new[] out of memory" - Line numbers 191 & 289 from the attached log "M066_GCC_ARM_GreenTea_MainStack_4K.txt". Did not face this memory issue with ARM and IAR.
M066 Memory : RAM - 16K and Flash - 128K.
If main stack memory is reduced to 2K for GCC_ARM in mbed_rtx.h, then Greentea tests are passed (16af199).
Attached below the GCC_ARM logs with 4K and 2K main stack size.
M066_GCC_ARM_GreenTea_MainStack_4K.txt
M066_GCC_ARM_GreenTea_MainStack_2K.txt
Related Discussion are in #4840
The text was updated successfully, but these errors were encountered: