mbed-os/targets/TARGET_STM/TARGET_STM32L0
Laurent MEUNIER fe9d3174bf INIT:GCC no rtos: Align pre-main initialization steps between TCs
Various toolchains supported in MBED don't follow the same initialization
steps. This can have impacts on platform behavior.

For STM32, it is needed to call the HAL_Init() _after_ the  RAM has been
initialized (sdata from flash / zero initialized data) and _before_ the C++
objects are being created, especially if those objects require support
of tickers for instance.

In GCC, this is easily done because SystemInit is called after the ram
initialisation, so HAL_Init does not need to called from mbed_sdk_init.
this is covered by the changes in mbed_overrides.c files.

This series should solve issue reported here:
STM32 (At least F401) breaks if Tickers are activated in a global object #2115
2016-10-04 14:55:20 -05:00
..
TARGET_DISCO_L053C8 restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
TARGET_NUCLEO_L011K4 restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
TARGET_NUCLEO_L031K6 restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
TARGET_NUCLEO_L053R8 restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
TARGET_NUCLEO_L073RZ restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
PeripheralPins.h restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
analogin_api.c restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
analogout_api.c restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
common_objects.h restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
device.h restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
gpio_api.c restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
gpio_irq_api.c restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
gpio_object.h restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
i2c_api.c restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
lp_ticker.c restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
mbed_overrides.c INIT:GCC no rtos: Align pre-main initialization steps between TCs 2016-10-04 14:55:20 -05:00
pinmap.c restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
port_api.c restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
pwmout_api.c restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
rtc_api.c restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
rtc_api_hal.h restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
serial_api.c restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
sleep.c restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
spi_api.c restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00
us_ticker.c restructure - Moved targets out to top level 2016-09-30 19:18:09 -05:00