KiCad / kicad-library-utils

Some scripts for helping with library development
GNU General Public License v3.0
128 stars 92 forks source link

The list of datasheets is unfortunately somewhat old and therefore incomplete. Complete series like STM32G4 are missing. #333

Closed Franck78 closed 4 years ago

Franck78 commented 4 years ago

The list of datasheets is unfortunately somewhat old and therefore incomplete. Complete series like STM32G4 are missing. It is possible to extract a list of all STM32 datasheets from STs website with only a few lines of python code. PR coming soon...

Originally posted by @rleh in https://github.com/KiCad/kicad-library-utils/pull/326#issuecomment-631271799

Franck78 commented 4 years ago

Extracted with some search and replace + libreoffice calc.

The link are more complicated but working. 189 datasheet from MCU category

mcu - datasheet - Resources - Search STMicrocontrollers.txt

rleh commented 4 years ago

I created a script to retrieve all datasheet in #327:

https://github.com/KiCad/kicad-library-utils/blob/6bedf5f01133c1f6b379f9e0fc0e76fca9f6e924/schlib/autogen/stm32/stm32_get_datasheets.py

Franck78 commented 4 years ago

It was "coming soon" dated 20 may when I red #326 I guess you updated it just now with 'done'. But still confusing. If it is done, remove the unneeded filelist.

rleh commented 4 years ago

Unfortunately I forgot to update my comment https://github.com/KiCad/kicad-library-utils/pull/326#issuecomment-631271799 when I created #327 the same day. Updated it after I saw this issue to avoid confusion in the future.

But #327 is still not reviewed and merged...

Franck78 commented 4 years ago

my manual extract returns 189 datasheets

Your script returns ~140

You can update the static list (unless you are powerless user as me)

"still not reviewed and merged..." : yes yes , it seems a lot of thing are pending here.

You have this waiting: https://github.com/KiCad/kicad-packages3D/pull/714

rleh commented 4 years ago

my manual extract returns 189 datasheets Your script returns ~140

Interesting. I'll investigate...

Franck78 commented 4 years ago

on st.com

rleh commented 4 years ago

My list is (intentionally) missing the STM32MP family (6 datasheets, see https://github.com/KiCad/kicad-library-utils/pull/327/files#diff-f6a681b02425513e05a08aa469e1ea28R21).

Your "STM32" list is longer because it contains datasheets of STM8 and other non-STM32 controllers like e.g. ST92124 or ST7LITE1. Update: In your list even the datasheets DM00412180, DM00438059, DM00440565, DM00440567, DM00440569, DM00542744, DM00596668, DM00600522, DM00602265, DM00627896, DM00656493 and DM00674684 are missing.

rleh commented 4 years ago

To get the number (and a list) of existing STM32 datasheets:

Franck78 commented 4 years ago

oh ok. And the script cannot process datasheets not STM32, or output some drafts to begin a symbol ?

rleh commented 4 years ago

No. stm32_generator.py only generates STM32 symbols. The main data source for the symbol generation is STM32CubeMX (see README), I'm not aware of a similar data source for other controllers.

Franck78 commented 4 years ago

I don't know ST micro families. I you tell me 'this model' is worth being created, I'll do it. The main concern being avoid entering manually 100 pins with names&type.

-grab them with pdf extract -grab them from .h includes dev files