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
neceve has joined #rust-embedded
dc740 has quit [Remote host closed the connection]
<re_irc> < (@mciantyre:matrix.org)> James Logan: A few of us are playing around with the 1170 and other i.MX RT processors over here. I'm happy to get you involved. https://github.com/imxrt-rs/imxrt-hal/pull/121
<re_irc> <James Logan> : Awesome! I just ordered an 1170 eval kit today and will be traveling until mid next week, but I'll get in touch once I have hardware in-hand and have had a chance to take a look at the existing ral+hal and that PR
<re_irc> < (@mciantyre:matrix.org)> Sounds great! I hang around in the #imxrt-rs:matrix.org (https://matrix.to/#/#imxrt-rs:matrix.org) chat. Happy to help with board bring-up or answer questions there too.
<re_irc> <the tab openoor (spookyvision@{github,cohost})> Stephen D: Love the giant cat thumbnail
causal has quit [Quit: WeeChat 3.7.1]
<re_irc> <alvela> Is there a chat (matrix or otherwise) for RISCV embedded rust?
<re_irc> <alvela> I'm not seeing one on the awesome-embedded-rust page
<re_irc> < (@9names:matrix.org)> RISCV chat has been sufficiently low-volume that it hasn't been worth making a separate room for it.
<re_irc> esp32-c(2/3) stuff ends up in #esp-rs:matrix.org (https://matrix.to/#/#esp-rs:matrix.org) so it hasn't contributed to much chat traffic here either.
<re_irc> #gd32v-rust:matrix.org (https://matrix.to/#/#gd32v-rust:matrix.org) ended up being the de facto room for generic RISCV rust chat, if you're looking at an MCU family that doesn't have it's own room
neceve has quit [Ping timeout: 268 seconds]
IlPalazzo-ojiisa has joined #rust-embedded
causal has joined #rust-embedded
<re_irc> < (@korken89:matrix.org)> Has anyone seen this error with the "embedded-hal-async"?
<re_irc> error[E0760]: `async fn` return type cannot contain a projection or `Self` that references lifetimes from a parent scope
<re_irc> --> .../embedded-hal-async-0.2.0-alpha.0/src/spi.rs:326:76
<re_irc> |
<re_irc> < (@korken89:matrix.org)> A lot of these, maybe a nightly regression?
<re_irc> < (@dirbaio:matrix.org)> fixed in nightly-2022-11-22 or newer
<re_irc> < (@korken89:matrix.org)> Ah, I'm on an old nightly probably
<re_irc> < (@korken89:matrix.org)> Yep 2022-10-28
<re_irc> < (@korken89:matrix.org)> Thanks!
<re_irc> < (@dirbaio:matrix.org)> https://github.com/rust-lang/rust/pull/103491
sciGrim has joined #rust-embedded
dc740 has joined #rust-embedded
<re_irc> < (@firefrommoonlight:matrix.org)> James Logan: SVD2Rust error messages
<re_irc> < (@firefrommoonlight:matrix.org)> Currently the YAML patches fail silently
<re_irc> < (@firefrommoonlight:matrix.org)> Having explicit error messages and a syntax guide would be a boon for stm32 and other PACs that have broken SVDs
<re_irc> < (@firefrommoonlight:matrix.org)> (The STM32G0B chat above is related; caused by broken SVD on those variants)
<re_irc> < (@firefrommoonlight:matrix.org)> If you're looking for a firmware project, find something from a sci-fi book that doesn't exist, and make it happen
<re_irc> < (@dirbaio:matrix.org)> that's svdtools, not svd2rust though
WSalmon has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
WSalmon has joined #rust-embedded
<re_irc> <Ralph> James Logan: if you're way too bored and are looking for a challenge you could try and write a rust driver for this TOF sensor: https://www.st.com/en/imaging-and-photonics-solutions/vl53l3cx.html
<re_irc> their C code (or their C++ code, if you prefer to look at their arduino driver) is a couple thousand lines long because they offloaded all the logic from the sensor into the driver.
<re_irc> since i didn't have the time for that i instead tried to use FFI to call into the driver from rust and to provide the I2C handling in rust (= FFI in the other direction again) but i didn't get it to work (for unknown reasons - it was able to read & write registers and i got values, but halfway through the boot sequence i just got wrong register values (0 instead of something else) and could never figure out why (i tested the...
<re_irc> ... sensor with the arduino library and there it worked fine).
<re_irc> i eventually gave up and instead just ordered a VL53L1X (different logic: here less logic is in the driver, more in the sensor) for which a crate exists: https://crates.io/crates/vl53l1x-uld
<re_irc> <James Logan> : Neat, I'll plan to take a look at that whenever I have a chip to make/update a pac for. Might update the tm4c hal to include some missing ADC registers and interrupt definitions, and that work might fit in nicely in that workflow
limpkin has quit [Remote host closed the connection]
limpkin has joined #rust-embedded
seer has quit [Quit: quit]
seer has joined #rust-embedded
sciGrim has quit [Ping timeout: 265 seconds]
emerent_ has joined #rust-embedded
emerent is now known as Guest3011
emerent_ is now known as emerent
Guest3011 has quit [Ping timeout: 256 seconds]
<re_irc> <Stephen D> My stm32f411-hal PR got merged. I'm officially an embedded developer mom
limpkin has quit [Ping timeout: 248 seconds]
limpkin has joined #rust-embedded
conplan has joined #rust-embedded
conplan1 has joined #rust-embedded
conplan has quit [Ping timeout: 252 seconds]