diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-08-24 10:03:45 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-08-24 10:03:45 +0000 |
commit | d5ce517dc2cc86a9d30483ea42e1f0f803b126ac (patch) | |
tree | 68ac7ce628080a36bbd8fd17bfe2624d01bbb1d7 | |
parent | 04de7cb7eaba5b568971aa91b81e4b96ae105c86 (diff) | |
download | ChibiOS-d5ce517dc2cc86a9d30483ea42e1f0f803b126ac.tar.gz ChibiOS-d5ce517dc2cc86a9d30483ea42e1f0f803b126ac.tar.bz2 ChibiOS-d5ce517dc2cc86a9d30483ea42e1f0f803b126ac.zip |
Fixed bug #876.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10467 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/hal/ports/STM32/STM32L0xx/stm32_registry.h | 6 | ||||
-rw-r--r-- | readme.txt | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/STM32L0xx/stm32_registry.h b/os/hal/ports/STM32/STM32L0xx/stm32_registry.h index afda92a3b..c22bb2e85 100644 --- a/os/hal/ports/STM32/STM32L0xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32L0xx/stm32_registry.h @@ -170,6 +170,8 @@ #define STM32_HAS_SPI6 FALSE
/* TIM attributes.*/
+#define STM32_TIM_MAX_CHANNELS 4
+
#define STM32_HAS_TIM2 TRUE
#define STM32_TIM2_IS_32BITS FALSE
#define STM32_TIM2_CHANNELS 4
@@ -383,6 +385,8 @@ #define STM32_HAS_SPI6 FALSE
/* TIM attributes.*/
+#define STM32_TIM_MAX_CHANNELS 4
+
#define STM32_HAS_TIM2 TRUE
#define STM32_TIM2_IS_32BITS FALSE
#define STM32_TIM2_CHANNELS 4
@@ -619,6 +623,8 @@ #define STM32_HAS_SPI6 FALSE
/* TIM attributes.*/
+#define STM32_TIM_MAX_CHANNELS 4
+
#define STM32_HAS_TIM2 TRUE
#define STM32_TIM2_IS_32BITS FALSE
#define STM32_TIM2_CHANNELS 4
diff --git a/readme.txt b/readme.txt index f0f170369..2b82c8410 100644 --- a/readme.txt +++ b/readme.txt @@ -93,6 +93,8 @@ dependencies and configuration directories. This makes possible
to have multiple non-conflicting makefiles in the same project.
Updated the various platform.mk implementing "smart build" mode.
+- HAL: Fixed missing STM32_TIM_MAX_CHANNELS definition in STM32L0 registry
+ (bug #876)(backported to 17.6.1 and 16.1.9).
- HAL: Fixed STM32 OTGv1 driver fails on STM32L4 (bug #875)
(backported to 17.6.1 and 16.1.9).
- HAL: Fixed wrong I2S and SAI freq divisor (bug #874)
|