mirror of https://github.com/ARMmbed/mbed-os.git
INIT:GCC add call to HAL_Init
system_init, stops all on going timer. gcc _start , perform zero initialized. => HAL_Init must be done again also in GCC toolchainpull/3074/head
parent
b225a5ca97
commit
4a69072161
|
@ -31,8 +31,6 @@
|
|||
void mbed_sdk_init() {
|
||||
// Update the SystemCoreClock variable.
|
||||
SystemCoreClockUpdate();
|
||||
#if !defined(TOOLCHAIN_GCC_ARM)
|
||||
// Need to restart HAL driver after the RAM is initialized
|
||||
HAL_Init();
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -32,8 +32,6 @@ void mbed_sdk_init()
|
|||
{
|
||||
// Update the SystemCoreClock variable.
|
||||
SystemCoreClockUpdate();
|
||||
#if !defined(TOOLCHAIN_GCC_ARM)
|
||||
// Need to restart HAL driver after the RAM is initialized
|
||||
HAL_Init();
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -32,8 +32,6 @@ void mbed_sdk_init()
|
|||
{
|
||||
// Update the SystemCoreClock variable.
|
||||
SystemCoreClockUpdate();
|
||||
#if !defined(TOOLCHAIN_GCC_ARM)
|
||||
// Need to restart HAL driver after the RAM is initialized
|
||||
HAL_Init();
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -33,10 +33,8 @@ void mbed_sdk_init()
|
|||
{
|
||||
// Update the SystemCoreClock variable.
|
||||
SystemCoreClockUpdate();
|
||||
#if !defined(TOOLCHAIN_GCC_ARM)
|
||||
// Need to restart HAL driver after the RAM is initialized
|
||||
HAL_Init();
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -35,10 +35,8 @@ void mbed_sdk_init()
|
|||
{
|
||||
// Update the SystemCoreClock variable.
|
||||
SystemCoreClockUpdate();
|
||||
#if !defined(TOOLCHAIN_GCC_ARM)
|
||||
// Need to restart HAL driver after the RAM is initialized
|
||||
HAL_Init();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -32,8 +32,6 @@ void mbed_sdk_init()
|
|||
{
|
||||
// Update the SystemCoreClock variable.
|
||||
SystemCoreClockUpdate();
|
||||
#if !defined(TOOLCHAIN_GCC_ARM)
|
||||
// Need to restart HAL driver after the RAM is initialized
|
||||
HAL_Init();
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -35,10 +35,8 @@ void mbed_sdk_init()
|
|||
{
|
||||
// Update the SystemCoreClock variable.
|
||||
SystemCoreClockUpdate();
|
||||
#if !defined(TOOLCHAIN_GCC_ARM)
|
||||
// Need to restart HAL driver after the RAM is initialized
|
||||
HAL_Init();
|
||||
#endif
|
||||
|
||||
#if defined(TARGET_XDOT_L151CC)
|
||||
if (PWR->CSR & PWR_CSR_SBF) {
|
||||
|
|
|
@ -32,8 +32,6 @@ void mbed_sdk_init()
|
|||
{
|
||||
// Update the SystemCoreClock variable.
|
||||
SystemCoreClockUpdate();
|
||||
#if !defined(TOOLCHAIN_GCC_ARM)
|
||||
// Need to restart HAL driver after the RAM is initialized
|
||||
HAL_Init();
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue