提交 2133b853 编写于 作者: mysterywolf's avatar mysterywolf 提交者: mysterywolf

[stm32][bluepill] update readme

上级 a0ca06b4
......@@ -18,7 +18,7 @@ Hardware Drivers Config --->
## 2 Arduino Pinout
![blue-pill-f103-pinout](blue-pill-f103-pinout.png)
![blue-pill-f103-pinout](blue-pill-f103-pinout.jpg)
| Arduino Pin | STM32 Pin | 5V Tolerate | 备注 |
| ----------- | --------- | ----------- | ----------------------------------------------------------------------------------------------------------- |
......@@ -38,8 +38,8 @@ Hardware Drivers Config --->
| 13 (D13) | PB1 | No | PWM3-CH4. Token over by RT-Thread PWM device by default |
| 14 (D14) | PB9 | Yes | I2C-SDA. Token over by RT-Thread I2C device by default |
| 15 (D15) | PB8 | Yes | I2C-SCL. Token over by RT-Thread I2C device by default |
| 16 (D16) | PA12 | Yes | USB-DP. Token over by RT-Thread [TinyUSB](https://github.com/RT-Thread-packages/tinyusb) device by default. |
| 17 (D17) | PA11 | Yes | USB-DM. Token over by RT-Thread [TinyUSB](https://github.com/RT-Thread-packages/tinyusb) device by default. |
| 16 (D16) | PA12 | Yes | USB-DP. Token over by [TinyUSB](https://github.com/RT-Thread-packages/tinyusb) software package by default. |
| 17 (D17) | PA11 | Yes | USB-DM. Token over by [TinyUSB](https://github.com/RT-Thread-packages/tinyusb) software package by default. |
| 18 (D18) | PA10 | Yes | UART1-RX. Token over by RT-Thread UART device by default |
| 19 (D19) | PA9 | Yes | UART1-TX. Token over by RT-Thread UART device by default |
| 20 (D20) | PA2 | No | UART2-TX. Token over by RT-Thread UART device by default |
......
......@@ -18,7 +18,7 @@ Hardware Drivers Config --->
## 2 Arduino引脚排布
![blue-pill-f103-pinout](blue-pill-f103-pinout.png)
![blue-pill-f103-pinout](blue-pill-f103-pinout.jpg)
| Arduino引脚编号 | STM32引脚编号 | 5V容忍 | 备注 |
| ----------- | --------- | ---- | ------------------------------------------------------------------------- |
......
......@@ -12,12 +12,12 @@
#include "pins_arduino.h"
/*
{Arduino Pin, RT-Thread Pin [, Device Name, Channel]}
[] means optional
Digital pins must NOT give the device name and channel.
Analog pins MUST give the device name and channel(ADC, PWM or DAC).
Arduino Pin must keep in sequence.
*/
* {Arduino Pin, RT-Thread Pin [, Device Name, Channel]}
* [] means optional
* Digital pins must NOT give the device name and channel.
* Analog pins MUST give the device name and channel(ADC, PWM or DAC).
* Arduino Pin must keep in sequence.
*/
const pin_map_t pin_map_table[]=
{
{D0, GET_PIN(B,7)},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册