From 4ac54cfd602358a6776669a67a7045bd58dc74b5 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Mon, 23 May 2022 15:48:23 -0400 Subject: [PATCH] [arduino] suuport MsTimer2 library --- bsp/stm32/stm32f072-st-nucleo/board/Kconfig | 1 + bsp/stm32/stm32f401-st-nucleo/board/Kconfig | 3 ++- bsp/stm32/stm32l475-atk-pandora/board/Kconfig | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bsp/stm32/stm32f072-st-nucleo/board/Kconfig b/bsp/stm32/stm32f072-st-nucleo/board/Kconfig index bfe82a027a..11043796b0 100644 --- a/bsp/stm32/stm32f072-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32f072-st-nucleo/board/Kconfig @@ -39,6 +39,7 @@ menu "Onboard Peripheral Drivers" imply RTDUINO_USING_SERVO imply RTDUINO_USING_WIRE imply RTDUINO_USING_ADAFRUIT + imply RTDUINO_USING_MSTIMER2 default n endmenu diff --git a/bsp/stm32/stm32f401-st-nucleo/board/Kconfig b/bsp/stm32/stm32f401-st-nucleo/board/Kconfig index 01bf63c483..553e47e789 100644 --- a/bsp/stm32/stm32f401-st-nucleo/board/Kconfig +++ b/bsp/stm32/stm32f401-st-nucleo/board/Kconfig @@ -36,8 +36,9 @@ menu "Onboard Peripheral Drivers" select BSP_USING_SPI1 imply RTDUINO_USING_SERVO imply RTDUINO_USING_WIRE - imply RTDUINO_USING_ADAFRUIT imply RTDUINO_USING_SPI + imply RTDUINO_USING_ADAFRUIT + imply RTDUINO_USING_MSTIMER2 default n endmenu diff --git a/bsp/stm32/stm32l475-atk-pandora/board/Kconfig b/bsp/stm32/stm32l475-atk-pandora/board/Kconfig index 9f48e61ac6..9c65d51ce9 100644 --- a/bsp/stm32/stm32l475-atk-pandora/board/Kconfig +++ b/bsp/stm32/stm32l475-atk-pandora/board/Kconfig @@ -50,8 +50,9 @@ menu "Onboard Peripheral Drivers" imply BSP_SPI2_RX_USING_DMA imply RTDUINO_USING_SERVO imply RTDUINO_USING_WIRE - imply RTDUINO_USING_ADAFRUIT imply RTDUINO_USING_SPI + imply RTDUINO_USING_ADAFRUIT + imply RTDUINO_USING_MSTIMER2 default n config BSP_USING_KEY -- GitLab