Browse Source

[rtduino][readme] change title

Meco Man 2 years ago
parent
commit
97c483fe35

+ 1 - 1
bsp/essemi/es32f369x/applications/arduino_pinout/README.md

@@ -11,7 +11,7 @@ ES32F3696已经适配了[RTduino软件包](https://github.com/RTduino/RTduino)
 ```Kconfig
 Hardware Drivers Config --->
     Onboard Peripheral Drivers --->
-        [*] Support Arduino
+        [*] Compatible with Arduino Ecosystem (RTduino)
 ```
 
 2. 进入RTduino配置,打开需要使用的各项配置 (SPI,I2C,Adafrui等)

+ 2 - 0
bsp/stm32/libraries/HAL_Drivers/drv_pwm.c

@@ -213,7 +213,9 @@ static rt_uint64_t tim_clock_get(TIM_HandleTypeDef *htim)
     if (0)
 #endif
     {
+#if !(defined(SOC_SERIES_STM32F0) || defined(SOC_SERIES_STM32G0)) /* don't have HAL_RCC_GetPCLK2Freq */
         tim_clock = (rt_uint32_t)(HAL_RCC_GetPCLK2Freq() * pclk2_doubler);
+#endif
     }
     else
     {

+ 0 - 4
bsp/stm32/libraries/HAL_Drivers/drv_usart.c

@@ -422,10 +422,6 @@ static void dma_recv_isr(struct rt_serial_device *serial, rt_uint8_t isr_flag)
 static void uart_isr(struct rt_serial_device *serial)
 {
     struct stm32_uart *uart;
-#ifdef RT_SERIAL_USING_DMA
-    rt_size_t recv_total_index, recv_len;
-    rt_base_t level;
-#endif
 
     RT_ASSERT(serial != RT_NULL);
     uart = rt_container_of(serial, struct stm32_uart, serial);

+ 1 - 1
bsp/stm32/stm32f072-st-nucleo/applications/arduino_pinout/README.md

@@ -11,7 +11,7 @@ Env 工具下敲入 menuconfig 命令,或者 RT-Thread Studio IDE 下选择 RT
 ```Kconfig
 Hardware Drivers Config --->
     Onboard Peripheral Drivers --->
-        [*] Support Arduino
+        [*] Compatible with Arduino Ecosystem (RTduino)
 ```
 
 ## 2 Arduino引脚排布

+ 1 - 1
bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/README.md

@@ -13,7 +13,7 @@ Please go to the [RTduino repository](https://github.com/RTduino/RTduino) to see
 ```Kconfig
 Hardware Drivers Config --->
     Onboard Peripheral Drivers --->
-        [*] Support Arduino
+        [*] Compatible with Arduino Ecosystem (RTduino)
 ```
 
 ## 2 Arduino Pinout

+ 1 - 1
bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/README_zh.md

@@ -13,7 +13,7 @@ Env 工具下敲入 menuconfig 命令,或者 RT-Thread Studio IDE 下选择 RT
 ```Kconfig
 Hardware Drivers Config --->
     Onboard Peripheral Drivers --->
-        [*] Support Arduino
+        [*] Compatible with Arduino Ecosystem (RTduino)
 ```
 
 ## 2 Arduino引脚排布

+ 1 - 1
bsp/stm32/stm32f401-st-nucleo/applications/arduino_pinout/README.md

@@ -11,7 +11,7 @@ Env 工具下敲入 menuconfig 命令,或者 RT-Thread Studio IDE 下选择 RT
 ```Kconfig
 Hardware Drivers Config --->
     Onboard Peripheral Drivers --->
-        [*] Support Arduino
+        [*] Compatible with Arduino Ecosystem (RTduino)
 ```
 
 ## 2 Arduino引脚排布

+ 1 - 1
bsp/stm32/stm32f412-st-nucleo/applications/arduino_pinout/README.md

@@ -11,7 +11,7 @@ Env 工具下敲入 menuconfig 命令,或者 RT-Thread Studio IDE 下选择 RT
 ```Kconfig
 Hardware Drivers Config --->
     Onboard Peripheral Drivers --->
-        [*] Support Arduino
+        [*] Compatible with Arduino Ecosystem (RTduino)
 ```
 
 ## 2 Arduino引脚排布

+ 1 - 1
bsp/stm32/stm32f469-st-disco/applications/arduino_pinout/README.md

@@ -11,7 +11,7 @@ Env 工具下敲入 menuconfig 命令,或者 RT-Thread Studio IDE 下选择 RT
 ```Kconfig
 Hardware Drivers Config --->
     Onboard Peripheral Drivers --->
-        [*] Support Arduino
+        [*] Compatible with Arduino Ecosystem (RTduino)
 ```
 
 ## 2 Arduino引脚排布

+ 1 - 1
bsp/stm32/stm32l475-atk-pandora/applications/arduino_pinout/README.md

@@ -11,7 +11,7 @@ Env 工具下敲入 menuconfig 命令,或者 RT-Thread Studio IDE 下选择 RT
 ```Kconfig
 Hardware Drivers Config --->
     Onboard Peripheral Drivers --->
-        [*] Support Arduino
+        [*] Compatible with Arduino Ecosystem (RTduino)
 ```
 
 ## 2 Arduino引脚排布