<whitequark[cis]>
one question is what to do with pin ranges once we drop the old "through" numbering system
<whitequark[cis]>
you could say that A0:7 is pins A0 through A7
<whitequark[cis]>
but then we'd need a way to specify "all 16 of them" which would probably be something like A0:7,B0:7
<whitequark[cis]>
but what if you want to invert them? the # should probably have a lower precedence than ,, so it'd be A0:7#,B0:7# if you want all of them to be inverted
<whitequark[cis]>
-V, --voltage SPEC configure I/O port voltage to SPEC (e.g.: '3.3', 'A=5.0,B=3.3', 'AB=SA')
<whitequark[cis]>
does this look like an acceptable level of --help documentation for the new syntax?
duskwuff[m] has joined #glasgow
<duskwuff[m]>
"SA" might need a little extra explanation; giving the example `A=SA,B=SB` might be a better hint assuming 1) I guessed correctly what it does and 2) that actually works
<whitequark[cis]>
i might just use A=SA but yes, thanks, this is a reasonable point
<whitequark[cis]>
(it senses the voltage at the S input of port A
<whitequark[cis]>
* port A)
<whitequark[cis]>
on revD we'll have a differential sense input so i guess this will become SA+ or SA- or SAD
_whitenotifier-2 has quit [Ping timeout: 272 seconds]
<owoday[m]1>
whitequark[cis]: Probably less than 1k since this is personal atm but I keep pushing glasgows at work so maybe in the future I can convince them lol
<owoday[m]1>
But also maybe I will just get better at amaranth and learn to help x.x
<whitequark[cis]>
oh, 1k is like a real budget
<whitequark[cis]>
last time i was involved with 10base-t1l i had paid mouser like a hundred for two (it was for my employer, i never used em in the end)
<whitequark[cis]>
clearly we need to get rid of legacy.py, but this will require a decent amount of work. i think the big unfinished part here is the pin API
<whitequark[cis]>
right now we have a somewhat cursed mess with pull resistor handling in legacy.py, no real integration between assembly and the argument parsing, etc