From 43011f1886d70446f3f48f79cb99be2a07b6d33f Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 21 Jun 2012 16:25:11 +0000 Subject: STM32 support enhancements, some other fixes. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4313 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F4xx/stm32_isr.h | 81 ++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 os/hal/platforms/STM32F4xx/stm32_isr.h (limited to 'os/hal/platforms/STM32F4xx/stm32_isr.h') diff --git a/os/hal/platforms/STM32F4xx/stm32_isr.h b/os/hal/platforms/STM32F4xx/stm32_isr.h new file mode 100644 index 000000000..b5b560a98 --- /dev/null +++ b/os/hal/platforms/STM32F4xx/stm32_isr.h @@ -0,0 +1,81 @@ +/* + ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, + 2011,2012 Giovanni Di Sirio. + + This file is part of ChibiOS/RT. + + ChibiOS/RT is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + ChibiOS/RT is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + +/** + * @file STM3F4xx/stm32_isr.h + * @brief ISR remapper driver header. + * + * @addtogroup STM32F4xx_ISR + * @{ + */ + +#ifndef _STM32_ISR_H_ +#define _STM32_ISR_H_ + +/*===========================================================================*/ +/* Driver constants. */ +/*===========================================================================*/ + +/** + * @name ISR names and numbers remapping + * @{ + */ +#define STM32_TIM1_UP_HANDLER TIM1_UP_IRQHandler +#define STM32_TIM1_CC_HANDLER TIM1_CC_IRQHandler +#define STM32_TIM2_HANDLER TIM2_IRQHandler +#define STM32_TIM3_HANDLER TIM3_IRQHandler +#define STM32_TIM4_HANDLER TIM4_IRQHandler +#define STM32_TIM5_HANDLER TIM5_IRQHandler +#define STM32_TIM8_UP_HANDLER TIM8_UP_IRQHandler +#define STM32_TIM8_CC_HANDLER TIM8_CC_IRQHandler + +#define STM32_TIM1_UP_NUMBER TIM1_UP_TIM10_IRQn +#define STM32_TIM1_CC_NUMBER TIM1_CC_IRQn +#define STM32_TIM2_NUMBER TIM2_IRQn +#define STM32_TIM3_NUMBER TIM3_IRQn +#define STM32_TIM4_NUMBER TIM4_IRQn +#define STM32_TIM5_NUMBER TIM5_IRQn +#define STM32_TIM8_UP_NUMBER TIM8_UP_TIM13_IRQn +#define STM32_TIM8_CC_NUMBER TIM8_CC_IRQn +/** @} */ + +/*===========================================================================*/ +/* Driver pre-compile time settings. */ +/*===========================================================================*/ + +/*===========================================================================*/ +/* Derived constants and error checks. */ +/*===========================================================================*/ + +/*===========================================================================*/ +/* Driver data structures and types. */ +/*===========================================================================*/ + +/*===========================================================================*/ +/* Driver macros. */ +/*===========================================================================*/ + +/*===========================================================================*/ +/* External declarations. */ +/*===========================================================================*/ + +#endif /* _STM32_ISR_H_ */ + +/** @} */ -- cgit v1.2.3 From 11907c39a829e1ecef33da09974028349af683f2 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 21 Jun 2012 17:39:26 +0000 Subject: STM32 CAN driver adapted to the new ISR names. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4320 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F4xx/stm32_isr.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'os/hal/platforms/STM32F4xx/stm32_isr.h') diff --git a/os/hal/platforms/STM32F4xx/stm32_isr.h b/os/hal/platforms/STM32F4xx/stm32_isr.h index b5b560a98..2dd6a0eab 100644 --- a/os/hal/platforms/STM32F4xx/stm32_isr.h +++ b/os/hal/platforms/STM32F4xx/stm32_isr.h @@ -37,6 +37,30 @@ * @name ISR names and numbers remapping * @{ */ +/* + * CAN units. + */ +#define STM32_CAN1_TX_HANDLER CAN1_TX_IRQHandler +#define STM32_CAN1_RX0_HANDLER CAN1_RX0_IRQHandler +#define STM32_CAN1_RX1_HANDLER CAN1_RX1_IRQHandler +#define STM32_CAN1_SCE_HANDLER CAN1_SCE_IRQHandler +#define STM32_CAN2_TX_HANDLER CAN2_TX_IRQHandler +#define STM32_CAN2_RX0_HANDLER CAN2_RX0_IRQHandler +#define STM32_CAN2_RX1_HANDLER CAN2_RX1_IRQHandler +#define STM32_CAN2_SCE_HANDLER CAN2_SCE_IRQHandler + +#define STM32_CAN1_TX_NUMBER USB_HP_CAN1_TX_IRQn +#define STM32_CAN1_RX0_NUMBER USB_LP_CAN1_RX0_IRQn +#define STM32_CAN1_RX1_NUMBER CAN1_RX1_IRQn +#define STM32_CAN1_SCE_NUMBER CAN2_SCE_IRQn +#define STM32_CAN2_TX_NUMBER CAN2_TX_IRQn +#define STM32_CAN2_RX0_NUMBER CAN2_RX0_IRQn +#define STM32_CAN2_RX1_NUMBER CAN2_RX1_IRQn +#define STM32_CAN2_SCE_NUMBER CAN2_SCE_IRQn + +/* + * TIM units. + */ #define STM32_TIM1_UP_HANDLER TIM1_UP_IRQHandler #define STM32_TIM1_CC_HANDLER TIM1_CC_IRQHandler #define STM32_TIM2_HANDLER TIM2_IRQHandler -- cgit v1.2.3 From 175612822f76d4e0d8b8ab354678e9767ec40214 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 24 Jun 2012 06:04:16 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4339 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F4xx/stm32_isr.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'os/hal/platforms/STM32F4xx/stm32_isr.h') diff --git a/os/hal/platforms/STM32F4xx/stm32_isr.h b/os/hal/platforms/STM32F4xx/stm32_isr.h index 2dd6a0eab..1ef23a5eb 100644 --- a/os/hal/platforms/STM32F4xx/stm32_isr.h +++ b/os/hal/platforms/STM32F4xx/stm32_isr.h @@ -78,6 +78,23 @@ #define STM32_TIM5_NUMBER TIM5_IRQn #define STM32_TIM8_UP_NUMBER TIM8_UP_TIM13_IRQn #define STM32_TIM8_CC_NUMBER TIM8_CC_IRQn + +/* + * USART units. + */ +#define STM32_USART1_HANDLER USART1_IRQHandler +#define STM32_USART2_HANDLER USART2_IRQHandler +#define STM32_USART3_HANDLER USART3_IRQHandler +#define STM32_UART4_HANDLER UART4_IRQHandler +#define STM32_UART5_HANDLER UART5_IRQHandler +#define STM32_USART6_HANDLER USART6_IRQHandler + +#define STM32_USART1_NUMBER USART1_IRQn +#define STM32_USART2_NUMBER USART2_IRQn +#define STM32_USART3_NUMBER USART3_IRQn +#define STM32_UART4_NUMBER UART4_IRQn +#define STM32_UART5_NUMBER UART5_IRQn +#define STM32_USART6_NUMBER USART6_IRQn /** @} */ /*===========================================================================*/ -- cgit v1.2.3 From 6d51da4e5030107bb5a608a31c48e79ed92891ab Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 24 Jun 2012 06:33:02 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4340 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F4xx/stm32_isr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/hal/platforms/STM32F4xx/stm32_isr.h') diff --git a/os/hal/platforms/STM32F4xx/stm32_isr.h b/os/hal/platforms/STM32F4xx/stm32_isr.h index 1ef23a5eb..f0b1ad14c 100644 --- a/os/hal/platforms/STM32F4xx/stm32_isr.h +++ b/os/hal/platforms/STM32F4xx/stm32_isr.h @@ -49,8 +49,8 @@ #define STM32_CAN2_RX1_HANDLER CAN2_RX1_IRQHandler #define STM32_CAN2_SCE_HANDLER CAN2_SCE_IRQHandler -#define STM32_CAN1_TX_NUMBER USB_HP_CAN1_TX_IRQn -#define STM32_CAN1_RX0_NUMBER USB_LP_CAN1_RX0_IRQn +#define STM32_CAN1_TX_NUMBER CAN1_TX_IRQn +#define STM32_CAN1_RX0_NUMBER CAN1_RX0_IRQn #define STM32_CAN1_RX1_NUMBER CAN1_RX1_IRQn #define STM32_CAN1_SCE_NUMBER CAN2_SCE_IRQn #define STM32_CAN2_TX_NUMBER CAN2_TX_IRQn -- cgit v1.2.3 From 30400ff28785c156264fb97069b127e8dbfb7491 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 24 Jun 2012 07:25:22 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4342 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F4xx/stm32_isr.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'os/hal/platforms/STM32F4xx/stm32_isr.h') diff --git a/os/hal/platforms/STM32F4xx/stm32_isr.h b/os/hal/platforms/STM32F4xx/stm32_isr.h index f0b1ad14c..23f9fc19d 100644 --- a/os/hal/platforms/STM32F4xx/stm32_isr.h +++ b/os/hal/platforms/STM32F4xx/stm32_isr.h @@ -58,6 +58,12 @@ #define STM32_CAN2_RX1_NUMBER CAN2_RX1_IRQn #define STM32_CAN2_SCE_NUMBER CAN2_SCE_IRQn +/* + * SDIO unit. + */ +#define STM32_SDIO_HANDLER SDIO_IRQHandler +#define STM32_SDIO_NUMBER SDIO_IRQn + /* * TIM units. */ -- cgit v1.2.3 From ca6ab337feffdc0d6fddc492a91e55ebf197d4f5 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 24 Jun 2012 07:41:07 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4343 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F4xx/stm32_isr.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'os/hal/platforms/STM32F4xx/stm32_isr.h') diff --git a/os/hal/platforms/STM32F4xx/stm32_isr.h b/os/hal/platforms/STM32F4xx/stm32_isr.h index 23f9fc19d..383660551 100644 --- a/os/hal/platforms/STM32F4xx/stm32_isr.h +++ b/os/hal/platforms/STM32F4xx/stm32_isr.h @@ -58,10 +58,20 @@ #define STM32_CAN2_RX1_NUMBER CAN2_RX1_IRQn #define STM32_CAN2_SCE_NUMBER CAN2_SCE_IRQn +/* + * OTG units. + */ +#define STM32_OTG1_HANDLER OTG_FS_IRQHandler +#define STM32_OTG2_HANDLER OTG_HS_IRQHandler + +#define STM32_OTG1_NUMBER OTG_FS_IRQn +#define STM32_OTG2_NUMBER OTG_HS_IRQn + /* * SDIO unit. */ #define STM32_SDIO_HANDLER SDIO_IRQHandler + #define STM32_SDIO_NUMBER SDIO_IRQn /* -- cgit v1.2.3 From 45ae30f505f5d81c50dab612ed9ecf6efd7b82e5 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 19 Aug 2012 12:22:32 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4586 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F4xx/stm32_isr.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'os/hal/platforms/STM32F4xx/stm32_isr.h') diff --git a/os/hal/platforms/STM32F4xx/stm32_isr.h b/os/hal/platforms/STM32F4xx/stm32_isr.h index 383660551..2128cf668 100644 --- a/os/hal/platforms/STM32F4xx/stm32_isr.h +++ b/os/hal/platforms/STM32F4xx/stm32_isr.h @@ -61,11 +61,15 @@ /* * OTG units. */ -#define STM32_OTG1_HANDLER OTG_FS_IRQHandler -#define STM32_OTG2_HANDLER OTG_HS_IRQHandler +#define STM32_OTG1_HANDLER Vector14C +#define STM32_OTG2_HANDLER Vector174 +#define STM32_OTG2_EP1OUT_HANDLER Vector168 +#define STM32_OTG2_EP1IN_HANDLER Vector16C #define STM32_OTG1_NUMBER OTG_FS_IRQn #define STM32_OTG2_NUMBER OTG_HS_IRQn +#define STM32_OTG2_EP1OUT_NUMBER OTG_HS_EP1_OUT_IRQn +#define STM32_OTG2_EP1IN_NUMBER OTG_HS_EP1_IN_IRQn /* * SDIO unit. -- cgit v1.2.3 From 518fd1d0c7545ff362be8b4051d455a4e1937712 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 9 Sep 2012 07:36:08 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4643 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F4xx/stm32_isr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os/hal/platforms/STM32F4xx/stm32_isr.h') diff --git a/os/hal/platforms/STM32F4xx/stm32_isr.h b/os/hal/platforms/STM32F4xx/stm32_isr.h index 2128cf668..9a8fa4b25 100644 --- a/os/hal/platforms/STM32F4xx/stm32_isr.h +++ b/os/hal/platforms/STM32F4xx/stm32_isr.h @@ -19,7 +19,7 @@ */ /** - * @file STM3F4xx/stm32_isr.h + * @file STM32F4xx/stm32_isr.h * @brief ISR remapper driver header. * * @addtogroup STM32F4xx_ISR -- cgit v1.2.3 From 18278d42968070d60923d65fda4afca0d0570fc5 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 3 Nov 2012 09:47:00 +0000 Subject: Fixed bug 3581571. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4795 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F4xx/stm32_isr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os/hal/platforms/STM32F4xx/stm32_isr.h') diff --git a/os/hal/platforms/STM32F4xx/stm32_isr.h b/os/hal/platforms/STM32F4xx/stm32_isr.h index 9a8fa4b25..d0bc7611b 100644 --- a/os/hal/platforms/STM32F4xx/stm32_isr.h +++ b/os/hal/platforms/STM32F4xx/stm32_isr.h @@ -52,7 +52,7 @@ #define STM32_CAN1_TX_NUMBER CAN1_TX_IRQn #define STM32_CAN1_RX0_NUMBER CAN1_RX0_IRQn #define STM32_CAN1_RX1_NUMBER CAN1_RX1_IRQn -#define STM32_CAN1_SCE_NUMBER CAN2_SCE_IRQn +#define STM32_CAN1_SCE_NUMBER CAN1_SCE_IRQn #define STM32_CAN2_TX_NUMBER CAN2_TX_IRQn #define STM32_CAN2_RX0_NUMBER CAN2_RX0_IRQn #define STM32_CAN2_RX1_NUMBER CAN2_RX1_IRQn -- cgit v1.2.3 From 184a71345c6a36a9a8664eda8fbcc3ea728267a8 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 2 Feb 2013 10:58:09 +0000 Subject: Updated license years. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5102 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F4xx/stm32_isr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os/hal/platforms/STM32F4xx/stm32_isr.h') diff --git a/os/hal/platforms/STM32F4xx/stm32_isr.h b/os/hal/platforms/STM32F4xx/stm32_isr.h index d0bc7611b..8850ba94c 100644 --- a/os/hal/platforms/STM32F4xx/stm32_isr.h +++ b/os/hal/platforms/STM32F4xx/stm32_isr.h @@ -1,6 +1,6 @@ /* ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, - 2011,2012 Giovanni Di Sirio. + 2011,2012,2013 Giovanni Di Sirio. This file is part of ChibiOS/RT. -- cgit v1.2.3 From 853216256ad4cdacf5f94edb7d6b738c6be165a1 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 30 Mar 2013 10:32:37 +0000 Subject: Relicensing parts of the tree under the Apache 2.0 license. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5521 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F4xx/stm32_isr.h | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) (limited to 'os/hal/platforms/STM32F4xx/stm32_isr.h') diff --git a/os/hal/platforms/STM32F4xx/stm32_isr.h b/os/hal/platforms/STM32F4xx/stm32_isr.h index 8850ba94c..66095c218 100644 --- a/os/hal/platforms/STM32F4xx/stm32_isr.h +++ b/os/hal/platforms/STM32F4xx/stm32_isr.h @@ -1,21 +1,17 @@ /* - ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, - 2011,2012,2013 Giovanni Di Sirio. + ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio - This file is part of ChibiOS/RT. + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at - ChibiOS/RT is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. + http://www.apache.org/licenses/LICENSE-2.0 - ChibiOS/RT is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. */ /** -- cgit v1.2.3 From 85513252eea3357ce2efe177a10fc548d03669a2 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 6 Apr 2013 17:40:11 +0000 Subject: Added support for timer 9 to the STM32 PWM driver. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5550 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F4xx/stm32_isr.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'os/hal/platforms/STM32F4xx/stm32_isr.h') diff --git a/os/hal/platforms/STM32F4xx/stm32_isr.h b/os/hal/platforms/STM32F4xx/stm32_isr.h index 66095c218..2f3664f61 100644 --- a/os/hal/platforms/STM32F4xx/stm32_isr.h +++ b/os/hal/platforms/STM32F4xx/stm32_isr.h @@ -85,6 +85,7 @@ #define STM32_TIM5_HANDLER TIM5_IRQHandler #define STM32_TIM8_UP_HANDLER TIM8_UP_IRQHandler #define STM32_TIM8_CC_HANDLER TIM8_CC_IRQHandler +#define STM32_TIM9_HANDLER TIM9_IRQHandler #define STM32_TIM1_UP_NUMBER TIM1_UP_TIM10_IRQn #define STM32_TIM1_CC_NUMBER TIM1_CC_IRQn @@ -94,6 +95,7 @@ #define STM32_TIM5_NUMBER TIM5_IRQn #define STM32_TIM8_UP_NUMBER TIM8_UP_TIM13_IRQn #define STM32_TIM8_CC_NUMBER TIM8_CC_IRQn +#define STM32_TIM9_NUMBER TIM1_BRK_TIM9_IRQn /* * USART units. -- cgit v1.2.3 From 7cfab88550523fc375231131f3043d7fe82ebc29 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 6 Apr 2013 18:41:34 +0000 Subject: Added support for timers 6, 7, 9, 11, 12, 14 to the STM32 GPT driver. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5551 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F4xx/stm32_isr.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'os/hal/platforms/STM32F4xx/stm32_isr.h') diff --git a/os/hal/platforms/STM32F4xx/stm32_isr.h b/os/hal/platforms/STM32F4xx/stm32_isr.h index 2f3664f61..d501c7bcf 100644 --- a/os/hal/platforms/STM32F4xx/stm32_isr.h +++ b/os/hal/platforms/STM32F4xx/stm32_isr.h @@ -83,9 +83,14 @@ #define STM32_TIM3_HANDLER TIM3_IRQHandler #define STM32_TIM4_HANDLER TIM4_IRQHandler #define STM32_TIM5_HANDLER TIM5_IRQHandler +#define STM32_TIM6_HANDLER TIM6_IRQHandler +#define STM32_TIM7_HANDLER TIM7_IRQHandler #define STM32_TIM8_UP_HANDLER TIM8_UP_IRQHandler #define STM32_TIM8_CC_HANDLER TIM8_CC_IRQHandler -#define STM32_TIM9_HANDLER TIM9_IRQHandler +#define STM32_TIM9_HANDLER TIM1_BRK_IRQHandler +#define STM32_TIM11_HANDLER TIM1_TRG_COM_IRQHandler +#define STM32_TIM12_HANDLER TIM8_BRK_IRQHandler +#define STM32_TIM14_HANDLER TIM8_TRG_COM_IRQHandler #define STM32_TIM1_UP_NUMBER TIM1_UP_TIM10_IRQn #define STM32_TIM1_CC_NUMBER TIM1_CC_IRQn @@ -96,6 +101,9 @@ #define STM32_TIM8_UP_NUMBER TIM8_UP_TIM13_IRQn #define STM32_TIM8_CC_NUMBER TIM8_CC_IRQn #define STM32_TIM9_NUMBER TIM1_BRK_TIM9_IRQn +#define STM32_TIM11_NUMBER TIM1_TRG_COM_TIM11_IRQn +#define STM32_TIM12_NUMBER TIM8_BRK_TIM12_IRQn +#define STM32_TIM14_NUMBER TIM8_TRG_COM_TIM14_IRQn /* * USART units. -- cgit v1.2.3 From d76bd50dd41b64c763a4ab868a0575635bd0df23 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 11 May 2013 10:57:20 +0000 Subject: Added missing definitions. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5712 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F4xx/stm32_isr.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'os/hal/platforms/STM32F4xx/stm32_isr.h') diff --git a/os/hal/platforms/STM32F4xx/stm32_isr.h b/os/hal/platforms/STM32F4xx/stm32_isr.h index d501c7bcf..fc655165a 100644 --- a/os/hal/platforms/STM32F4xx/stm32_isr.h +++ b/os/hal/platforms/STM32F4xx/stm32_isr.h @@ -98,6 +98,8 @@ #define STM32_TIM3_NUMBER TIM3_IRQn #define STM32_TIM4_NUMBER TIM4_IRQn #define STM32_TIM5_NUMBER TIM5_IRQn +#define STM32_TIM6_NUMBER TIM6_IRQn +#define STM32_TIM7_NUMBER TIM7_IRQn #define STM32_TIM8_UP_NUMBER TIM8_UP_TIM13_IRQn #define STM32_TIM8_CC_NUMBER TIM8_CC_IRQn #define STM32_TIM9_NUMBER TIM1_BRK_TIM9_IRQn -- cgit v1.2.3