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
AtleoS has joined #rust-embedded
rmsyn[m] has quit [Quit: Idle timeout reached: 172800s]
M762spr[m] has joined #rust-embedded
<M762spr[m]> Have you looked at embedded HAL?
<M762spr[m]> <fuse117[m]> "i am working with an i2c..." <- Have you looked at embedded HAL?
<M762spr[m]> theres also async flavor
pflanze has quit [Read error: Connection reset by peer]
pflanze has joined #rust-embedded
<Lumpio-> I'm not sure if it's feasible to try to get the async version to work with a C library that probably expects a blocking read/write function
owlfed[m] has joined #rust-embedded
<owlfed[m]> Hello, sorry I think this is a common question, I will do some things with rust and microcontroller, I will buy them maybe next Monday.
<owlfed[m]> ESP32 vs STM32
<owlfed[m]> I will sense things like electrical signal, WiFi things, flow, etc… but I do not know what micro do I need to buy?
AlexandervanSaas has joined #rust-embedded
<AlexandervanSaas> ESP32 has wifi so that would be convenient.
<owlfed[m]> I will use some 4g too
<owlfed[m]> AlexandervanSaas: Wifi and BT
ragarnoy[m] has quit [Quit: Idle timeout reached: 172800s]
IlPalazzo-ojiisa has joined #rust-embedded
pkoevesdi[m] has joined #rust-embedded
<pkoevesdi[m]> Hey everybody. I thought I try it here, I'm a rust embedded beginner and have hard times getting Octospi on a STM32H730BV working. I posted it here: https://users.rust-lang.org/t/problem-with-embassy-stm32-new/111166/3. Shall I repost my question here or is it better to just point to there? Thanks!
M9names[m] has joined #rust-embedded
<M9names[m]> dirbaio is everywhere so it probably doesn't matter too much where you post it :)
<M9names[m]> but #embassy-rs:matrix.org is where i would recommend you ask about embassy-related things
<pkoevesdi[m]> M9names[m]: Ok, thank, then I try it there.
AdamHott[m] has joined #rust-embedded
<AdamHott[m]> <owlfed[m]> "Hello, sorry I think this is a..." <- > <@owlfed:matrix.org> Hello, sorry I think this is a common question, I will do some things with rust and microcontroller, I will buy them maybe next Monday.... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/kHqBXFlMCoBMMHMsmUCaZjAS>)
<AdamHott[m]> That's like the intro to embedded rust, it's what I followed about 6 months ago and I had success with that
<AdamHott[m]> But it doesn't have Wifi
wassasin[m] has joined #rust-embedded
<wassasin[m]> Got an gpio expander with interrupts on input pins, and configuring/de-configuring the interrupts is an interesting issue as it is all async and dropping the pin leaves an interrupt register still configured. Talk by @dirbaio @ RustNL inspired me to panic in the drop function to disallow it.... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/ojGCfOeRIJStTZNEZoxzajKH>)
<wassasin[m]> As he said you can still core::mem::forget the pin, but don't do that
<Lumpio-> I get the feeling getting an actual async drop trait is years out, I wonder if it'd be possible to add some kind of compile time workaround at least
<Lumpio-> Some kind of CannotAutoDrop type that is a compile time error to drop automatically, and has to be done through a std::mem::yes_i_really_want_to_drop
<wassasin[m]> Yes this
RobertJrdens[m] has quit [Quit: Idle timeout reached: 172800s]
<Lumpio-> Oh no it's almost 10 years old too...
IlPalazzo-ojiisa has quit [Ping timeout: 268 seconds]
explodingwaffle1 has joined #rust-embedded
<explodingwaffle1> is there a risc-v room or is this the place to ask questions about those crates?
thejpster[m] has joined #rust-embedded
<thejpster[m]> link for later: https://godbolt.org/z/PhxGabqW7
AtleoS has quit [Ping timeout: 268 seconds]
AtleoS has joined #rust-embedded
TrevorRHClarke[m has joined #rust-embedded
<TrevorRHClarke[m> I'm having some trouble with the embedded hal on a stm32f103...using the latest versions of the crates. Here's an example to create the issue.... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/OxirpJpZdxdVBObPnPBFbDbu>)
<TrevorRHClarke[m> * I'm having some trouble with the embedded hal on a stm32f103...using the latest versions of the crates. Here's an example to create the issue.... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/KsvUAKnaMgIYjDNUaVrENxNA>)
burrbull[m] has joined #rust-embedded
<burrbull[m]> different `embedded-hal` versions?
<burrbull[m]> incomplete `1.0` support is here: https://github.com/stm32-rs/stm32f1xx-hal/pull/416
danielb[m] has quit [Quit: Idle timeout reached: 172800s]
ragarnoy[m] has joined #rust-embedded
<ragarnoy[m]> Is there an UART trait somewhere or is the general idea to require a generic such as `UART: Read<u8, Error = E> + Write<u8, Error = E>` ?
JamesMunns[m] has joined #rust-embedded
<JamesMunns[m]> ragarnoy[m]: Check out "embedded-io"
henrik_alser[m] has joined #rust-embedded
<ragarnoy[m]> <JamesMunns[m]> "Check out "embedded-io"" <- yeah I know about it but io, it gives the Read and Write io but there are no equivalent of SpiDevice definitions for uart is kind of what I meant
<dirbaio[m]> I'd you mean the SpiBus/SpiDevice split: there is no need, there's no equivalent of CS pins or bus sharing in uart. 
<dirbaio[m]> If you mean why there's no uart traits: the io traits *are* the uart traits. Uart is a byte stream, the io traits are a byte stream. 
avery71[m] has joined #rust-embedded
<avery71[m]> `embedded-io` seems cool, are there any crates that utilize the traits from it?
<avery71[m]> oh shoot, I never realized the crates site had list of reverse dependencies. I normally just skip to the docs or directly to the repo
firefrommoonligh has quit [Quit: Idle timeout reached: 172800s]