ChanServ changed the topic of #rust-embedded to: Welcome to the Rust Embedded IRC channel! Bridged to #rust-embedded:matrix.org and logged at https://libera.irclog.whitequark.org/rust-embedded, code of conduct at https://www.rust-lang.org/conduct.html
crabbedhaloablut has quit [Ping timeout: 255 seconds]
crabbedhaloablut has joined #rust-embedded
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #rust-embedded
IlPalazzo-ojiisa has quit [Remote host closed the connection]
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #rust-embedded
<re_irc> <the tab openoor (spookyvision@{github,cohost})> this sounds like something might know about
<re_irc> < (@jamesmunns:beeper.com)> Not something I'm specifically familiar with! My background is more functional safety
<re_irc> <the tab openoor (spookyvision@{github,cohost})> : it turned out to be (at least in the F103 scenario) THE USB CABLE, it was charger only
<re_irc> <the tab openoor (spookyvision@{github,cohost})> extra nefarious because my brain went "eh, mcu lights up, cable can't be bad!"
<re_irc> <the tab openoor (spookyvision@{github,cohost})> still unsure what broke the F4, but maybe at the time my brain was already in ragequit tired mode and made silly mistakes
<re_irc> <the tab openoor (spookyvision@{github,cohost})> (the F4 was connected via a known good USB-C cable, the charger cable was micro USB)
starblue has quit [Ping timeout: 256 seconds]
starblue has joined #rust-embedded
causal has quit [Quit: WeeChat 3.7.1]
<re_irc> <the tab openoor (spookyvision@{github,cohost})> yeah, F4 works. oh well.
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #rust-embedded
GenTooMan has quit [Ping timeout: 260 seconds]
GenTooMan has joined #rust-embedded
cyrozap has quit [Read error: Software caused connection abort]
cyrozap has joined #rust-embedded
<re_irc> < (@pauldfaria:matrix.org)> Does anyone have a recommended blue tooth module they use with rust? I'm trying to find code+hardware but I'm having trouble finding anything that's being actively maintained. My go to board has been rp2040 based, and I'm looking for something breakout friendly if possible (to use with my existing rp2040 boards).
dnm has quit [Read error: Software caused connection abort]
dnm has joined #rust-embedded
conplan has quit [Remote host closed the connection]
conplan has joined #rust-embedded
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #rust-embedded
edm has quit [Read error: Software caused connection abort]
edm has joined #rust-embedded
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #rust-embedded
SanchayanMaity has quit [Read error: Software caused connection abort]
SanchayanMaity has joined #rust-embedded
IlPalazzo-ojiisa has joined #rust-embedded
inara has quit [Quit: Leaving]
inara has joined #rust-embedded
explore has joined #rust-embedded
<re_irc> < (@jamesmunns:beeper.com)> the tab openoor (spookyvision@{github,cohost}): take the scissors to that cable and put it in the recycling!
andvari[m] has quit [Quit: Bridge terminating on SIGTERM]
oak- has quit [Quit: Bridge terminating on SIGTERM]
oak- has joined #rust-embedded
starblue has quit [Ping timeout: 248 seconds]
starblue has joined #rust-embedded
<re_irc> < (@dirbaio:matrix.org)> the tab openoor (spookyvision@{github,cohost}): oh no 😭
<re_irc> < (@dirbaio:matrix.org)> I hate those
jrgriffiniiieth[ has joined #rust-embedded
conplan has quit [Remote host closed the connection]
explore has quit [Quit: Connection closed for inactivity]
genpaku has quit [Read error: Connection reset by peer]
genpaku has joined #rust-embedded
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #rust-embedded
causal has joined #rust-embedded
causal has quit [Ping timeout: 246 seconds]
causal has joined #rust-embedded
causal has quit [Client Quit]
causal has joined #rust-embedded
causal has quit [Client Quit]
causal has joined #rust-embedded
causal has quit [Client Quit]
causal has joined #rust-embedded
<re_irc> < (@eldruin:matrix.org)> obligatory xkcd https://xkcd.com/1892/
emerent has quit [Ping timeout: 252 seconds]
emerent has joined #rust-embedded
<re_irc> < (@adamgreig:matrix.org)> hi room , meeting time again! agenda is https://hackmd.io/uJcT37lRRh2Af-p6OGkHqg, please add anything you'd like to announce or discuss and we'll start in 5min :)
<re_irc> <Milo Moisson> : Great one
<re_irc> < (@adamgreig:matrix.org)> ok, let's start! i don't actually have any announcements this week, anyone else?
<re_irc> < (@therealprof:matrix.org)> I got nothing. 😉
<re_irc> < (@adamgreig:matrix.org)> quiet week then :)
<re_irc> < (@adamgreig:matrix.org)> asked if anyone would be interested in helping to run a Mastodon account for the WG; on Twitter we basically RT embedded rust related tweets, people looking for/offering jobs, that sort of thing, so basically the same on mastodon for anyone familiar with it
<re_irc> < (@adamgreig:matrix.org)> (we also have a cohost https://cohost.org/rustembedded)
<re_irc> < (@mygnu:matrix.org)> I'm happy to help
<re_irc> < (@mygnu:matrix.org)> As long as the rules are clear 😅
<re_irc> < (@jamesmunns:beeper.com)> First steps would be (IMO):
<re_irc> - Picking a server (I think?)
<re_irc> - Setting up the account
<re_irc> - Getting the person helping on the resources wg group
<re_irc> < (@adamgreig:matrix.org)> I don't know if mastodon has any way to share accounts beyond sharing passwords? conceivably you could authenticate a particular client I guess
<re_irc> < (@jamesmunns:beeper.com)> The general mode of operation is:
<re_irc> - Pick a way for people to notify you (@ mentions on twitter, # tags on cohost), make sure people know how
<re_irc> - basically retweet (or repost or boost) anything that gets mentioned, as long as it isn't spammy
<re_irc> < (@mygnu:matrix.org)> I there are clients that allow you to keep multiple accounts
<re_irc> < (@jamesmunns:beeper.com)> (my rule of thumb for "spammy" is 'not relevant' or 'more than once a week or so')
dc740 has joined #rust-embedded
<re_irc> < (@adamgreig:matrix.org)> does anyone have thoughts on a server? conceivably something like fosstodon.org but idk if there's been any more rust-centric ones
<re_irc> < (@thejpster:matrix.org)> The cool kids are on hachyderm.io
<re_irc> < (@mygnu:matrix.org)> hachyderm.io has a lot of rust people
<re_irc> < (@thejpster:matrix.org)> I know Ferrous has to apply because it’s a business, and Kris is the BFDL and makes the call
<re_irc> < (@thejpster:matrix.org)> Unsure if whatever the hell we are against needs to apply
<re_irc> < (@mygnu:matrix.org)> But chaos.social has a lot of embedded people I think
<re_irc> < (@jamesmunns:beeper.com)> I suggest we set up a "RE on mastodon" issue (I can do this), where we figure out:
<re_irc> - Which server its gunna be on
<re_irc> - Who's gunna run it
<re_irc> < (@thejpster:matrix.org)> You can also just run an instance for about £50 per month, plus your time.
<re_irc> < (@thejpster:matrix.org)> Good idea. Can’t fix it all now.
<re_irc> < (@jamesmunns:beeper.com)> I have no opinions (it would be good to have an existing RE member who is active on mastodon to help make/evaluate decisions!), then I can help with any knowledge transfer "how to be an open source brand" stuff :)
<re_irc> < (@adamgreig:matrix.org)> I don't think we want to run our own instance, and we certainly don't have £50 a month (though I think in practice it's more like free+your own time, assuming you have a server somewhere)
<re_irc> < (@thejpster:matrix.org)> (Can we host a matrix Server that isn’t lagged to hell too?)
<re_irc> < (@adamgreig:matrix.org)> you can host your own matrix server :P
<re_irc> < (@jamesmunns:beeper.com)> I pay for a service, works great for me :D
<re_irc> < (@adamgreig:matrix.org)> most users will be on matrix.org anyway, so us hosting our own server isn't likely to make a difference for most users, and it's not like we'd want people to sign up for personal accounts on it
<re_irc> < (@jamesmunns:beeper.com)> (though I don't think it has hosted rooms yet, topic for another time)
<re_irc> < (@adamgreig:matrix.org)> (for matrix)
<re_irc> < (@k900:0upti.me)> Even if you host a separate server, it will still be just as slow for everyone federating
<re_irc> < (@k900:0upti.me)> Which is most people
<re_irc> < (@adamgreig:matrix.org)> if you could open an issue that would be great , and maybe cc on it? I'm also "active" on mastodon so happy to help get it set up
<re_irc> < (@thejpster:matrix.org)> Tag me in the mastodon ticket. I’m on a Twitter break and I volunteered to help work migrate anyway.
<re_irc> < (@jamesmunns:beeper.com)> Will do! What's your GH id ?
<re_irc> < (@k900:0upti.me)> (that is for Matrix, not Mastodon)
<re_irc> < (@mygnu:matrix.org)> It's mygnu
<re_irc> < (@adamgreig:matrix.org)> cool! sounds like we can probably make this work then, thanks all
<re_irc> < (@adamgreig:matrix.org)> next up, about critical-section 0.2?
<re_irc> < (@dirbaio:matrix.org)> yup!
<re_irc> < (@dirbaio:matrix.org)> so:
<re_irc> < (@dirbaio:matrix.org)> 3 months have passed since critical-section 1.0 release
<re_irc> < (@dirbaio:matrix.org)> current status is almost all the ecosystem has updated to 1.0
<re_irc> - 4 crates on crates.io that are still depending on 0.2 exclusively
<re_irc> < (@dirbaio:matrix.org)> except
<re_irc> - rp2040-hal, which depends on both
<re_irc> < (@jannic:matrix.org)> The workaround in rp2040-hal was meant to provide a smooth upgrade path. I thing there's nothing wrong with doing a new release which drops the old dependency, so 0.2 can be yanked.
<re_irc> < (@jamesmunns:beeper.com)> (https://github.com/rust-embedded/wg/issues/647 opened tracking mastodon)
<re_irc> < (@dirbaio:matrix.org)> rp2040-hal is interesting, if you request it to supply the impl it'll supply it for both 0.2 and 1.0
<re_irc> < (@jannic:matrix.org)> * think
<re_irc> < (@dirbaio:matrix.org)> and if not, it still depends on 0.2 setting the "custom-impl" feature to deliberately sabotage linking crates that still use 0.2 to prevent footguns (I think? correct me if I'm wrong )
<re_irc> < (@jannic:matrix.org)> Exactly, it just claims to support 0.2, but it will break if you try to use it.
<re_irc> < (@dirbaio:matrix.org)> so
<re_irc> < (@dirbaio:matrix.org)> keeping 0.2 around is a footgun because it defaults to doing the "disable all interrupts" critical section implementation
<re_irc> < (@dirbaio:matrix.org)> for example: the other day I was working on something that required a custom CS, I had supplied it for 1.0 but I was inadvertently using defmt-rtt 0.3 which uses c-s 0.2, which built fine but at runtime it disabled all irqs even if I didn't want to 😭
<re_irc> < (@dirbaio:matrix.org)> so I thought perhaps now's the time to kill 0.2 for good by yanking it
<re_irc> <the tab openoor (spookyvision@{github,cohost})> I recently tried to use defmt-rtt 0.4 but then ran into a protocol incompatibility because defmt itself was (is, I think) still at 0.3. So maybe the defmt folks need a poke to bump?
<re_irc> < (@dirbaio:matrix.org)> no, defmt-rtt 0.4 uses defmt 0.3. there's no defmt 0.4
<re_irc> < (@adamgreig:matrix.org)> are there many reverse deps on the 4 crates that depend on 0.2?
<re_irc> <the tab openoor (spookyvision@{github,cohost})> ok! didn't work for me but I'll investigate
<re_irc> < (@adamgreig:matrix.org)> i wouldn't usually expect to yank a crate just because we want people to use the new version, but the way every crate in your project should ideally be using the same version is an incentive
<re_irc> < (@dirbaio:matrix.org)> : very little downloads and zero reverse deps
<re_irc> < (@dirbaio:matrix.org)> I linked them in the hackmd
<re_irc> < (@adamgreig:matrix.org)> we could also release 0.2.8 and 1.1.2 with links=critical-section so you can't have both v1 and v0.2 at the same time
<re_irc> < (@dirbaio:matrix.org)> hm that's technically a breaking change isn't it?
<re_irc> < (@adamgreig:matrix.org)> has the advantage of a more useful error message and doesn't break anything hypothetically using just 0.2, but....
<re_irc> < (@adamgreig:matrix.org)> I guess it could break if some other crate was already writing links=critical-section
<re_irc> < (@dirbaio:matrix.org)> I mean it's "more breaking" than yanking, which doesn't change anything for existing projects (which have 0.2 in Cargo.lock)
<re_irc> < (@adamgreig:matrix.org)> yea, I don't especially like kit
<re_irc> < (@adamgreig:matrix.org)> * it
<re_irc> < (@9names:matrix.org)> Isn't yanking technically a breaking change?
<re_irc> < (@adamgreig:matrix.org)> do you think many people are accidentally using 0.2 though? I wonder how common it is
<re_irc> < (@dirbaio:matrix.org)> and IMO there's_ really no reason something should be using 0.2
<re_irc> < (@dirbaio:matrix.org)> * anything
<re_irc> < (@adamgreig:matrix.org)> yea
<re_irc> < (@adamgreig:matrix.org)> if yanking it right now would break rp2040-hal that's a fairly significant annoyance, but once rp2040-hal removes the dependency on 0.2 (or makes it optional separate to 1.0 I guess), then yanking it means people's projects would keep working until they update, at which point both c-s and rp2040-hal would update
<re_irc> < (@dirbaio:matrix.org)> accidentally using 0.2 indirectly is quite easy
<re_irc> < (@dirbaio:matrix.org)> like, copypasting from some old project using defmt-rtt 0.3
<re_irc> < (@dirbaio:matrix.org)> which happened to me 💩
<re_irc> < (@adamgreig:matrix.org)> ah, right, so just by accidentally using an old version of a project that used to depend on 0.2
<re_irc> < (@dirbaio:matrix.org)> and it all compiles fine, then does the wrong thing at runtime :D
<re_irc> < (@jannic:matrix.org)> Looks like I was wrong - it doesn't break, it allows to use the old API. It just provides an implementation. Anyways - this still just was a transitional solution, so it can be removed now.
<re_irc> < (@dirbaio:matrix.org)> so: do we want to yank? y/n
<re_irc> < (@adamgreig:matrix.org)> no objection but I'd wait until rp2040-hal has a release without it and possibly drop an issue on the four other projects to let them know?
<re_irc> < (@dirbaio:matrix.org)> and if yes, what's the process?
<re_irc> perhaps something like: send PRs to the affected crates, wait for at least rp2040-hal release, then wait for 1 month, then yank?
<re_irc> < (@adamgreig:matrix.org)> sgtm
<re_irc> < (@dirbaio:matrix.org)> cool
<re_irc> < (@dirbaio:matrix.org)> if there are no objections
<re_irc> < (@dirbaio:matrix.org)> I'll create a tracking issue on the c-s repo and get to it
<re_irc> < (@dirbaio:matrix.org)> :D
<re_irc> < (@adamgreig:matrix.org)> thanks!
<re_irc> < (@adamgreig:matrix.org)> does anyone have anything else to discuss this week?
<re_irc> < (@9names:matrix.org)> https://matrix.to/#/!BHcierreUuwCMxVqOf:matrix.org/$AaCveEvKwTLOSHxBiqYZNGxctHNB_ORMcZcMSRUxLdc?via=matrix.org&via=psion.agg.io&via=tchncs.de
<re_irc> < (@thejpster:matrix.org)> Just a quick note that my Neotron Pico boards arrive Friday and I’ll start shipping to beta testers
<re_irc> < (@9names:matrix.org)> Did anyone have something to add on that question?
<re_irc> < (@thejpster:matrix.org)> I may have some spares I can sell. DM me if you want a micro ATX RP2040 board with video and audio and SD card and can write some drivers.
causal has quit [Quit: WeeChat 3.7.1]
<re_irc> < (@dkhayes117:matrix.org)> If anyone is interested in the cellular nrf9160, this kit is on sale. Comes with 500mb prepaid data and has an e-peas energy harvester on board.
<re_irc> < (@dirbaio:matrix.org)> as a random announcement: latest nightlies have usable async-fn-in-trait! https://blog.rust-lang.org/inside-rust/2022/11/17/async-fn-in-trait-nightly.html
causal has joined #rust-embedded
<re_irc> < (@dirbaio:matrix.org)> there's an embedded-hal-async PR https://github.com/rust-embedded/embedded-hal/pull/407
<re_irc> < (@dirbaio:matrix.org)> there's been a few fixes that will be out in today's nightly which I think should be enough to merge it
<re_irc> < (@dirbaio:matrix.org)> except there's a TAIT regression too... 😅
<re_irc> < (@dirbaio:matrix.org)> so porting embassy to it will have to wait for a few days more
<re_irc> < (@9names:matrix.org)> bythemachine: Judging by the silence I think the answer is: no.
<re_irc> I'm kinda curious what you're doing though, if you have time to elaborate.
sknebel_ has joined #rust-embedded
vancz_ has joined #rust-embedded
jrgriffiniiieth[ has quit [*.net *.split]
vancz has quit [*.net *.split]
sknebel has quit [*.net *.split]
dc740 has quit [Remote host closed the connection]
jrgriffiniiieth[ has joined #rust-embedded
IlPalazzo-ojiisa has quit [Remote host closed the connection]