whitequark[cis] changed the topic of #glasgow to: https://glasgow-embedded.org · digital interface explorer · https://www.crowdsupply.com/1bitsquared/glasgow · code https://github.com/GlasgowEmbedded/glasgow · logs https://libera.catirclogs.org/glasgow · matrix #glasgow-interface-explorer:matrix.org · discord https://1bitsquared.com/pages/chat
lxdr53 has joined #glasgow
lxdr5 has quit [Read error: Connection reset by peer]
redstarcomrade has quit [Read error: Connection reset by peer]
redstarcomrade has joined #glasgow
redstarcomrade has quit [Changing host]
redstarcomrade has joined #glasgow
_whitelogger has joined #glasgow
<whitequark[cis]> so, thinking out loud about pin parsing (cc isabelburgos)
<whitequark[cis]> i think we should unify the "one pin" and "multiple pins" parsing paths; you end up with a `GlasgowPlatformPort` anyway
<_whitenotifier-2> [glasgow] whitequark opened pull request #808: Simplify pin argument handling - https://github.com/GlasgowEmbedded/glasgow/pull/808
<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
<_whitenotifier-2> [glasgow] whitequark synchronize pull request #808: Simplify pin argument handling - https://github.com/GlasgowEmbedded/glasgow/pull/808
<_whitenotifier-2> [glasgow] whitequark synchronize pull request #808: Simplify pin argument handling - https://github.com/GlasgowEmbedded/glasgow/pull/808
<_whitenotifier-2> [glasgow] whitequark synchronize pull request #808: Simplify pin argument handling - https://github.com/GlasgowEmbedded/glasgow/pull/808
<_whitenotifier-2> [glasgow] whitequark synchronize pull request #808: Simplify pin argument handling - https://github.com/GlasgowEmbedded/glasgow/pull/808
<_whitenotifier-2> [glasgow] whitequark closed pull request #808: Simplify pin argument handling - https://github.com/GlasgowEmbedded/glasgow/pull/808
<_whitenotifier-2> [glasgow] whitequark reopened pull request #808: Simplify pin argument handling - https://github.com/GlasgowEmbedded/glasgow/pull/808
<_whitenotifier-2> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-808-be67becf566cb41b7db9e661a9f176f24c82650a - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-2> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 2 commits to main [+0/-0/±75] https://github.com/GlasgowEmbedded/glasgow/compare/be67becf566c...8a9e1e31d501
<_whitenotifier-2> [glasgow] whitequark closed pull request #808: Simplify pin argument handling - https://github.com/GlasgowEmbedded/glasgow/pull/808
<_whitenotifier-2> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-808-be67becf566cb41b7db9e661a9f176f24c82650a - https://github.com/GlasgowEmbedded/glasgow
<whitequark[cis]> run arguments:
<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]
_whitenotifier-5 has joined #glasgow
<_whitenotifier-5> [glasgow] whitequark opened pull request #809: Remove `--port` argument and rework `--voltage` argument syntax - https://github.com/GlasgowEmbedded/glasgow/pull/809
<whitequark[cis]> almost done, just need to make --rx A0 possible
<whitequark[cis]> the code to handle this is kind of really horrible, by my standards. but it needs to be done
<_whitenotifier-5> [glasgow] whitequark synchronize pull request #809: Remove `--port` argument and rework `--voltage` argument syntax - https://github.com/GlasgowEmbedded/glasgow/pull/809
_whitelogger has joined #glasgow
mei[m] has quit [Quit: Idle timeout reached: 172800s]
owoday[m]1 has joined #glasgow
<owoday[m]1> Do you think automotive ethernet is possible?
redstarcomrade has quit [Read error: Connection reset by peer]
<whitequark[cis]> which one?
Eli2_ has joined #glasgow
<owoday[m]1> Uhhh all the single twisted ones
Eli2 has quit [Ping timeout: 245 seconds]
vegard_e[m] has joined #glasgow
<vegard_e[m]> IIRC 100Mb/s RGMII on glasgow has already been demonstrated, so with a suitable PHY, 100BASE-T1 should work
<owoday[m]1> Wow i didnt even know automotive ethernet got that fast >.>
<whitequark[cis]> yes, i've demonstrated RGMII, although it needs some small amount of work still to be merged
WilfriedWonkaKla has joined #glasgow
<WilfriedWonkaKla> There's even 1000BASE-T1 for automotive...
<owoday[m]1> :o
<whitequark[cis]> if you buy me a pair of devboards i can make sure automotive internet works
<whitequark[cis]> s/internet/ethernet/
Ekho has quit [Remote host closed the connection]
Ekho has joined #glasgow
<owoday[m]1> <whitequark[cis]> "if you buy me a pair of devboard..." <- Which ones
<whitequark[cis]> which automotive ethernet do you want? ^^
<owoday[m]1> Haha
<owoday[m]1> I will get back to you lol
<whitequark[cis]> :)
<_whitenotifier-5> [glasgow] whitequark synchronize pull request #809: Remove `--port` argument and rework `--voltage` argument syntax - https://github.com/GlasgowEmbedded/glasgow/pull/809
<_whitenotifier-5> [glasgow] whitequark synchronize pull request #809: Remove `--port` argument and rework `--voltage` argument syntax - https://github.com/GlasgowEmbedded/glasgow/pull/809
<_whitenotifier-5> [glasgow] whitequark synchronize pull request #809: Remove `--port` argument and rework `--voltage` argument syntax - https://github.com/GlasgowEmbedded/glasgow/pull/809
<_whitenotifier-5> [glasgow] whitequark synchronize pull request #809: Remove `--port` argument and rework `--voltage` argument syntax - https://github.com/GlasgowEmbedded/glasgow/pull/809
<_whitenotifier-5> [glasgow] whitequark synchronize pull request #809: Remove `--port` argument and rework `--voltage` argument syntax - https://github.com/GlasgowEmbedded/glasgow/pull/809
<_whitenotifier-5> [glasgow] whitequark synchronize pull request #809: Remove `--port` argument and rework `--voltage` argument syntax - https://github.com/GlasgowEmbedded/glasgow/pull/809
<_whitenotifier-5> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-809-8a9e1e31d50151dbd496a5eaf3a82ddca670bdae - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-5> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 5 commits to main [+0/-0/±38] https://github.com/GlasgowEmbedded/glasgow/compare/8a9e1e31d501...1db81071563f
<_whitenotifier-5> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-809-8a9e1e31d50151dbd496a5eaf3a82ddca670bdae - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-5> [glasgow] whitequark closed pull request #809: Remove `--port` argument and rework `--voltage` argument syntax - https://github.com/GlasgowEmbedded/glasgow/pull/809
<whitequark[cis]> okay, UI migration ~done
<whitequark[cis]> the next step would be to design a new API for applets (hopefully, the last one we'll ever need) and migrate every applet to it
puck has quit [Ping timeout: 265 seconds]
DragoonAethis has quit [Ping timeout: 244 seconds]
adamgreig_ has quit [Ping timeout: 260 seconds]
adamgreig_ has joined #glasgow
DragoonAethis has joined #glasgow
puck has joined #glasgow
jfsimon has quit [Read error: Connection reset by peer]
<owoday[m]1> I need to get better at amaranth
<whitequark[cis]> oh man, i only know some of those off the top of my head
<owoday[m]1> I knew none of them lmao
<whitequark[cis]> okay, so you want 100BASE-T1L, 10BASE-T1L and 10BASE-T1S right?
<whitequark[cis]> those are all kinda on my list esp 10BASE-T1 variants
<whitequark[cis]> how much do you wanna spend
<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]> lemme dig out the p/n
<owoday[m]1> Oh sick
sigstoat[m] has joined #glasgow
<sigstoat[m]> yeah it's not crazy expensive or anything. microchip has got this widget https://www.microchip.com/en-us/development-tool/EV02N47A for US$60
<sigstoat[m]> (i just discovered that 10gbase-T1 exists and somebody sells sfp+ modules for it. crazy.)
<whitequark[cis]> if you buy me one of these and one of the matching usb variant id be happy to make sure it works with the rmii applet
<whitequark[cis]> (also to actually upstream the rmii applet)
<owoday[m]1> Nice very cheap
<owoday[m]1> Do you have a p.o box
<owoday[m]1> Or cash transfer
<whitequark[cis]> cash transfer seems easiest, where are you at? im in uk
<owoday[m]1> seattle
<whitequark[cis]> lemme dm
<owoday[m]1> Cool
<_whitenotifier-5> [glasgow] AaronJackson reviewed pull request #796 commit - https://github.com/GlasgowEmbedded/glasgow/pull/796#discussion_r2089847373
<whitequark[cis]> so, improved applet API
<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