aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/stm32.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/STM32/stm32.h')
-rw-r--r--os/hal/platforms/STM32/stm32.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/os/hal/platforms/STM32/stm32.h b/os/hal/platforms/STM32/stm32.h
index bcb808300..a872a2a00 100644
--- a/os/hal/platforms/STM32/stm32.h
+++ b/os/hal/platforms/STM32/stm32.h
@@ -57,28 +57,13 @@
/* Resolving naming anomalies related to the STM32F1xx sub-family.*/
#define CAN1_TX_IRQn USB_HP_CAN1_TX_IRQn
#define CAN1_RX0_IRQn USB_LP_CAN1_RX0_IRQn
-#if defined(STM32F10X_XL)
-#define TIM1_UP_IRQn TIM1_UP_TIM16_IRQn
-#define TIM8_UP_IRQn TIM8_UP_TIM13_IRQn
-#elif defined(STM32F10X_LD_VL) || defined(STM32F10X_MD_VL) || \
- defined(STM32F10X_HD_VL)
-#define TIM1_UP_IRQn TIM1_UP_TIM16_IRQn
-#endif
#elif defined(STM32F2XX)
#include "stm32f2xx.h"
-/* Resolving naming anomalies related to the STM32F2xx sub-family.*/
-#define TIM1_UP_IRQn TIM1_UP_TIM10_IRQn
-#define TIM8_UP_IRQn TIM8_UP_TIM13_IRQn
-
#elif defined(STM32F4XX)
#include "stm32f4xx.h"
-/* Resolving naming anomalies related to the STM32F4xx sub-family.*/
-#define TIM1_UP_IRQn TIM1_UP_TIM10_IRQn
-#define TIM8_UP_IRQn TIM8_UP_TIM13_IRQn
-
#elif defined(STM32L1XX_MD)
#include "stm32l1xx.h"