Generator for LaTeX figures showing the pins used by different STM32 peripherals
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
Mathias Gottschlag a04a9687f9 Re-enable all MCUs. 4 роки тому
cube-MX-db @ 429b29e0ca Add a git submodule with the pin definitions for STM32. 4 роки тому
src Re-enable all MCUs. 4 роки тому
.gitignore Add a program to draw periphery pin usage diagrams for STM32. 4 роки тому
.gitmodules Add a git submodule with the pin definitions for STM32. 4 роки тому
Cargo.lock Add a program to draw periphery pin usage diagrams for STM32. 4 роки тому
Cargo.toml Add a program to draw periphery pin usage diagrams for STM32. 4 роки тому
LICENSE.md Add a license and a README file. 4 роки тому
README.md Add a license and a README file. 4 роки тому

README.md

stm32-pin-diagram

This program generates LaTeX figures showing the pins used by different STM32 peripherals.

Compiling

Install cargo as well as the rust compiler and then simply execute, for example, cargo build --release.

Usage

Execute the program as follows to generate a pinout diagram for the SPI2 and I2C3 peripherals and for the STM32F429ZITx microcontroller:

target/release/stm32-pin-diagram STM32F429ZITx -p SPI2 -p I2C3

The microcontroller names correspond to the file names in the cube-MX-db/mcu directory, and the peripheral names correspond to the prefix of the pin names in those files or in the datasheet.