We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3f4a48 commit 9513c8bCopy full SHA for 9513c8b
cores/arduino/stm32/interrupt.h
@@ -43,6 +43,10 @@
43
#include "stm32_def.h"
44
#include "PinNames.h"
45
46
+#if defined(STM32F3xx)
47
+#define EXTI2_IRQn EXTI2_TSC_IRQn
48
+#endif
49
+
50
#ifdef __cplusplus
51
#include <functional>
52
cores/arduino/stm32/stm32_def.h
@@ -51,25 +51,6 @@
#endif
53
// Here define some compatibility
54
-#ifdef STM32F0xx
55
-
56
-#elif defined(STM32F1xx)
57
58
-#elif defined(STM32F2xx)
59
60
-#elif defined(STM32F3xx)
61
-#define EXTI2_IRQn EXTI2_TSC_IRQn
62
-#elif defined(STM32F4xx)
63
64
-#elif defined(STM32F7xx)
65
66
-#elif defined(STM32L0xx)
67
68
-#elif defined(STM32L1xx)
69
70
-#elif defined(STM32L4xx)
71
-#endif
72
73
#ifndef CAN1
74
#define CAN1 CAN
75
0 commit comments