diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-08-31 14:04:24 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-08-31 14:04:24 +0000 |
commit | 424f88606831bf8645716b9cfce831b468cfca75 (patch) | |
tree | a9ec0ecab43e2ca267176cdd35d77134be33c6aa /os/hal/ports/STM32/STM32L4xx/hal_lld.c | |
parent | f400137e6fb5992253f884faf59e39e831766b0e (diff) | |
download | ChibiOS-424f88606831bf8645716b9cfce831b468cfca75.tar.gz ChibiOS-424f88606831bf8645716b9cfce831b468cfca75.tar.bz2 ChibiOS-424f88606831bf8645716b9cfce831b468cfca75.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10514 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32L4xx/hal_lld.c')
-rw-r--r-- | os/hal/ports/STM32/STM32L4xx/hal_lld.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/STM32L4xx/hal_lld.c b/os/hal/ports/STM32/STM32L4xx/hal_lld.c index f02d2a3ba..d87f9b336 100644 --- a/os/hal/ports/STM32/STM32L4xx/hal_lld.c +++ b/os/hal/ports/STM32/STM32L4xx/hal_lld.c @@ -123,10 +123,14 @@ void hal_lld_init(void) { /* Initializes the backup domain.*/
hal_lld_backup_domain_init();
+ /* DMA subsystems initialization.*/
#if defined(STM32_DMA_REQUIRED)
dmaInit();
#endif
+ /* IRQ subsystem initialization.*/
+ irqInit();
+
/* Programmable voltage detector enable.*/
#if STM32_PVD_ENABLE
PWR->CR2 = PWR_CR2_PVDE | (STM32_PLS & STM32_PLS_MASK);
|