diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-08-12 14:59:41 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-08-12 14:59:41 +0000 |
commit | 11aa9fa5635fb6986b32b66e27fad3e097935cf0 (patch) | |
tree | 237d13299cae0f9af7473d443d1a218eb756640d | |
parent | e788251c8f9571b5a5c1c3733db9f1680ce4425c (diff) | |
download | ChibiOS-11aa9fa5635fb6986b32b66e27fad3e097935cf0.tar.gz ChibiOS-11aa9fa5635fb6986b32b66e27fad3e097935cf0.tar.bz2 ChibiOS-11aa9fa5635fb6986b32b66e27fad3e097935cf0.zip |
Fixed number of vectors for newer devices.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10408 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/common/startup/ARMCMx/devices/STM32F4xx/cmparams.h | 2 | ||||
-rw-r--r-- | os/hal/ports/STM32/STM32L0xx/stm32_registry.h | 2 | ||||
-rw-r--r-- | readme.txt | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/os/common/startup/ARMCMx/devices/STM32F4xx/cmparams.h b/os/common/startup/ARMCMx/devices/STM32F4xx/cmparams.h index bbe6e0312..c3ca65ecb 100644 --- a/os/common/startup/ARMCMx/devices/STM32F4xx/cmparams.h +++ b/os/common/startup/ARMCMx/devices/STM32F4xx/cmparams.h @@ -48,7 +48,7 @@ * @note This number does not include the 16 system vectors and must be
* rounded to a multiple of 8.
*/
-#define CORTEX_NUM_VECTORS 96
+#define CORTEX_NUM_VECTORS 104
/* The following code is not processed when the file is included from an
asm module.*/
diff --git a/os/hal/ports/STM32/STM32L0xx/stm32_registry.h b/os/hal/ports/STM32/STM32L0xx/stm32_registry.h index 27eff005c..afda92a3b 100644 --- a/os/hal/ports/STM32/STM32L0xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32L0xx/stm32_registry.h @@ -67,7 +67,7 @@ /* DMA attributes.*/
#define STM32_ADVANCED_DMA TRUE
#define STM32_DMA_SUPPORTS_CSELR TRUE
-#define STM32_DMA1_NUM_CHANNELS 7
+#define STM32_DMA1_NUM_CHANNELS 5
#define STM32_DMA2_NUM_CHANNELS 0
#define STM32_DMA1_CH1_HANDLER Vector64
#define STM32_DMA1_CH23_HANDLER Vector68
diff --git a/readme.txt b/readme.txt index c610c80d7..11488342e 100644 --- a/readme.txt +++ b/readme.txt @@ -92,7 +92,9 @@ - NEW: Added to the Makefiles the ability to change the default build,
dependencies and configuration directories. This makes possible
to have multiple non-conflicting makefiles in the same project.
- Updated the various platform.mk implementing "smard build" mode.
+ Updated the various platform.mk implementing "smart build" mode.
+- HAL: Fixed invalid number of DMA channels on STM32L011 (bug #872)
+ (backported to 17.6.1).
- HAL: Fixed STM32 USARTv2 serial incorrect buffer size declarations
(bug #871)(backported to 17.6.1).
- HAL: Fixed board file configuration for STM32F3 Discovery REVC (bug #869)
|