[stm32 pandora][arduino] 增加依赖项 (#5709)
This commit is contained in:
parent
ba6f78bd8e
commit
db04395d76
|
@ -4,6 +4,6 @@ cwd = GetCurrentDir()
|
|||
src = Glob('*.c') + Glob('*.cpp')
|
||||
inc = [cwd]
|
||||
|
||||
group = DefineGroup('Arduino', src, depend = ['RT_USING_ARDUINO'], CPPPATH = inc)
|
||||
group = DefineGroup('Arduino', src, depend = ['PKG_USING_RTDUINO'], CPPPATH = inc)
|
||||
|
||||
Return('group')
|
||||
|
|
|
@ -16,8 +16,8 @@ menu "Onboard Peripheral Drivers"
|
|||
|
||||
config BSP_USING_ARDUINO
|
||||
bool "Support Arduino"
|
||||
select RT_USING_ARDUINO
|
||||
select ARDUINO_USING_SERVO
|
||||
select PKG_USING_RTDUINO
|
||||
select RTDUINO_USING_SERVO
|
||||
select RT_USING_PIN
|
||||
select BSP_USING_ADC
|
||||
select BSP_USING_ADC1
|
||||
|
|
|
@ -4,6 +4,6 @@ cwd = GetCurrentDir()
|
|||
src = Glob('*.c') + Glob('*.cpp')
|
||||
inc = [cwd]
|
||||
|
||||
group = DefineGroup('Arduino', src, depend = ['RT_USING_ARDUINO'], CPPPATH = inc)
|
||||
group = DefineGroup('Arduino', src, depend = ['PKG_USING_RTDUINO'], CPPPATH = inc)
|
||||
|
||||
Return('group')
|
||||
|
|
|
@ -21,9 +21,11 @@ menu "Onboard Peripheral Drivers"
|
|||
|
||||
config BSP_USING_ARDUINO
|
||||
bool "Support Arduino"
|
||||
select RT_USING_ARDUINO
|
||||
select ARDUINO_USING_SERVO
|
||||
select ARDUINO_USING_WIRE
|
||||
select PKG_USING_RTDUINO
|
||||
select RTDUINO_USING_SERVO
|
||||
select RTDUINO_USING_WIRE
|
||||
select RTDUINO_USING_ADAFRUIT
|
||||
select RTDUINO_USING_USBSERIAL
|
||||
select BSP_USING_PWM
|
||||
select BSP_USING_PWM1
|
||||
select BSP_USING_PWM1_CH1
|
||||
|
|
Loading…
Reference in New Issue