makestmlib.py script hat I’ve introduced in a previous post is now a part of KiPart.
KiPart is a tool to automatically create KiCad symbols from CSV files. It has its own format for this but support for other formats can be easily added. So I did that.
You can install KiPart via pip. And here is the documentation.
Here is an example of how to use kipart to create a library file from Stm32CubeMx output;
kipart -r stm32cube -o stm32.lib pinout.csv
It’s that easy.
And unlike my makeshift solution, KiPart produces a nice looking output taking into account text sizes etc. I hope its useful to someone.