delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2017/03/20/12:13:36

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Mailer: exmh version 2.8.0 04/21/2012 (debian 1:2.8.0~rc1-2) with nmh-1.5
X-Exmh-Isig-CompType: comp
X-Exmh-Isig-Folder: inbox
From: karl AT aspodata DOT se
To: geda-user AT delorie DOT com
Subject: [geda-user] pdf -> sym generator
Mime-Version: 1.0
Message-Id: <20170320161202.965CD8106DC1@turkos.aspodata.se>
Date: Mon, 20 Mar 2017 17:12:02 +0100 (CET)
X-Virus-Scanned: ClamAV using ClamSMTP
Reply-To: geda-user AT delorie DOT com

As a proof of concept I have made pdfextr.pl [1]. Witch with [2] as
indatafile I can procude [3]:

./pdfextr.pl run=stm32 table=27,31 stm32f105r8.pdf > stm32f105r8.table

I did a three cosmetic changes to that file
(e.g. JTMS-SWDIO -> JTMS SWDIO).

That together with [4] and pintosym.pl [5] creates the symbol files
in [6]:

$ pintosym.pl stm32f107.pins
printing to stm32f107.square.LQFP100.sym (pins rect  lbrt:. skew:-1 corner:4 ulcut:2)
printing to stm32f107.square.LQFP64.sym (pins rect  lbrt:. skew:-1 corner:4 ulcut:2)
...
printing to stm32f107.uart_s.BGA100.sym (small_pins cutout  lr:US?ART w:12)
$

Regards,
/Karl Hammar

[1] http://aspodata.se/git/openhw/pdftosym/pdfextr.pl
[2] http://www.st.com/resource/en/datasheet/stm32f105r8.pdf
[3] http://aspodata.se/git/openhw/share/gschem/mcu/stm32f107.table
[4] http://aspodata.se/git/openhw/share/gschem/mcu/stm32f107.pins
[5] http://aspodata.se/git/openhw/pdftosym/pintosym.pl
[6] http://aspodata.se/git/openhw/share/gschem/mcu/

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019