summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorMan, Jianting (Meco) <[email protected]>2022-03-25 08:43:22 -0400
committerGitHub <[email protected]>2022-03-25 20:43:22 +0800
commitdb04395d7657a746a9453d60b1599473790ddfa9 (patch)
tree6866221616196a33345f100ba60a17cac56ecda4 /bsp
parentba6f78bd8efd7b0e162fea15cdcc101730f0e6db (diff)
[stm32 pandora][arduino] 增加依赖项 (#5709)
Diffstat (limited to 'bsp')
-rw-r--r--bsp/stm32/stm32f072-st-nucleo/applications/arduino/SConscript2
-rw-r--r--bsp/stm32/stm32f072-st-nucleo/board/Kconfig4
-rw-r--r--bsp/stm32/stm32l475-atk-pandora/applications/arduino/SConscript2
-rw-r--r--bsp/stm32/stm32l475-atk-pandora/board/Kconfig8
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