From 33c1bfbc792a95a3f4f8cb69cb35f0da595a8f56 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Fri, 24 Dec 2021 02:55:13 -0500 Subject: [PATCH] =?UTF-8?q?[l475]=20=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/stm32/stm32l475-atk-pandora/applications/arduino/SConscript | 2 +- .../stm32l475-atk-pandora/applications/arduino/arduino_pinout.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bsp/stm32/stm32l475-atk-pandora/applications/arduino/SConscript b/bsp/stm32/stm32l475-atk-pandora/applications/arduino/SConscript index b3d32f3717..fa9026dc59 100644 --- a/bsp/stm32/stm32l475-atk-pandora/applications/arduino/SConscript +++ b/bsp/stm32/stm32l475-atk-pandora/applications/arduino/SConscript @@ -7,6 +7,6 @@ inc = [cwd] group = DefineGroup('Arduino', src, depend = ['RT_USING_ARDUINO'], CPPPATH = inc) src = ['arduino_main.cpp'] -group = DefineGroup('Applications', src, depend = ['RT_USING_ARDUINO']) +group += DefineGroup('Applications', src, depend = ['RT_USING_ARDUINO']) Return('group') diff --git a/bsp/stm32/stm32l475-atk-pandora/applications/arduino/arduino_pinout.h b/bsp/stm32/stm32l475-atk-pandora/applications/arduino/arduino_pinout.h index e3b7b8a47a..1ec160b9d7 100644 --- a/bsp/stm32/stm32l475-atk-pandora/applications/arduino/arduino_pinout.h +++ b/bsp/stm32/stm32l475-atk-pandora/applications/arduino/arduino_pinout.h @@ -15,7 +15,7 @@ #define ARDUINO_PWM_HZ 500 /* Arduino UNO's PWM is around 500Hz */ #define ARDUINO_PINOUT_PIN_MAX 20 /* Arduino UNO has 20 pins in total*/ -#define ARDUINO_PINOUT_ADC_MAX 6 /* Arduino UNO has 5 ADC pins */ +#define ARDUINO_PINOUT_ADC_MAX 6 /* Arduino UNO has 6 ADC pins */ #define ARDUINO_PINOUT_PWM_MAX 5 /* Arduino UNO has 5 PWM pins */ #define A0 (14)