[rtduino][readme] change title
This commit is contained in:
parent
ca30428cee
commit
97c483fe35
|
@ -11,7 +11,7 @@ ES32F3696已经适配了[RTduino软件包](https://github.com/RTduino/RTduino)
|
||||||
```Kconfig
|
```Kconfig
|
||||||
Hardware Drivers Config --->
|
Hardware Drivers Config --->
|
||||||
Onboard Peripheral Drivers --->
|
Onboard Peripheral Drivers --->
|
||||||
[*] Support Arduino
|
[*] Compatible with Arduino Ecosystem (RTduino)
|
||||||
```
|
```
|
||||||
|
|
||||||
2. 进入RTduino配置,打开需要使用的各项配置 (SPI,I2C,Adafrui等)
|
2. 进入RTduino配置,打开需要使用的各项配置 (SPI,I2C,Adafrui等)
|
||||||
|
|
|
@ -213,7 +213,9 @@ static rt_uint64_t tim_clock_get(TIM_HandleTypeDef *htim)
|
||||||
if (0)
|
if (0)
|
||||||
#endif
|
#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);
|
tim_clock = (rt_uint32_t)(HAL_RCC_GetPCLK2Freq() * pclk2_doubler);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -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)
|
static void uart_isr(struct rt_serial_device *serial)
|
||||||
{
|
{
|
||||||
struct stm32_uart *uart;
|
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);
|
RT_ASSERT(serial != RT_NULL);
|
||||||
uart = rt_container_of(serial, struct stm32_uart, serial);
|
uart = rt_container_of(serial, struct stm32_uart, serial);
|
||||||
|
|
|
@ -11,7 +11,7 @@ Env 工具下敲入 menuconfig 命令,或者 RT-Thread Studio IDE 下选择 RT
|
||||||
```Kconfig
|
```Kconfig
|
||||||
Hardware Drivers Config --->
|
Hardware Drivers Config --->
|
||||||
Onboard Peripheral Drivers --->
|
Onboard Peripheral Drivers --->
|
||||||
[*] Support Arduino
|
[*] Compatible with Arduino Ecosystem (RTduino)
|
||||||
```
|
```
|
||||||
|
|
||||||
## 2 Arduino引脚排布
|
## 2 Arduino引脚排布
|
||||||
|
|
|
@ -13,7 +13,7 @@ Please go to the [RTduino repository](https://github.com/RTduino/RTduino) to see
|
||||||
```Kconfig
|
```Kconfig
|
||||||
Hardware Drivers Config --->
|
Hardware Drivers Config --->
|
||||||
Onboard Peripheral Drivers --->
|
Onboard Peripheral Drivers --->
|
||||||
[*] Support Arduino
|
[*] Compatible with Arduino Ecosystem (RTduino)
|
||||||
```
|
```
|
||||||
|
|
||||||
## 2 Arduino Pinout
|
## 2 Arduino Pinout
|
||||||
|
|
|
@ -13,7 +13,7 @@ Env 工具下敲入 menuconfig 命令,或者 RT-Thread Studio IDE 下选择 RT
|
||||||
```Kconfig
|
```Kconfig
|
||||||
Hardware Drivers Config --->
|
Hardware Drivers Config --->
|
||||||
Onboard Peripheral Drivers --->
|
Onboard Peripheral Drivers --->
|
||||||
[*] Support Arduino
|
[*] Compatible with Arduino Ecosystem (RTduino)
|
||||||
```
|
```
|
||||||
|
|
||||||
## 2 Arduino引脚排布
|
## 2 Arduino引脚排布
|
||||||
|
|
|
@ -11,7 +11,7 @@ Env 工具下敲入 menuconfig 命令,或者 RT-Thread Studio IDE 下选择 RT
|
||||||
```Kconfig
|
```Kconfig
|
||||||
Hardware Drivers Config --->
|
Hardware Drivers Config --->
|
||||||
Onboard Peripheral Drivers --->
|
Onboard Peripheral Drivers --->
|
||||||
[*] Support Arduino
|
[*] Compatible with Arduino Ecosystem (RTduino)
|
||||||
```
|
```
|
||||||
|
|
||||||
## 2 Arduino引脚排布
|
## 2 Arduino引脚排布
|
||||||
|
|
|
@ -11,7 +11,7 @@ Env 工具下敲入 menuconfig 命令,或者 RT-Thread Studio IDE 下选择 RT
|
||||||
```Kconfig
|
```Kconfig
|
||||||
Hardware Drivers Config --->
|
Hardware Drivers Config --->
|
||||||
Onboard Peripheral Drivers --->
|
Onboard Peripheral Drivers --->
|
||||||
[*] Support Arduino
|
[*] Compatible with Arduino Ecosystem (RTduino)
|
||||||
```
|
```
|
||||||
|
|
||||||
## 2 Arduino引脚排布
|
## 2 Arduino引脚排布
|
||||||
|
|
|
@ -11,7 +11,7 @@ Env 工具下敲入 menuconfig 命令,或者 RT-Thread Studio IDE 下选择 RT
|
||||||
```Kconfig
|
```Kconfig
|
||||||
Hardware Drivers Config --->
|
Hardware Drivers Config --->
|
||||||
Onboard Peripheral Drivers --->
|
Onboard Peripheral Drivers --->
|
||||||
[*] Support Arduino
|
[*] Compatible with Arduino Ecosystem (RTduino)
|
||||||
```
|
```
|
||||||
|
|
||||||
## 2 Arduino引脚排布
|
## 2 Arduino引脚排布
|
||||||
|
|
|
@ -11,7 +11,7 @@ Env 工具下敲入 menuconfig 命令,或者 RT-Thread Studio IDE 下选择 RT
|
||||||
```Kconfig
|
```Kconfig
|
||||||
Hardware Drivers Config --->
|
Hardware Drivers Config --->
|
||||||
Onboard Peripheral Drivers --->
|
Onboard Peripheral Drivers --->
|
||||||
[*] Support Arduino
|
[*] Compatible with Arduino Ecosystem (RTduino)
|
||||||
```
|
```
|
||||||
|
|
||||||
## 2 Arduino引脚排布
|
## 2 Arduino引脚排布
|
||||||
|
|
Loading…
Reference in New Issue