arch/arm/soc/st_stm32/stm32l4/soc.c
/**
 * @brief Perform basic hardware initialization at boot.
 *
 * This needs to be run from the very beginning.
 * So the init priority has to be 0 (zero).
 *
 * @return 0
 */
@brief Perform basic hardware initialization at boot.
This needs to be run from the very beginning.
So the init priority has to be 0 (zero).

@return 0
@brief Perform basic hardware initialization at boot . This needs to be run from the very beginning . So the init priority has to be 0 ( zero ) . @return 0
static int stm32l4_init(struct device *arg)
{
	u32_t key;
	ARG_UNUSED(arg);
	key = irq_lock();
	_ClearFaults();
	NMI_INIT();
	irq_unlock(key);
	SystemCoreClock = 4000000;
	return 0;
}
static int stm32l4_init ( struct device * arg ) { u32_t key ; ARG_UNUSED ( arg ) ; key = irq_lock ( ) ; _ClearFaults ( ) ; NMI_INIT ( ) ; irq_unlock ( key ) ; SystemCoreClock = 4000000 ; return 0 ; }
@brief Perform basic hardware initialization at boot.
@brief Perform basic hardware initialization at boot .
/* Install default handler that simply resets the CPU
	 * if configured in the kernel, NOP otherwise
	 */ /* Update CMSIS SystemCoreClock variable (HCLK) */ /* At reset, System core clock is set to 4MHz */