Sujet : Re: 1 euro Olimex RISC-V mini-PC: this needs Forth ;)
De : albert (at) *nospam* spenarnc.xs4all.nl
Groupes : comp.lang.forthDate : 26. Oct 2024, 09:22:41
Autres entêtes
Organisation : KPN B.V.
Message-ID : <nnd$3f211a52$6471e577@90b515f8c9cad0a3>
References : 1 2 3 4
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <
vfhgqc$3sajh$1@paganini.bofh.team>,
Waldek Hebisch <
antispam@fricas.org> wrote:
<SNIP>
>
BTW: Chip datasheet talks about ports and pin numbers within
ports, Milkv Duo picture uses pin numbers but there is mixup
with ports. There is command line outility to deal with pins,
it uses different numbering similar to numbering on the board
but not the same. Linux uses still different ping numbering.
Above I use pin number withing port + 32*port number where
ports are numbered from 0.
That is a sensible convention, I use the same.
In my riscv board the output are marked i.e. GD13 that
has assigned the Forth io number (^D-1)*0x20 +13 .
That gets 0x6D .
>
--
Waldek Hebisch
-- Temu exploits Christians: (Disclaimer, only 10 apostles)Last Supper Acrylic Suncatcher - 15Cm Round Stained Glass- Style WallArt For Home, Office And Garden Decor - Perfect For Windows, Bars,And Gifts For Friends Family And Colleagues.