Ulf Lilleengen d4fad162ac Add support for parsing dual core chips
This modifies the chip format to include an array of cores, and within
each core the interrupts and peripherals for that core.
2021-06-16 15:10:02 +02:00
2021-05-06 02:37:31 +02:00
2021-06-14 11:56:04 -04:00
2021-04-15 04:42:04 +02:00
2021-05-06 02:37:31 +02:00
d
2021-04-23 22:40:37 +02:00
2021-04-19 04:56:09 +02:00
2021-06-07 13:50:49 +02:00
2021-04-23 22:40:37 +02:00
2021-06-07 12:03:15 +02:00

stm32-data

stm32-data is a project aiming to produce clean machine-readable data about the STM32 microcontroller families, including:

  • ✔️ Base chip information
    • RAM, flash
    • Packages
  • ✔️ Peripheral addresses and interrupts
  • ✔️ Interrupts
  • ✔️ GPIO AlternateFunction mappings (except F1)
  • 🚧 Register blocks for all peripherals
  • DMA stream mappings
  • Per-package pinouts
  • Links to applicable reference manuals, datasheets, appnotes PDFs.

✔️ = done, 🚧 = work in progress, = to do

Data sources

These are the data sources currently used.

  • STM32Cube database: describes all MCUs, with useful stuff like GPIO AF mappings, DMA stream mappings, pinouts...
  • stm32-rs SVDs: register blocks. YAMLs are extracted and manually cleaned up.

Generating the YAMLs

  • Run ./d download_all
  • Run python3 parse.py

This generates all the YAMLs in data/ except those in data/registers/, which are manually extracted and cleaned up.

Extracting new register blocks

TODO document

Description
No description provided
Readme 5.1 MiB
Languages
Rust 97.7%
Shell 1.1%
Python 0.7%
PowerShell 0.5%