cr1901 has quit [Read error: Connection reset by peer]
cr1901 has joined #rust-embedded
starblue has quit [Ping timeout: 268 seconds]
starblue has joined #rust-embedded
radens has joined #rust-embedded
dc740 has quit [Remote host closed the connection]
dc740 has joined #rust-embedded
dc740 has quit [Remote host closed the connection]
emerent has quit [Ping timeout: 240 seconds]
emerent has joined #rust-embedded
crabbedhaloablut has quit [Ping timeout: 246 seconds]
crabbedhaloablut has joined #rust-embedded
<re_irc>
<@firefrommoonlight:matrix.org> I hope EGUI eventually makes it to embedded. A common perception is that Rust has no good GUI libs. I disagree, as EGUI is awesome. Caveat of it won't look native
starblue has quit [Ping timeout: 264 seconds]
starblue has joined #rust-embedded
IlPalazzo-ojiisa has joined #rust-embedded
smach has joined #rust-embedded
<re_irc>
<@nvsd:matrix.org> Has anyone run into issues using critical-section with the rp-pico board crate?
<re_irc>
<@nvsd:matrix.org> Feel like the only thing I havent tried is sacrificing my first born
<re_irc>
<@dirbaio:matrix.org> what error are you getting?
<re_irc>
<@nvsd:matrix.org> I'm getting a type mismatch
<re_irc>
| ------ ^^^ expected `&CriticalSection`, found `&CriticalSection<'_>`
<re_irc>
*UART = GLOBAL_UART.borrow(&cs).take();
<re_irc>
| |
<re_irc>
|
<re_irc>
| arguments to this method are incorrect
<re_irc>
= note: `critical_section::CriticalSection<'_>` and `cortex_m::interrupt::CriticalSection` have similar names, but are actually distinct types
<re_irc>
<@nvsd:matrix.org> I'm 99% sure this is just a feature config issue but I can't determine the best route
<re_irc>
<@dirbaio:matrix.org> use "critical_section::Mutex", not "cortex_m::interrupt::Mutex"
<re_irc>
<@nvsd:matrix.org> oh
<re_irc>
<@nvsd:matrix.org> my
<re_irc>
<@nvsd:matrix.org> god
smach has quit [Quit: Leaving]
<re_irc>
<@nvsd:matrix.org> Thank you!
<re_irc>
<@nvsd:matrix.org> after you mentioned that I went back and checked my use statements against the example and it was all messed up lol. That's what I get for relying on the code actions
<re_irc>
<@nvsd:matrix.org> also reading the error would have helped me lol