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
<_whitenotifier-4> [glasgow] whitequark opened pull request #922: Modernize `program-ice40-sram` applet - https://github.com/GlasgowEmbedded/glasgow/pull/922
<_whitenotifier-4> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±1] https://github.com/GlasgowEmbedded/glasgow/compare/3b52ed1ca0ca...b003533ffcd8
<_whitenotifier-4> [GlasgowEmbedded/glasgow] whitequark b003533 - protocol.nbd: fix use of deprecated API.
<_whitenotifier-4> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-920-3b52ed1ca0caa1eb2f8be1f7029d351a5ac9c0a3 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] whitequark closed pull request #920: Modernize NBD protocol handler - https://github.com/GlasgowEmbedded/glasgow/pull/920
redstarcomrade has quit [Read error: Connection reset by peer]
<_whitenotifier-4> [glasgow] whitequark opened pull request #923: Be explicit if pin is required or optional in the CLI pin help text - https://github.com/GlasgowEmbedded/glasgow/pull/923
<_whitenotifier-4> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-922-b003533ffcd8ac4711d8362dc32049de890d0613 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-923-d98fd8ed37d2f1bc4e06439dc38093f7a82a2289 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 2 commits to main [+1/-0/±5] https://github.com/GlasgowEmbedded/glasgow/compare/b003533ffcd8...d98fd8ed37d2
<_whitenotifier-4> [glasgow] whitequark closed pull request #922: Modernize `program-ice40-sram` applet - https://github.com/GlasgowEmbedded/glasgow/pull/922
<_whitenotifier-4> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-922-b003533ffcd8ac4711d8362dc32049de890d0613 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] whitequark opened pull request #924: Modernize use of GPIO in `program-ice40-flash` - https://github.com/GlasgowEmbedded/glasgow/pull/924
<_whitenotifier-4> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±1] https://github.com/GlasgowEmbedded/glasgow/compare/d98fd8ed37d2...ac6f90da2c84
<_whitenotifier-4> [GlasgowEmbedded/glasgow] whitequark ac6f90d - applet: be explicit if pin is required or optional.
<_whitenotifier-4> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-923-d98fd8ed37d2f1bc4e06439dc38093f7a82a2289 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] whitequark closed pull request #923: Be explicit if pin is required or optional in the CLI pin help text - https://github.com/GlasgowEmbedded/glasgow/pull/923
<_whitenotifier-4> [glasgow] whitequark opened pull request #925: Add a `bridge` taxon and move `probe-rs` and `spi-flashrom` (now `flashrom`) to it - https://github.com/GlasgowEmbedded/glasgow/pull/925
<_whitenotifier-4> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-924-ac6f90da2c842ac5c8b1e5599274b46713c28077 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±2] https://github.com/GlasgowEmbedded/glasgow/compare/ac6f90da2c84...1078f201a2ab
<_whitenotifier-4> [GlasgowEmbedded/glasgow] whitequark 1078f20 - applet.program_ice40_flash: modernize use of GPIO.
<_whitenotifier-4> [glasgow] whitequark closed pull request #924: Modernize use of GPIO in `program-ice40-flash` - https://github.com/GlasgowEmbedded/glasgow/pull/924
<_whitenotifier-4> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-924-ac6f90da2c842ac5c8b1e5599274b46713c28077 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] fridtjof reviewed pull request #925 commit - https://github.com/GlasgowEmbedded/glasgow/pull/925#discussion_r2183995206
redstarcomrade has joined #glasgow
<_whitenotifier-4> [glasgow] whitequark synchronize pull request #925: Add a `bridge` taxon and move `probe-rs` and `spi-flashrom` (now `flashrom`) to it - https://github.com/GlasgowEmbedded/glasgow/pull/925
<_whitenotifier-4> [glasgow] whitequark reviewed pull request #925 commit - https://github.com/GlasgowEmbedded/glasgow/pull/925#discussion_r2184018610
<_whitenotifier-4> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-925-1078f201a2ab0f61108cdfe1bb7d3bb6d2b7efe9 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 1 commit to main [+8/-6/±3] https://github.com/GlasgowEmbedded/glasgow/compare/1078f201a2ab...233fdd231730
<_whitenotifier-4> [GlasgowEmbedded/glasgow] whitequark 233fdd2 - applet.bridge: new taxon.
<_whitenotifier-4> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-925-1078f201a2ab0f61108cdfe1bb7d3bb6d2b7efe9 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] whitequark closed pull request #925: Add a `bridge` taxon and move `probe-rs` and `spi-flashrom` (now `flashrom`) to it - https://github.com/GlasgowEmbedded/glasgow/pull/925
<_whitenotifier-4> [glasgow] whitequark opened pull request #926: Fix SPI/QSPI controllers to actually comply with Mode 3 - https://github.com/GlasgowEmbedded/glasgow/pull/926
<_whitenotifier-4> [glasgow] whitequark opened pull request #927: Modernize applet `program-nrf24lx1` - https://github.com/GlasgowEmbedded/glasgow/pull/927
<whitequark[cis]1> okay; my crimes have caught up to me and i realize i must implement SPI modes properly or things won't work
<_whitenotifier-4> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-926-233fdd231730df4bef5d265448c8e5a266be4174 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] whitequark opened pull request #928: Add stub mode parameter to SPI controller interface - https://github.com/GlasgowEmbedded/glasgow/pull/928
<_whitenotifier-4> [glasgow] whitequark synchronize pull request #928: Add stub mode parameter to SPI controller interface - https://github.com/GlasgowEmbedded/glasgow/pull/928
<_whitenotifier-4> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±4] https://github.com/GlasgowEmbedded/glasgow/compare/233fdd231730...afc9d80c0afe
<_whitenotifier-4> [GlasgowEmbedded/glasgow] whitequark afc9d80 - gateware.{spi,qspi}: fix to actually comply with Mode 3.
<_whitenotifier-4> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-926-233fdd231730df4bef5d265448c8e5a266be4174 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] whitequark closed pull request #926: Fix SPI/QSPI controllers to actually comply with Mode 3 - https://github.com/GlasgowEmbedded/glasgow/pull/926
redstarcomrade has quit [Read error: Connection reset by peer]
<_whitenotifier-4> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-928-afc9d80c0afea747ec35995aeaaab4713a74bbb7 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-928-afc9d80c0afea747ec35995aeaaab4713a74bbb7 - https://github.com/GlasgowEmbedded/glasgow
redstarcomrade has joined #glasgow
<jn> jtag-openocd seems like it would fall under 'bridge' as well
<jn> (although the protocol *can* be used for anything, it is intended as an interface to OpenOCD)
<whitequark[cis]1> oh. yes. i forgot about it
<_whitenotifier-4> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-928-afc9d80c0afea747ec35995aeaaab4713a74bbb7 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±3] https://github.com/GlasgowEmbedded/glasgow/compare/afc9d80c0afe...9545ba12dbcf
<_whitenotifier-4> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-928-afc9d80c0afea747ec35995aeaaab4713a74bbb7 - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [glasgow] whitequark closed pull request #928: Add stub mode parameter to SPI controller interface - https://github.com/GlasgowEmbedded/glasgow/pull/928
<_whitenotifier-4> [glasgow] whitequark opened pull request #929: Move `jtag-openocd` and `jtag-xvc` to `bridge` taxon, and rename `flashrom` back to `spi-flashrom` - https://github.com/GlasgowEmbedded/glasgow/pull/929
<_whitenotifier-4> [glasgow] whitequark synchronize pull request #929: Move `jtag-openocd` and `jtag-xvc` to `bridge` taxon, and rename `flashrom` back to `spi-flashrom` - https://github.com/GlasgowEmbedded/glasgow/pull/929
<whitequark[cis]1> it makes me very happy to have applets appear one by one in https://glasgow-embedded.org/latest/applets/index.html as they are ported to the V2 API
<jn> oh yes. documentation!
<whitequark[cis]1> yep! it's just the help text for applets and their subcommands turned into HTML via Sphinx, but i think that's very useful
<whitequark[cis]1> it's nicer than reading text in a terminal (well, depends on your preference) and it lets people view the options without running the entire stack
<jn> yep
<whitequark[cis]1> something that i still think would be incredibly cool is to have a fully webusb-based deployment
<jn> oh yeah. almost no set-up time
<jn> for a new user
<whitequark[cis]1> yep
<_whitenotifier-4> [glasgow] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-929-9545ba12dbcf2b870bd4f36a6bc27e70288d82df - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-4> [GlasgowEmbedded/glasgow] github-merge-queue[bot] pushed 2 commits to main [+8/-8/±7] https://github.com/GlasgowEmbedded/glasgow/compare/9545ba12dbcf...ec354a912d0d
<_whitenotifier-4> [GlasgowEmbedded/glasgow] whitequark 3b399ca - applet.{interface→bridge}.jtag_{openocd,xvc}.
<_whitenotifier-4> [GlasgowEmbedded/glasgow] whitequark ec354a9 - applet.bridge.{→spi_}flashrom.
<_whitenotifier-4> [glasgow] whitequark closed pull request #929: Move `jtag-openocd` and `jtag-xvc` to `bridge` taxon, and rename `flashrom` back to `spi-flashrom` - https://github.com/GlasgowEmbedded/glasgow/pull/929
<_whitenotifier-4> [glasgow] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-929-9545ba12dbcf2b870bd4f36a6bc27e70288d82df - https://github.com/GlasgowEmbedded/glasgow
<whitequark[cis]1> please send help, i'm investigating how to build emscripten shared libraries
<whitequark[cis]1> libtool is involved
redstarcomrade has quit [Read error: Connection reset by peer]
<whitequark[cis]1> i have solved the libtool problem by deleting the build system and replacing it with a 50 line shell script that works
<whitequark[cis]1> we have outgrown the need for build system, as a society.
galibert[m] has joined #glasgow
<galibert[m]> Now you have... zero problems actually
<whitequark[cis]1> exactly
<whitequark[cis]1> well, i have one
<whitequark[cis]1> it doesn't work (for non-build-system-related reasons)
<galibert[m]> it's emscripten, what did you except? :-)
<whitequark[cis]1> i expected it to work
<galibert[m]> I'm still always surprised when things work immediatly
<galibert[m]> glasgow being always surprising in that area incidentally
<whitequark[cis]1> haha, thanks ^^ an enormous amount of work went into it
redstarcomrade has joined #glasgow
redstarcomrade has quit [Changing host]
redstarcomrade has joined #glasgow
josHua[m] has joined #glasgow
<josHua[m]> a now-friend, early in his years of electronics, was building a tesla coil, and showed up on IRC one evening while he was in high school to update us on his progress, and was mentioning he was having some difficulty. he commented, 'I removed the GDT [gate drive transformer]', which resulted in the entire IRC going '?????'. I think about this a lot still. I do not know what he meant by this, because I am pretty sure he was not using
<josHua[m]> high side gate drivers at the time. (but, on the other hand, he went on to get a PhD in power electronics, so all's well that ends well.)
<josHua[m]> 'I have solved the libtool problem by deleting the build system' makes me think of this.
redstarcomrade has quit [Read error: Connection reset by peer]
redstarcomrade has joined #glasgow
GNUmoon has quit [Ping timeout: 244 seconds]
GNUmoon has joined #glasgow
redstarcomrade has quit [Read error: Connection reset by peer]
anubis has joined #glasgow
lxdr533 has quit [Quit: Bye]
anubis has quit [Remote host closed the connection]
<jn> fair enough, no libtool -> no libtool-specific problems
<whitequark[cis]1> i am now in emscripten hell
<jn> that's bad enough, it doesn't need libtool to make it worse :)
lxdr533 has joined #glasgow
sugarbeet has quit [Ping timeout: 244 seconds]
sugarbeet has joined #glasgow
twix has quit [Ping timeout: 260 seconds]
<whitequark[cis]1> i'm cursed
<jn> what a bug, oof
<whitequark[cis]1> it took me like two hours to triage and minimize!
Foxyloxy has quit [Read error: Connection reset by peer]
redstarcomrade has joined #glasgow
<galibert[m]> Hmmm, I have something weird
<galibert[m]> the pinouts
<galibert[m]> in my C3, the blue wires have a "S" written on them, and the red wires don't have anything
<galibert[m]> that web page says that red is sense and blue is vio
<galibert[m]> should I conclude the S is written on the wrong wire?
benny2366[m] has joined #glasgow
<benny2366[m]> S is probably signal and red is ja a VCC or voltage
<galibert[m]> signals are written 0-7, they're ok
<whitequark[cis]1> "S" is sense
<whitequark[cis]1> and it is blue
<whitequark[cis]1> that page was proofread by two people but despite that it still has a typo
<galibert[m]> that happens
<galibert[m]> hmmm, i2c-initiator is being weird
<galibert[m]> (I have the mu connected to bank A, even if turned off, so I don't want to power that side)
<galibert[m]> (oled screen I'm trying to switch on for the first time on B)
<whitequark[cis]1> i2c-initiator is using the applet V1 API. the applet V1 API has this problem
<whitequark[cis]1> i don't intend to fix the V1 API, the solution is to migrate the applet
<galibert[m]> oh?
<galibert[m]> ok then, good test case to convert it to V2 then
<galibert[m]> since I can test it
<galibert[m]> it's gonna be fun :-)
redstarcomrade has quit [Read error: Connection reset by peer]
<galibert[m]> (in case it's ambiguous, I mean for me to convert it)
<whitequark[cis]1> well, that's a little more complicated
<whitequark[cis]1> all of these other applets depend on i2c-initiator
<whitequark[cis]1> as in, they inherit from it
<whitequark[cis]1> to state the obvious, inheritance was a bad idea and object-oriented programming is mostly a mistake. but here we are
<galibert[m]> those I indeed can't test, what I have is a SSD1306
<whitequark[cis]1> of these, there are three even i can't test
<galibert[m]> well, blind conversion and if some work than maybe all work
<galibert[m]> oh, something I don't get, what's the difference between run and interact arguments?
<whitequark[cis]1> the new names for these are setup and run
<whitequark[cis]1> setup is executed for the script and repl mode as well
<galibert[m]> am I correct to think that the i2c-initiator in command line can only do scan and not f.i. write an arbitary packet?
<whitequark[cis]1> iirc yes
<whitequark[cis]1> there was no reason to add this since REPL exists
<galibert[m]> honestly not sure what repl is
<galibert[m]> oh, cli scripting
<galibert[m]> oh, python command line even, in-context
<galibert[m]> powerful
<galibert[m]> love that "safe" button. So reassuring
<galibert[m]> what's the correct way to reach sys_clk_freq now?
redstarcomrade has joined #glasgow
<galibert[m]> ah, 1 / self.assembly.sys_clk_period probably
redstarcomrade has quit [Read error: Connection reset by peer]
mwk has quit [Ping timeout: 268 seconds]
mwk has joined #glasgow
tpw_rules has left #glasgow [Textual IRC Client: www.textualapp.com]
tpw_rules has joined #glasgow
mwk has quit [Ping timeout: 272 seconds]
mwk has joined #glasgow
dne has quit [Remote host closed the connection]
dne has joined #glasgow