X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f X-Recipient: geda-help AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=JbeaUw6R4XmsjOIJaSF52eUJSdA1CI1hVWzcZTnR+Lk=; b=IwLLX3ZQlkboqiKiNTJi43HV4dTUMdxLaYZsAlO0lzsZUCuvJUtm0bE7VGurG1X1Px oBLWrG2bwUAFOxEf4wqAaG2Qh3hG+Io/uZcUDC/etxqHkgo30Qj+ufh/2DzT32kEVbyh FuNYtZoq0jNjBGpJfyi4dcaHkH+uFzSw7eVmV/redFCr3VlWh8x8Z5/Ilu2Z7yJTrBSP PnEHIsylhckbMKkHyLJqJ3K3f44GqZ87lk8CWkn6TOH9P1DVpRClRVc9PUkiOc5NGFFM VNWfd5LH/Lpa7Z3fCrdi8UsMXqdPjKUo6xRiwRN/qr/VRHrTBllo847RKCA8BD77bEFd P86Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=JbeaUw6R4XmsjOIJaSF52eUJSdA1CI1hVWzcZTnR+Lk=; b=T56mV85164ao5Iqm+qEP+ZWP2DapsZYWJjcLrrSut6q86Mx+QvhLoxypyZ6xQTbXn2 GwxIl2PcAmXORCuFa53/KXJAz3w2i+T2Wflxnnue4HNnkqA0NGCI0pi8g5XfEU7bj0DH 0O9uWuk5Y9b7zYae6mzgkpvu3jNbT1XTEEeGkgRdWpwih3lhkb5fgJV/WIdjnYn2AlPE r220HTtK+EXVirWsC5OHxBQ46sYriFDy5hF0azhEm6KAmsD7t0YX7wIcIlieCo0pQws5 dqoV48UUZDzBwEaqaKfLf/ba8XquE62kat8YN4qD2b5j+uiLqX10qauaB9mRbtWyKBv0 UBRQ== X-Gm-Message-State: APjAAAXzUq823XRHYltzRAY4pJPxK+tLQsEHzo0eIBX4TChVq8sVk5Ki 1qbETj2mNnAG912Y1OZS9xsr8uHH9tMxLHjxKaaULPa0 X-Google-Smtp-Source: APXvYqzHNNcK4s61xMwmGVetirriG7jQct4xxDZHgmzdCww6qwY4C8N0BCmEiVKjZowe0JyPo/gQHrOb3caP0Nliv/U= X-Received: by 2002:a81:a607:: with SMTP id d7mr2512350ywh.397.1551817472134; Tue, 05 Mar 2019 12:24:32 -0800 (PST) MIME-Version: 1.0 References: <20190304154059 DOT 5stzub6hlzpcootc AT newvzh DOT lokolhoz> In-Reply-To: <20190304154059.5stzub6hlzpcootc@newvzh.lokolhoz> From: "Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com]" Date: Tue, 5 Mar 2019 21:24:20 +0100 Message-ID: Subject: Re: [geda-help] Picaxe 14M2 To: geda-help AT delorie DOT com Content-Type: multipart/alternative; boundary="0000000000002ed21905835ea94b" Reply-To: geda-help AT delorie DOT com --0000000000002ed21905835ea94b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Vladimir, Thank you for your reply. I have changed the names as follow (for convenience): hc-12.sym: . . pinlabel=3DANT T 2100 415 5 7 0 1 0 3 1 pinseq=3D6 T 2100 415 5 7 0 1 0 3 1 pintype=3Dpas } T 2500 730 3 7 0 0 0 0 1 numslots=3D0 B 200 0 1800 800 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 T 1400 320 3 7 0 0 0 0 1 footprint=3Dhc-12.fp hc-12.fp: torben AT torben-Aspire-E5-773G:/home/gaf/myproject2$ cat /usr/share/pcb/pcblib-newlib/geda/hc-12.fp Element["" "hc-12" "" "" 0 0 0 25000 0 100 ""] ( Pad[-6400 -40000 -3600 -40000 2800 2000 3600 "VCC" "VCC" "square"] Pad[-6400 -30000 -3600 -30000 2800 2000 3600 "GND" "GND" "square"] Pad[-6400 -20000 -3600 -20000 2800 2000 3600 "RXD" "RXD" "square"] Pad[-6400 -10000 -3600 -10000 2800 2000 3600 "TXD" "TXD" "square"] Pad[-6400 0 -3600 0 2800 2000 3600 "SET" "SET" "square"] Pad[95859 -984 99259 -984 3600 2000 4400 "MCHFIX" "MCHFIX" "square"] Pad[101474 -37677 104274 -37677 2800 2000 3600 "GND1" "GND1" "square"] Pad[101474 -17677 104274 -17677 2800 2000 3600 "GND2" "GND2" "square"] Pad[97854 -27677 102854 -27677 5000 2000 5800 "ANT" "ANT" "square"] ) and I have entered: /usr/share/gEDA/sym/radio/hc-12.sym and it does appear correctly in "Select component". and: /usr/share/pcb/pcblib-newlib/geda/hc-12.fp /home/torben/www/user/mark_salyzyn/footprints/hc-12.fp /home/geda/www/user/mark_salyzyn/footprints/hc-12.fp I thought that was identical to what I had entered for picaxe. And yet hc-12 does not appear as a result of gsch2pcb project/pcb board.pcb as picaxe does. Can you see why? torben On Mon, Mar 4, 2019 at 4:45 PM Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-help AT delorie DOT com] wrote: > On Mon, Mar 04, 2019 at 03:58:49PM +0100, Torben Friis (friistf AT gmail DOT com= ) > [via geda-help AT delorie DOT com] wrote: > > Hi Erich, > > Thank you very much for your reply. > > > > I have the following 2 files for PICAXE-14M: > > > > /usr/share/gEDA/gafrc.d/geda-clib.scm > > /usr/share/gEDA/sym/picaxe/PICAXE-14M.sym > > > > I also have a lot of files for DIP14.fp under: > > > > /usr/share/pcb/pcblib-newlib/geda/ > > /home/torben/www/user/mark_salyzyn/footprints/ > > /home/geda/www/user/mark_salyzyn/footprints/ > > > > My problem is to connect the .sym information with the .fp. > > > > F.ex. for the OPAMP in the tutorial I find in the Edit Attributes: > > > > device OPAMP > > symversion 0.1 > > refdes U101 > > value T=C3=86072 > > > > and in Select Component... under opamp-1.sym: > > > > description operational amplifier > > device OPAMP > > numslots 0 > > refdes U? > > symversion 0.1 > > > > but none of these connect me with a .fp file. Nevertheless, there is a > > connection, because I can do the gsch2pcb-pcb/board.pcb works. > > In order to associate a footprint with a symbol you have to attach > an appropriate "footprint=3D" attribute to the symbol. In your case, > I believe, you have to use "footprint=3DDIP14". Please read the > manual about this attribute. > > -- > Vladimir > > (=CE=BB)=CE=B5=CF=80=CF=84=CF=8C=CE=BD EDA =E2=80=94 https://github.com/l= epton-eda > --0000000000002ed21905835ea94b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Vladimir,

