-
Notifications
You must be signed in to change notification settings - Fork 3k

Description
Description
Target:
Toshiba's TMPM3H6
TMPM3H6 Memory:
RAM - 16K and Flash - 128K
ToolChain:
GCC_ARM
Issue:
Following test cases failed on TMPM3H6 with GCC_ARM - failed for memory allocation on each case. ARM or IAR had passed with no error.
- features-tests-filesystem-buffered_block_device
- features-tests-filesystem-heap_block_device
- features-tests-filesystem-mbr_block_device
- features-tests-filesystem-util_block_device
- tests-mbedmicro-rtos-mbed-threads
Note: If main stack memory is reduced to 2K for GCC_ARM in mbed_rtx.h, then Greentea tests are passed.
Expected behavior
Above mentioned Greentea test cases should pass without change in main stack.
Actual behavior
Above mentioned Greentea test cases fails due to not enough memory (Operator new[] out of memory).
Steps to reproduce
-
Download master from https://github.com/ganesh-ramachandran/mbed-os (since Toshiba TMPM3H6 is yet to be merged)
-
Build command
mbed test -t GCC_ARM -m TMPM3H6 -v -n features-tests-filesystem-buffered_block_device,features-tests-filesystem-heap_block_device,features-tests-filesystem-mbr_block_device,features-tests-filesystem-util_block_device,tests-mbedmicro-rtos-mbed-threads
Logs
Attached below the GCC_ARM logs with 4K and 2K main stack size.
M3H6_GCC_ARM_GreenTea_MainStack_4K.txt
M3H6_GCC_ARM_GreenTea_MainStack_2K.txt
Related Issues
Related issues are in #7115 and #4901
Issue request type
[ ] Question
[ ] Enhancement
[X] Bug