aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-02-14 10:17:05 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-02-14 10:17:05 +0000
commit61749d34be627dbc70da3c5b66226356b41288e6 (patch)
treeca96f5351acb1624b05fb3dd648d25944561837e
parentcb51bd404a326a278904e23eaa8ee310032a0e51 (diff)
downloadChibiOS-61749d34be627dbc70da3c5b66226356b41288e6.tar.gz
ChibiOS-61749d34be627dbc70da3c5b66226356b41288e6.tar.bz2
ChibiOS-61749d34be627dbc70da3c5b66226356b41288e6.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8889 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/ports/STM32/STM32L4xx/stm32_registry.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/STM32L4xx/stm32_registry.h b/os/hal/ports/STM32/STM32L4xx/stm32_registry.h
index 3ae0f7106..e99db4f14 100644
--- a/os/hal/ports/STM32/STM32L4xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32L4xx/stm32_registry.h
@@ -253,6 +253,8 @@
#define STM32_HAS_SPI6 FALSE
/* TIM attributes.*/
+#define STM32_TIM_MAX_CHANNELS 6
+
#define STM32_HAS_TIM1 TRUE
#define STM32_TIM1_IS_32BITS FALSE
#define STM32_TIM1_CHANNELS 4