Th= ank you for your reply.

I have changed the names as follow (for conv= enience):

hc-12.sym:
.
.
pinlabel=3DANT
T 2100 415 5 7 0= 1 0 3 1
pinseq=3D6
T 2100 415 5 7 0 1 0 3 1
pintype=3Dpas
}T 2500 730 3 7 0 0 0 0 1
numslots=3D0
B 200 0 1800 800 3 0 0 0 -1 -1= 0 -1 -1 -1 -1 -1
T 1400 320 3 7 0 0 0 0 1
footprint=3Dhc-12.fp
hc-12.fp:
torben AT torben-Aspire-E5-773G:/home/gaf/myproject2$ cat /usr/= share/pcb/pcblib-newlib/geda/hc-12.fp
Element["" "hc-12&q= uot; "" "" 0 0 0 25000 0 100 ""]
(
Pad[= -6400 -40000 -3600 -40000 2800 2000 3600 "VCC" "VCC" &q= uot;square"]
Pad[-6400 -30000 -3600 -30000 2800 2000 3600 "GND= " "GND" "square"]
Pad[-6400 -20000 -3600 -20000= 2800 2000 3600 "RXD" "RXD" "square"]
Pad[= -6400 -10000 -3600 -10000 2800 2000 3600 "TXD" "TXD" &q= uot;square"]
Pad[-6400 0 -3600 0 2800 2000 3600 "SET" &qu= ot;SET" "square"]
Pad[95859 -984 99259 -984 3600 2000 440= 0 "MCHFIX" "MCHFIX" "square"]
Pad[101474 -= 37677 104274 -37677 2800 2000 3600 "GND1" "GND1" "= square"]
Pad[101474 -17677 104274 -17677 2800 2000 3600 "GND2&= quot; "GND2" "square"]
Pad[97854 -27677 102854 -2767= 7 5000 2000 5800 "ANT" "ANT" "square"]
)
and I have entered:
/usr/share/gEDA/sym/radio/hc-12.sym
and it does appear correctly in "Select component".=

and:
/usr/share/pc= b/pcblib-newlib/geda/hc-12.fp
/home/torben/www/user/mark_salyzyn/footpri= nts/hc-12.fp
/home/geda/www/user/mark_salyzyn/footprints/hc-12.fp
I thought that was identical to what I had entered for picaxe. And yet hc-= 12 does not appear as a result of gsch2pcb project/pcb board.pcb as picaxe = does.
Can you see why?
torben

On Mon, Mar 4, 2019 at 4= :45 PM Vladimir Zhbanov (vzhbanov AT gma= il.com) [via geda-help AT delorie= .com] <geda-help AT delorie DOT co= m> wrote:
On Mon, Mar 04, 2019 at 03:58:49PM +0100, Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com]= wrote:
> Hi Erich,
> Thank you very much for your reply.
>
> I have the following 2 files for PICAXE-14M:
>
> /usr/share/gEDA/gafrc.d/geda-clib.scm
> /usr/share/gEDA/sym/picaxe/PICAXE-14M.sym
>
> I also have a lot of files for DIP14.fp under:
>
> /usr/share/pcb/pcblib-newlib/geda/
> /home/torben/www/user/mark_salyzyn/footprints/
> /home/geda/www/user/mark_salyzyn/footprints/
>
> My problem is to connect the .sym information with the .fp.
>
> F.ex. for the OPAMP in the tutorial I find in the Edit Attributes:
>
> device OPAMP
> symversion 0.1
> refdes U101
> value T=C3=86072
>
> and in Select Component... under opamp-1.sym:
>
> description operational amplifier
> device OPAMP
> numslots 0
> refdes U?
> symversion 0.1
>
> but none of these connect me with a .fp file. Nevertheless, there is a=
> connection, because I can do the gsch2pcb-pcb/board.pcb works.

In order to associate a footprint with a symbol you have to attach
an appropriate "footprint=3D" attribute to the symbol. In your ca= se,
I believe, you have to use "footprint=3DDIP14". Please read the manual about this attribute.

--
=C2=A0 Vladimir

(=CE=BB)=CE=B5=CF=80=CF=84=CF=8C=CE=BD EDA =E2=80=94 https://github.com= /lepton-eda
--0000000000002ed21905835ea94b--