This repository contains a collection of scripts to extract STM8 / STM32 MCU information files (including pin mappings and signals) in JSON format from the STM8CubeMX / STM32CubeMX database.
-
Download and install STM8CubeMX and/or STM32CubeMX
-
Unpack or install the software to a directory on your computer
-
Run
python3 extract.py --db path/to/cubemx/db/mcu/
See JSON files in data/
directory.
The scripts are licensed under the MIT license, see LICENSE.txt
file.
The data files are generated by using STM8CubeMX / STM32CubeMX. They only contain technical information that could also be obtained from the datasheets and probably do not fall under copyright.