瀏覽代碼

[stm32][bluepill] update readme

Meco Man 2 年之前
父節點
當前提交
2133b8536a

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

@@ -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                                                    |

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

@@ -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容忍 | 备注                                                                        |
 | ----------- | --------- | ---- | ------------------------------------------------------------------------- |

二進制
bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/blue-pill-f103-pinout.jpg


二進制
bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/blue-pill-f103-pinout.png


+ 6 - 6
bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/pins_arduino.c

@@ -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)},