File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ struct serial_s {
99
99
#endif /* STM32F091xC || STM32F098xx */
100
100
#endif /* STM32F0xx */
101
101
102
- #if defined(STM32G0xx )
102
+ #if defined(STM32G0xx ) && !defined( STM32G030xx ) && !defined( STM32G031xx ) && !defined( STM32G041xx )
103
103
#define USART3_IRQn USART3_4_LPUART1_IRQn
104
104
#define USART3_IRQHandler USART3_4_LPUART1_IRQHandler
105
105
#endif /* STM32G0xx */
@@ -118,7 +118,7 @@ struct serial_s {
118
118
#elif defined(STM32L0xx )
119
119
#define USART4_IRQn USART4_5_IRQn
120
120
#endif /* STM32F0xx */
121
- #if defined(STM32G0xx )
121
+ #if defined(STM32G0xx ) && !defined( STM32G030xx ) && !defined( STM32G031xx ) && !defined( STM32G041xx )
122
122
#define USART4_IRQn USART3_4_LPUART1_IRQn
123
123
#endif /* STM32G0xx */
124
124
@@ -160,7 +160,7 @@ struct serial_s {
160
160
#endif
161
161
#endif /* STM32F0xx */
162
162
163
- #if defined(STM32G0xx )
163
+ #if defined(STM32G0xx ) && !defined( STM32G030xx ) && !defined( STM32G031xx ) && !defined( STM32G041xx )
164
164
#if defined(LPUART1_BASE ) && !defined(LPUART1_IRQn )
165
165
#define LPUART1_IRQn USART3_4_LPUART1_IRQn
166
166
#endif
You can’t perform that action at this time.
0 commit comments