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
<ian_rees[m]> s/caching/alignment/
adamgreig[m] has quit [Quit: Idle timeout reached: 172800s]
cinemaSundays has quit [Quit: Connection closed for inactivity]
ivche_ has joined #rust-embedded
ivche has quit [Ping timeout: 252 seconds]
ivche_ is now known as ivche
thalesfragoso[m] has quit [Quit: Idle timeout reached: 172800s]
_whitelogger has joined #rust-embedded
hmw has quit [Quit: Bye.]
hmw has joined #rust-embedded
<thejpster[m]> oof
pcs38 has joined #rust-embedded
pcs38 has quit [Client Quit]
pcs38 has joined #rust-embedded
pcs38 has quit [Client Quit]
pcs38 has joined #rust-embedded
jsolano has quit [Quit: leaving]
M9names[m] has quit [Quit: Idle timeout reached: 172800s]
<thejpster[m]> hi-five on https://github.com/rust-embedded/cortex-m/pull/588 to fix the cortex-m-rt CI
jsolano has joined #rust-embedded
RobinMueller[m] has quit [Quit: Idle timeout reached: 172800s]
JamesMunns[m] has quit [Quit: Idle timeout reached: 172800s]
phcoder_cat[m] has quit [Quit: Idle timeout reached: 172800s]
<ckrenslehner[m]> <thejpster[m]> "the https://www.actinius.com/..."; <- thanks :-)
montymintypie[m] has joined #rust-embedded
<montymintypie[m]> Resurrecting this 2-week old conversation since I'm hitting the same issue - specifically that this races: `loop { gpio.wait_for_low().await; do_something().await; }`... (full message at <https://catircservices.org/_irc/v1/media/download/AUwDfy4B_mhuMX9ygLqgcGYyXwmVfeuEWIG4oxda1Hyz7onuRcvPqdUNV9wR8pAsqNl6OHgW7velGeXTw4vQbx6_8AAAAAAAAGNhdGlyY3NlcnZpY2VzLm9yZy9CRXJpZ1B3VllDdWNyWnh6Z3dDcnJ4cHI>)
JamesMunns[m] has joined #rust-embedded
<JamesMunns[m]> <JamesMunns[m]> "Not sure how it would fit into..." <- I think you really have two options:
<JamesMunns[m]> 1. Make a different interface that returns some kind of stream, so events aren't lost
<JamesMunns[m]> 2. Make a different interface, like WaitCell has, that allows you to "anchor" the future before awaiting. There's still a small window you could miss events, it's just smaller because it doesn't include the time spent on `do_something().await`.
<JamesMunns[m]> <JamesMunns[m]> "Not sure how it would fit into..." <- I don't really understand what you mean by "rewinding the future".
<montymintypie[m]> Oh it's not something that rust would let you do, I'm certain. Something like transmuting the future itself (and thus its state machine) into a byte buffer, then restoring that after the future is awaited. Truly horrific code-design.
<montymintypie[m]> 1. is interesting. In my hobby project (bluetooth mouse), I just need to know that _something_ happened so I can wake up and send a packet - it's ok if the inputs didn't change after all, but losing an edge means a button can be erroneously held down
<montymintypie[m]> I'm currently tossing up between the "persistent events" approach (which involves a great deal of vendoring of the gpio hal code...) or just spinning my own ISRs that set a semaphore
<montymintypie[m]> I'm more surprised that this race doesn't come up as a problem more often, the original conversation (and the mirrored github conversation) is the only comment I've found online about it, outside of the embassy RP hal which notes the race as a concern
JasperHarrison[m has joined #rust-embedded
<JasperHarrison[m> Does anyone have any of the following STM MCUs they can run a test on? I'd like to see if an embassy feature is working on them, as I suspect it is broken on all boards, but want to confirm.... (full message at <https://catircservices.org/_irc/v1/media/download/ARU9ZqwabrOdllh2UZLoyKO-yQc84h11tEcgH-UgM3Lk7PWfj8vl_HtLpDcsYtRc169iFpt2cMRw-Daekj0Sjp-_8AAAAAAAAGNhdGlyY3NlcnZpY2VzLm9yZy94UHpFeGVyaWNQUWVYSFJaWXpPckNxVGE>)
GrantM11235[m] has quit [Quit: Idle timeout reached: 172800s]
pcs38 has quit [Ping timeout: 268 seconds]
<ckrenslehner[m]> I can run the test on the wb55 tomorrow 🚀
isinfinity[m] has joined #rust-embedded
<isinfinity[m]> I
pcs38 has joined #rust-embedded
adamgreig[m] has joined #rust-embedded
<adamgreig[m]> <JasperHarrison[m> "Does anyone have any of the..." <- > <@legorooj:matrix.org> Does anyone have any of the following STM MCUs they can run a test on? I'd like to see if an embassy feature is working on them, as I suspect it is... (full message at
JuanesPaz[m] has joined #rust-embedded
<JuanesPaz[m]> <JasperHarrison[m> "Does anyone have any of the..." <- > <@legorooj:matrix.org> Does anyone have any of the following STM MCUs they can run a test on? I'd like to see if an embassy feature is working on them, as I suspect it is... (full message at
<JuanesPaz[m]> <JasperHarrison[m> "Does anyone have any of the..." <- > <@legorooj:matrix.org> Does anyone have any of the following STM MCUs they can run a test on? I'd like to see if an embassy feature is working on... (full message at <https://catircservices.org/_irc/v1/media/download/Ab_xtLPq2VEiX0JRJ54XZVrEqjE5sUohl31ZlkAa0Zeo5jjljjv3n17RLGqrW9KAODsZNbgSx79pgT3w9vtTCku_8AAAAAAAAGNhdGlyY3NlcnZpY2VzLm9yZy93aldWZkhPemxvWkZ4UnluaE5DVVV0Y1c>)
<JasperHarrison[m> I will upload shortly :) thanks
<dirbaio[m]> <JasperHarrison[m> "I will upload shortly :) thanks..." <- You can test all these in the embassy ci yourself
<dirbaio[m]> Either pushing to the pr, or ask me for a token so you can "cargo run" locally
<JasperHarrison[m> <dirbaio[m]> "You can test all these in the..." <- I've just double checked the lists I've got, and most actually are in the embassy test rack (I forgot to account for the fact that a lot of these chips are families and share the same hardware details in regards to this, however there's two which are not:
<JasperHarrison[m> WLEx family
<JasperHarrison[m> h723,h725,h730,h733,h735 - these are all one family, so results should be identical across them
<JasperHarrison[m> So adamgreig and Juanes Paz if you're able to test these two that would be greatly appreciated, rust project below, you'll need to adjust `Cargo.toml` and `.cargo/config.toml` to have the correct chip, after that a simple `cargo run` will get you going.
ouilemur has joined #rust-embedded
pcs38 has quit [Quit: leaving]
<adamgreig[m]> ugh, sorry, only got wl55 and other h7, none of the 2/3
ana_briated has quit [Remote host closed the connection]
ana_briated has joined #rust-embedded
ana_briated has quit [Remote host closed the connection]
ana_briated has joined #rust-embedded