diff options
4 files changed, 9 insertions, 7 deletions
diff --git a/bsp/stm32/stm32f072-st-nucleo/applications/arduino/SConscript b/bsp/stm32/stm32f072-st-nucleo/applications/arduino/SConscript index cce015c7ea..beb0cb7a7c 100644 --- a/bsp/stm32/stm32f072-st-nucleo/applications/arduino/SConscript +++ b/bsp/stm32/stm32f072-st-nucleo/applications/arduino/SConscript @@ -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') diff --git a/bsp/stm32/stm32f072-st-nucleo/board/Kconfig b/bsp/stm32/stm32f072-st-nucleo/board/Kconfig index 8f8fe8b8c7..f61b56243f 100644 --- a/bsp/stm32/stm32f072-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32f072-st-nucleo/board/Kconfig @@ -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 diff --git a/bsp/stm32/stm32l475-atk-pandora/applications/arduino/SConscript b/bsp/stm32/stm32l475-atk-pandora/applications/arduino/SConscript index cce015c7ea..beb0cb7a7c 100644 --- a/bsp/stm32/stm32l475-atk-pandora/applications/arduino/SConscript +++ b/bsp/stm32/stm32l475-atk-pandora/applications/arduino/SConscript @@ -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') diff --git a/bsp/stm32/stm32l475-atk-pandora/board/Kconfig b/bsp/stm32/stm32l475-atk-pandora/board/Kconfig index 9bde85c5e5..441718cbc4 100644 --- a/bsp/stm32/stm32l475-atk-pandora/board/Kconfig +++ b/bsp/stm32/stm32l475-atk-pandora/board/Kconfig @@ -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 |
