[stm32l475] 修正port/Arduino的宏定义
This commit is contained in:
parent
01a6563249
commit
d83bea2ba3
|
@ -15,10 +15,9 @@ menu "Onboard Peripheral Drivers"
|
|||
select BSP_USING_UART1
|
||||
default y
|
||||
|
||||
config BSP_USING_ARDUINO_UNO
|
||||
bool "Support Arduino UNO"
|
||||
config BSP_USING_ARDUINO
|
||||
bool "Support Arduino"
|
||||
select RT_USING_ARDUINO
|
||||
select RT_USING_ARDUINO_UNO_LAYOUT
|
||||
select BSP_USING_PWM
|
||||
select BSP_USING_PWM1
|
||||
select BSP_USING_PWM1_CH1
|
||||
|
|
|
@ -1,12 +1,9 @@
|
|||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = []
|
||||
src = ['arduino_layout.c']
|
||||
inc = [cwd]
|
||||
|
||||
if GetDepend('RT_USING_ARDUINO_UNO_LAYOUT'):
|
||||
src += ['arduino_layout.c']
|
||||
|
||||
group = DefineGroup('Arduino', src, depend = ['RT_USING_ARDUINO'], CPPPATH = inc)
|
||||
|
||||
Return('group')
|
||||
|
|
Loading…
Reference in New Issue