diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-09-02 09:00:49 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-09-02 09:00:49 +0000 |
commit | 4c39135c94232e76011da8a055dd3eddd0031da2 (patch) | |
tree | ee76d10993619a10aa18a413f264c67ac935b1ba /os/hal/ports/STM32/STM32L1xx/hal_lld.c | |
parent | 0701f98135282457b20aef073b00e1f0cdda0c92 (diff) | |
download | ChibiOS-4c39135c94232e76011da8a055dd3eddd0031da2.tar.gz ChibiOS-4c39135c94232e76011da8a055dd3eddd0031da2.tar.bz2 ChibiOS-4c39135c94232e76011da8a055dd3eddd0031da2.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10525 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32L1xx/hal_lld.c')
-rw-r--r-- | os/hal/ports/STM32/STM32L1xx/hal_lld.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/STM32L1xx/hal_lld.c b/os/hal/ports/STM32/STM32L1xx/hal_lld.c index 2f5681d5e..78559a2b1 100644 --- a/os/hal/ports/STM32/STM32L1xx/hal_lld.c +++ b/os/hal/ports/STM32/STM32L1xx/hal_lld.c @@ -109,10 +109,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->CR |= PWR_CR_PVDE | (STM32_PLS & STM32_PLS_MASK);
|