[stm32 pandora][arduino] 增加依赖项 (#5709)

This commit is contained in:
Man, Jianting (Meco) 2022-03-25 08:43:22 -04:00 committed by GitHub
parent ba6f78bd8e
commit db04395d76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 7 deletions

View File

@ -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')

View File

@ -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

View File

@ -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')

View File

@ -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