diff options
| author | Meco Man <[email protected]> | 2022-09-15 09:36:06 -0400 |
|---|---|---|
| committer | Man, Jianting (Meco) <[email protected]> | 2022-09-15 23:52:23 -0400 |
| commit | 2133b8536afeab3dd93773adb5f526d864558fc2 (patch) | |
| tree | 4453dadaeeb06ca25bab08f653510d22392be24c /bsp/stm32 | |
| parent | a0ca06b4994d7c4a423b03f272c2c2a86a7bd07f (diff) | |
[stm32][bluepill] update readme
Diffstat (limited to 'bsp/stm32')
| -rw-r--r-- | bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/README.md | 6 | ||||
| -rw-r--r-- | bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/README_zh.md | 2 | ||||
| -rw-r--r-- | bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/blue-pill-f103-pinout.jpg | bin | 0 -> 1094517 bytes | |||
| -rw-r--r-- | bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/blue-pill-f103-pinout.png | bin | 6935183 -> 0 bytes | |||
| -rw-r--r-- | bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/pins_arduino.c | 12 |
5 files changed, 10 insertions, 10 deletions
diff --git a/bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/README.md b/bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/README.md index 8daef19459..c810d1af99 100644 --- a/bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/README.md +++ b/bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/README.md @@ -18,7 +18,7 @@ Hardware Drivers Config ---> ## 2 Arduino Pinout - + | 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 | diff --git a/bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/README_zh.md b/bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/README_zh.md index c630238eff..7039a6e2a6 100644 --- a/bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/README_zh.md +++ b/bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/README_zh.md @@ -18,7 +18,7 @@ Hardware Drivers Config ---> ## 2 Arduino引脚排布 - + | Arduino引脚编号 | STM32引脚编号 | 5V容忍 | 备注 | | ----------- | --------- | ---- | ------------------------------------------------------------------------- | diff --git a/bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/blue-pill-f103-pinout.jpg b/bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/blue-pill-f103-pinout.jpg Binary files differnew file mode 100644 index 0000000000..597b8d3c0f --- /dev/null +++ b/bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/blue-pill-f103-pinout.jpg diff --git a/bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/blue-pill-f103-pinout.png b/bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/blue-pill-f103-pinout.png Binary files differdeleted file mode 100644 index e62131a9ff..0000000000 --- a/bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/blue-pill-f103-pinout.png +++ /dev/null diff --git a/bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/pins_arduino.c b/bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/pins_arduino.c index 34d531ee59..ad5999180f 100644 --- a/bsp/stm32/stm32f103-blue-pill/applications/arduino_pinout/pins_arduino.c +++ b/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)}, |
