Skip to content

Commit d83bea2

Browse files
committed
[stm32l475] 修正port/Arduino的宏定义
1 parent 01a6563 commit d83bea2

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

bsp/stm32/stm32l475-atk-pandora/board/Kconfig

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ menu "Onboard Peripheral Drivers"
1515
select BSP_USING_UART1
1616
default y
1717

18-
config BSP_USING_ARDUINO_UNO
19-
bool "Support Arduino UNO"
18+
config BSP_USING_ARDUINO
19+
bool "Support Arduino"
2020
select RT_USING_ARDUINO
21-
select RT_USING_ARDUINO_UNO_LAYOUT
2221
select BSP_USING_PWM
2322
select BSP_USING_PWM1
2423
select BSP_USING_PWM1_CH1
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
from building import *
22

33
cwd = GetCurrentDir()
4-
src = []
4+
src = ['arduino_layout.c']
55
inc = [cwd]
66

7-
if GetDepend('RT_USING_ARDUINO_UNO_LAYOUT'):
8-
src += ['arduino_layout.c']
9-
107
group = DefineGroup('Arduino', src, depend = ['RT_USING_ARDUINO'], CPPPATH = inc)
118

129
Return('group')

0 commit comments

Comments
 (0)