Feature request: Exporting CubeMX projects to labeled schematics

I am beginning to like ST’s CubeMX tool. Despite being non-free software, it runs smoothly and also under Linux. The benefit, CubeMX offers during the inital stages of the hardware and software design process, is not to be underrated. CubeMX simplifies not only the MCU selection, but also helps with the pin assignment, so that one could quickly get started designing a PCB.

Screenshot of CubeMX during customization of MCU pin functions

Could – In reality one still has to create a project e.g. in KiCad, add a symbol for the selected MCU and attach a ton of labels for all the selected pin functions.

Why, I was thinking, isn’t this automated? Why isn’t it possible to export a KiCad schematic directly from the CubeMX tool? Or by means of a separate tool, which converts the .ioc project file to a schematic?

So I took a look into that .ioc file and found, that it’s a text-based format:

...
Mcu.Family=STM32F3
Mcu.Name=STM32F303C(B-C)Tx
Mcu.Package=LQFP48
Mcu.Pin0=PF0-OSC_IN
Mcu.Pin1=PF1-OSC_OUT
Mcu.Pin10=PB11
Mcu.Pin11=PA8
Mcu.Pin12=PA9
Mcu.Pin13=PA10
Mcu.Pin14=PA11
Mcu.Pin15=PA12
...

Should be easy enough to write a small parser for that. KiCad’s schematic files are text-based, too, and open source anyway.

256 mal insgesamt angesehen, 1 mal heute angesehen.
Dieser Beitrag wurde unter Bug reports & Feature requests, Mikrocontroller abgelegt und mit , , , , , , , verschlagwortet. Setze ein Lesezeichen auf den Permalink.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.