|
|
4 anos atrás | |
|---|---|---|
| cube-MX-db @ 429b29e0ca | 4 anos atrás | |
| src | 4 anos atrás | |
| .gitignore | 4 anos atrás | |
| .gitmodules | 4 anos atrás | |
| Cargo.lock | 4 anos atrás | |
| Cargo.toml | 4 anos atrás | |
| LICENSE.md | 4 anos atrás | |
| README.md | 4 anos atrás |
This program generates LaTeX figures showing the pins used by different STM32 peripherals.
Install cargo as well as the rust compiler and then simply execute, for example,
cargo build --release.
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.