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
pflanze has quit [Read error: Connection reset by peer]
pflanze has joined #rust-embedded
Guest7282 has left #rust-embedded [Error from remote client]
cr1901 has quit [Read error: Connection reset by peer]
cr1901 has joined #rust-embedded
MathiasKoch[m] has quit [Quit: Idle timeout reached: 172800s]
Guest7282 has joined #rust-embedded
<michaeldesilva[m> Hmm, I'm having a brain fart moment. If I have this, how can I write an Anytype wrapper on Pin (type-erasure):... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/vgOZTgwfhuREVTFHzZkwHgtx>)
<michaeldesilva[m> * Hmm, I'm having a brain fart moment. If I have this, how can I write an Anytype wrapper on Pin (type-erasure) - basically `got_pin` should be of type `PinWrapper<&mut Pin<_>>`... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/zehKktJnVxLZXImCFolPuwBx>)
<michaeldesilva[m> * Hmm, I'm having a brain fart moment. If I have this, how can I write an Anytype wrapper on Pin (type-erasure) - basically `got_pin` should be of type `PinWrapper<&mut Pin<_>>`... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/UNMupXvxaDfPFmBgTGUueonz>)
Guest7282 has left #rust-embedded [Error from remote client]
IlPalazzo-ojiisa has joined #rust-embedded
IlPalazzo-ojiisa has quit [Ping timeout: 260 seconds]
IlPalazzo-ojiisa has joined #rust-embedded
Guest7282 has joined #rust-embedded
<michaeldesilva[m> For no_std if I setup type erasure is this a good crate for downcasting? https://crates.io/crates/downcast-rs
thejpster[m] has quit [Quit: Idle timeout reached: 172800s]
dreamcat4 has quit [Quit: Connection closed for inactivity]
<JamesMunns[m]> Sorry, what are you actually trying to do michael.desilva, like big picture?
<JamesMunns[m]> Usually HALs will provide an `AnyPin` or something, or a "degraded" pin
<JamesMunns[m]> if your HAL doesn't offer that (like some way to go from PA04 -> "Pin"), then I'd probably consider that a fault in the HAL, and maybe use something like `embassy-stm32` instead.
<JamesMunns[m]> If you are trying to write a driver that works on any pin, even across HALs, then you might want something else, but if you are just trying to erase the difference between PA04 and PE03, then that is usually solved by the HAL.
<JamesMunns[m]> stm32h7xx-hal does offer this: https://docs.rs/stm32h7xx-hal/latest/stm32h7xx_hal/gpio/struct.Pin.html#method.erase
<JamesMunns[m]> but again, not super clear what you're trying to do, and if this is an X/Y problem
<michaeldesilva[m> <JamesMunns[m]> "Sorry, what are you actually..." <- I found my debugger had trouble stepping into certain blocks so I decided to toggle another LED - just to cofirm the logic path. I haven't been able to see any defmt output, so... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/XfdbfofhoTaJeytDWHSxxMRy>)
<michaeldesilva[m> > <@jamesmunns:beeper.com> Sorry, what are you actually trying to do michael.desilva, like big picture?... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/eQhawzefIjXTuYIxwTeBcrPA>)
<michaeldesilva[m> * I found my debugger had trouble stepping into certain blocks so I decided to toggle another LED - just to cofirm the logic path. I haven't been able to see any defmt output, so... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/nknyAjocqgOdiaGHDvihLoLa>)
<michaeldesilva[m> * I found my debugger had trouble stepping into certain blocks so I decided to toggle another LED - just to cofirm the logic path. I haven't been able to see any defmt output, so... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/kepKcYMcpbKyPREAijPMjZtb>)
Foxyloxy has quit [Quit: Textual IRC Client: www.textualapp.com]
<JamesMunns[m]> <michaeldesilva[m> "I found my debugger had trouble..." <- > <@michael.desilva:matrix.org> I found my debugger had trouble stepping into certain blocks so I decided to toggle another LED - just to cofirm the logic path. I haven't been able to see any defmt output, so... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/CcXlVgAWMrUNqHjHcrDOkIBY>)
Foxyloxy has joined #rust-embedded
Guest7282 has left #rust-embedded [Error from remote client]
Guest7282 has joined #rust-embedded
Marcuss2[m] has quit [Quit: Idle timeout reached: 172800s]
firefrommoonligh has quit [Quit: Idle timeout reached: 172800s]
eigenrick[m] has quit [Quit: Idle timeout reached: 172800s]
IlPalazzo-ojiisa has quit [Read error: Connection reset by peer]
crabbedhaloablut has quit []
IlPalazzo-ojiisa has joined #rust-embedded
crabbedhaloablut has joined #rust-embedded
IlPalazzo-ojiisa has quit [Ping timeout: 255 seconds]
IlPalazzo-ojiisa has joined #rust-embedded
SunClonus has joined #rust-embedded
SunClonusX has joined #rust-embedded
SunClonusX has quit [Remote host closed the connection]
SunClonus has quit [Remote host closed the connection]
SunClonus has joined #rust-embedded
SunClonus has quit [Quit: Leaving]
IlPalazzo-ojiisa has quit [Remote host closed the connection]