📖 更新文档

Signed-off-by: DAVE <ro7enkranz@qq.com>
This commit is contained in:
DAVE 2022-03-29 17:46:12 +08:00
parent 62c4a43894
commit 7e2483c9d0
2 changed files with 26 additions and 2 deletions

BIN
PinConfig.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

View File

@ -1,4 +1,4 @@
# PEAK PCAN firmware for STM32F042 based boards <a title="Hits" target="_blank" href="https://github.com/SummerFalls/pcan_cantact"><img src="https://hits.b3log.org/SummerFalls/pcan_cantact.svg"></a> # PEAK PCAN firmware for STM32F042C6T6(STM32F072C8T6) based boards <a title="Hits" target="_blank" href="https://github.com/SummerFalls/pcan_cantact"><img src="https://hits.b3log.org/SummerFalls/pcan_cantact.svg"></a>
[![Build PCAN firmware](https://github.com/SummerFalls/pcan_cantact/actions/workflows/firmware_build.yml/badge.svg)](https://github.com/SummerFalls/pcan_cantact/actions/workflows/firmware_build.yml) [![Build PCAN firmware](https://github.com/SummerFalls/pcan_cantact/actions/workflows/firmware_build.yml/badge.svg)](https://github.com/SummerFalls/pcan_cantact/actions/workflows/firmware_build.yml)
@ -8,7 +8,31 @@
- [CANable](https://canable.io/) - opensource USB-CAN adapter based on CANtact project `make canable` - [CANable](https://canable.io/) - opensource USB-CAN adapter based on CANtact project `make canable`
- [Entreé](https://github.com/tuna-f1sh/entree) - opensource USB-C CAN adapter based on CANable project `make entree` - [Entreé](https://github.com/tuna-f1sh/entree) - opensource USB-C CAN adapter based on CANable project `make entree`
- [Ollie](https://github.com/slimelec/ollie-hw) - opensource USB-CAN adapter with isolated USB `make ollie` - [Ollie](https://github.com/slimelec/ollie-hw) - opensource USB-CAN adapter with isolated USB `make ollie`
- Any other STM32F042 based boards with external or internal OSC. - Any other STM32F042C6T6(STM32F072C8T6) based boards with external or internal OSC.
<div style="margin: 0 auto; width: 100%;">
<table>
<tr>
<td style = "width: 80%;">
![PinConfig](PinConfig.jpg)
</td>
<td style = "width: 20%;">
| PINs | FUNCTIONs |
|-----:|------------|
| PA0 | CAN_RX_LED |
| PA1 | CAN_TX_LED |
| PB8 | CAN_RX |
| PB9 | CAN_TX |
| PA11 | USB_DM |
| PA12 | USB_DP |
</td>
</tr>
</table>
</div>
## :wrench: 工具链 / Toolchain ## :wrench: 工具链 / Toolchain