mbed-os/platform/source/TARGET_CORTEX_M
Evelyne Donnaes 3e3af70afc Fixed baremetal heap and stack initialisation.
Enabled heap_and_stack test for baremetal.
Added a test to check that global variables are initialised.

In mbed_sdk_boot:
- Added initialisation for mbed_stack_isr_start/size and mbed_heap_start/size for all toolchains.
- ARM toolchain:
   - Added call to mbed_toolchain_init() to initialise global variables.
   - Moved microlib initialisation code from mbed_retarget.cpp to mbed_sdk_boot.c.
- IAR toolchain: there is no equivalent to a software init hook that can be called. __low_level_init() was used but since this function is called before RAM initialisation, it cannot be used to initialize global variables. Defined a new __mbed_init() function called from IAR startup file instead.
2020-01-21 10:13:16 +00:00
..
TOOLCHAIN_ARM Fixes the bug of having &mbed_fault_context argument instead of mbed_fault_context in mbed_fault_handler. 2019-08-21 16:38:36 +09:00
TOOLCHAIN_GCC Fixes the bug of having &mbed_fault_context argument instead of mbed_fault_context in mbed_fault_handler. 2019-08-21 16:38:36 +09:00
TOOLCHAIN_IAR Fixed baremetal heap and stack initialisation. 2020-01-21 10:13:16 +00:00
mbed_fault_handler.c Avoid crashes during fault handler 2019-11-28 15:03:26 +02:00
mbed_fault_handler.h mbed fault handler: changed the 2nd parameter type. 2019-08-21 17:02:34 +08:00