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
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #rust-embedded
whitequark[cis] has joined #rust-embedded
<whitequark[cis]> <vollbrecht[m]> "Catherine: hope it's ok to..." <- in what way?
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #rust-embedded
<vollbrecht[m]> <whitequark[cis]> "in what way?" <- all users that used your bridge where constantly joining and leaving over a period of 30 min into this room
<vollbrecht[m]> vollbrecht[m]: at the time when i pinged you
<vollbrecht[m]> * and leaving this room over a
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #rust-embedded
_whitelogger_ has quit [Remote host closed the connection]
sroemer has joined #rust-embedded
_whitelogger_ has joined #rust-embedded
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #rust-embedded
sroemer has quit [Ping timeout: 260 seconds]
<dinkelhacker> Hi all, does anyone know how to force cargo to append ".eld
<dinkelhacker> Hi all, does anyone know how to force cargo to append ".elf" to the end of the executeable?
<dinkelhacker> I see there is https://doc.rust-lang.org/nightly/nightly-rustc/rustc_target/spec/struct.TargetOptions.html#structfield.exe_suffix but I don't get how I can set that?
explodingwaffle1 has joined #rust-embedded
<dinkelhacker> That's what I tried but it seems to have no effect.
<dinkelhacker> so in my cargo toml I have
<dinkelhacker> [[myapp]]
<dinkelhacker> name = "myapp"
<dinkelhacker> exe_suffix = "elf"
<dinkelhacker> I also tried to add it to the target options in the cargo config file
jsolano has quit [Quit: leaving]
<dinkelhacker> And I also tried to set it in my custom target.json (which I think should be the right place)
<dinkelhacker> omg ... the field "exe_suffix" translates to "exe-suffix" in the target json. So _ becomes -
jsolano has joined #rust-embedded
_whitelogger_ has quit [Remote host closed the connection]
Koen[m] has quit [Quit: Idle timeout reached: 172800s]
_whitelogger_ has joined #rust-embedded
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #rust-embedded
mheld[m] has joined #rust-embedded
<mheld[m]> I just set up a brand new project using the esp-idf-template (https://github.com/esp-rs/esp-idf-template/) but am running into compiling issues -- do I have cargo/rust misconfigured?
<mheld[m]> am getting yelled at (use of undeclared crate or module embedded_svc) even though I can see it in my Cargo.lock
_whitelogger_ has quit [Remote host closed the connection]
dkm[m] has quit [Quit: Idle timeout reached: 172800s]
<Ralph[m]1> <mheld[m]> "I just set up a brand new..." <- for esp related questions it's probably best to ask them over at https://matrix.to/#/#esp-rs:matrix.org
<mheld[m]> on it! ty
dirbaio[m] has quit [Quit: Idle timeout reached: 172800s]
<barafael[m]> I have an e-h@0.2 Serial type, and I'm calling .forward (from e-h-compat on it). But when I call my function with it, which requires an `embedded-io::Read`, then I get:... (full message at <https://catircservices.org/_irc/v1/media/download/AdhjAXvHxD-_75az3sQl6pD98FD_vrlkMr4xBgMtaayrcNv3zyUhBbM1Ga9B7EYOQc_cYlKMFKLvFEx97znQlhy_8AAAAAAAAGNhdGlyY3NlcnZpY2VzLm9yZy94cXRrREJJb1FpQklzR2dmZ3lwcW9hb0Y>)
<barafael[m]> anybody got a hunch why that might be?
<barafael[m]> nope
dirbaio[m] has joined #rust-embedded
<dirbaio[m]> missing Cargo feature embedded-io in embedded-hal-compat?
<barafael[m]> wait what
<dirbaio[m]> stm32h7xx_hal missing the 0.2 Read impls?
<dirbaio[m]> ah nope, e-h-compat doesn't forward Read https://github.com/ryankurte/embedded-hal-compat/blob/main/src/forward.rs#L310
<dirbaio[m]> probably because 0.2 didn't have blocking read, only nb read
<barafael[m]> ok, it's just an stm32h7 based example and the h7 hal isn't yet 1.0. Not a deal breaker I think
<dirbaio[m]> you can write your own adapter from the nb trait
<dirbaio[m]> or embassy-stm32 does support eh1.0 and e-io
<barafael[m]> this PR for e-h-1 look half way decent to you? https://github.com/tstellanova/ublox-core/pull/3
<dirbaio[m]> if you use SpiDevice then you don't want to handle the CS pin directly, that's done for you
<dirbaio[m]> ah it might not matter much because the SPI interface is all unimplemented!() 😅
<dirbaio[m]> still you might want to remove csn to not confuse someone if they decide to implement it
<dirbaio[m]> looks great otherwise 🚀
<barafael[m]> I'm not sure about that DeviceInterface trait...
<barafael[m]> dirbaio thanks for your hints!