Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9f526fe

Browse files
committed
Moved EXTI2_IRQn definition for STM32F3xx
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parentcb4763f commit9f526fe

File tree

2 files changed

+4
-19
lines changed

2 files changed

+4
-19
lines changed

‎cores/arduino/stm32/interrupt.h‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
#include"stm32_def.h"
4444
#include"PinNames.h"
4545

46+
#if defined(STM32F3xx)
47+
#defineEXTI2_IRQn EXTI2_TSC_IRQn
48+
#endif
49+
4650
#ifdef __cplusplus
4751
#include<functional>
4852

‎cores/arduino/stm32/stm32_def.h‎

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -51,25 +51,6 @@
5151
#endif
5252

5353
// Here define some compatibility
54-
#ifdefSTM32F0xx
55-
56-
#elif defined(STM32F1xx)
57-
58-
#elif defined(STM32F2xx)
59-
60-
#elif defined(STM32F3xx)
61-
#defineEXTI2_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-
7354
#ifndefCAN1
7455
#defineCAN1 CAN
7556
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp