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
starblue has quit [Ping timeout: 268 seconds]
starblue has joined #rust-embedded
emerent has quit [Remote host closed the connection]
emerent has joined #rust-embedded
<re_irc> <@hardikthecoder:matrix.org> hey
<re_irc> <@hardikthecoder:matrix.org> +is anyone Know Rust embedded open source project, I would like to contribute
<re_irc> <@hardikthecoder:matrix.org> hey
<re_irc> is anyone Know Rust embedded open source project, I would like to contribute
<re_irc> <@imdoor:ilgt.lv> hey, this isn't strictly rust related, but I wanted to get some opinions on how reliable is i2c bus sharing in practice. i've seen people complaining online about i2c bus lockups but how likely am i to run into such issues? if i have GPIO to spare, should i just wire everything separately, or would that just be unsubstantiated paranoia? it's for a hobby project, I need to talk to just a few sensors
<re_irc> <@mameluc:matrix.org> hardik sharma: super broad, start working on something that interests you. When you find something that needs fixing, do it. That will force you to understand the code fully
<re_irc> <@mameluc:matrix.org> : my 2cnt is that if your i2c bus locks up you are screwed anyway as your code will wait forever for it to finnish. Many mcus have multiple i2c peripherals, if you have i2c pins to spare, why not use them. For hobby projects there is no need to do the optimal thing. For production there is a chance your chip is too beefy if you have a lot of pins unused.
<re_irc> <@mameluc:matrix.org> As a learning opportunity you might want to limit yourself to one bus. Then you have to understand how to share it and how to make it work
<re_irc> <@hardikthecoder:matrix.org> : yeah I m interested in embedded
<re_irc> <@hardikthecoder:matrix.org> I don't where to start
<re_irc> <@hardikthecoder:matrix.org> +know
<re_irc> <@hardikthecoder:matrix.org> I m curious in embedded
<re_irc> <@hardikthecoder:matrix.org> +system
<re_irc> <@mameluc:matrix.org> try getting a couple of dev boards from somewhere, get some leds to blink go from there
<re_irc> <@jannic:matrix.org> Perhaps build something you are interested in? Small robot? Some automation for your model railway? Automatic plant watering? Just chose something where you are sufficiently motivated to work on, but where no harm is done if you don't finish.
<re_irc> <@diondokter:matrix.org> I saw this video yesterday: https://www.youtube.com/watch?v=ZMQbHMgK2rw
<re_irc> Maybe some inspiration on what you could try :)
<re_irc> (Though probably start simple)
<re_irc> <@hardikthecoder:matrix.org> : thanks
<re_irc> <@mameluc:matrix.org> saw that video too. super interesting
<re_irc> <@mameluc:matrix.org> : something that keeps up your interest is a good way for keeping up the motivation 👍️
<re_irc> <@imdoor:ilgt.lv> hardik sharma: i've had good experience with the knurling sessions book, where you follow along to build a CO2 monitoring device https://session20q4.ferrous-systems.com/ it's somewhat expensive, though, to buy the parts you need, but a big plus for me, at least, was that you build something useful
IlPalazzo-ojiisa has joined #rust-embedded
dc740 has joined #rust-embedded
dc_740 has joined #rust-embedded
dc740 has quit [Read error: Connection reset by peer]
starblue has quit [Ping timeout: 240 seconds]
starblue has joined #rust-embedded
IlPalazzo-ojiisa has quit [Quit: Leaving.]
<re_irc> <@hardikthecoder:matrix.org> : I m interested in Smart Home Security System
<re_irc> <@hardikthecoder:matrix.org> +actually
emerent has quit [Ping timeout: 256 seconds]
emerent has joined #rust-embedded
<re_irc> <@hardikthecoder:matrix.org> : thanks
dc_740 has quit [Remote host closed the connection]
<re_irc> <@dirbaio:matrix.org> fun -> https://github.com/rust-lang/compiler-team/issues/629
<re_irc> <@tommygilligan:matrix.org> : testing this just now with pico + https://core-electronics.com.au/sd-card-module.html
<re_irc> Compiling embedded-sdmmc v0.5.0
<re_irc> --> /Users/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-sdmmc-0.5.0/src/lib.rs:126:13
<re_irc> error[E0252]: the name `debug` is defined multiple times
<re_irc> <@tommygilligan:matrix.org> i get this error with defmt-log enabled
<re_irc> |
<re_irc> 123 | use log::{debug, trace, warn};
<re_irc> | ----- previous import of the macro `debug` here
<re_irc> ...
<re_irc> 126 | use defmt::{debug, trace, warn};
<re_irc> | ^^^^^ `debug` reimported here
<re_irc> |
<re_irc> = note: `debug` must be defined only once in the macro namespace of this module
<re_irc> help: you can use `as` to change the binding name of the import
<re_irc> |
<re_irc> 126 | use defmt::{debug as other_debug, trace, warn};
<re_irc> | ~~~~~~~~~~~~~~~~~~~~
<re_irc> <@jamesmunns:beeper.com> Probably need
<re_irc> [dependencies.embedded-sdmmc]
<re_irc> version = ...
<re_irc> features = ["defmt-log"]
<re_irc> default-features = false
<re_irc> in your cargo toml
<re_irc> <@jamesmunns:beeper.com> looks like "log" is the default, and you can't have both enabled: https://github.com/rust-embedded-community/embedded-sdmmc-rs/blob/develop/Cargo.toml#L23-L25
<re_irc> <@jamesmunns:beeper.com> Weird this error didn't fire?
<re_irc> <@tommygilligan:matrix.org> nevermind i think i accidentally have default feature active
<re_irc> <@tommygilligan:matrix.org> : ty!
cr1901 has quit [Remote host closed the connection]
cr1901 has joined #rust-embedded
<re_irc> <@tommygilligan:matrix.org> testing this just now with pico + https://core-electronics.com.au/sd-card-module.html
<re_irc> <@tommygilligan:matrix.org> works for me
IlPalazzo-ojiisa has joined #rust-embedded
<re_irc> <@thejpster:matrix.org> yes that is weird
<re_irc> <@shakencodes:matrix.org> Does anyone have recommendations for a (small, simple) GUI appropriate for an embedded system? We'll be driving an e-Ink display, so it doesn't need to be fancy.
<re_irc> <@diondokter:matrix.org> : Take a look at embedded-graphics. Never used it but I hear good things
<re_irc> <@dngrs:matrix.org> maybe also embedded-layout (https://github.com/bugadani/embedded-layout) or embedded-menu (https://github.com/bugadani/embedded-menu), both of which build on top of e-g
<re_irc> <@bugadani:matrix.org> embedded-layout is just a silly little "move this Drawable next to that Drawable" library, though it might be useful
<re_irc> <@bugadani:matrix.org> embedded-menu is very immature and binarycolor-only
<re_irc> <@jamesmunns:beeper.com> btw I'm working on breaking out the terminal emulator I showed off a while back (unit tests in lieu of docs): https://github.com/tosc-rs/teletype/blob/main/crates/input-mgr/tests/exemplar.rs
<re_irc> <@bugadani:matrix.org> : I'll be honest, I don't remember this at all
<re_irc> <@jamesmunns:beeper.com> More viewable demo of this engine, with embedded graphics and minifb on top of it: https://www.youtube.com/watch?v=_gmjmLKpk08
<re_irc> <@bugadani:matrix.org> : ah great, someone needed something like this a few days ago
<re_irc> <@jamesmunns:beeper.com> (it's going for a more "text/im chat bubble" take on a terminal emulator)
<re_irc> <@bugadani:matrix.org> : time to delete most of embedded-text then 🙃
<re_irc> <@jamesmunns:beeper.com> : Nah, this is one really specialized tool, and you should totally steal any bits that are useful to you :D
<re_irc> <@shakencodes:matrix.org> Thank you, everyone!
dc740 has joined #rust-embedded
Darius_ has joined #rust-embedded
vancz has quit [*.net *.split]
Darius has quit [*.net *.split]
edm has quit [*.net *.split]
bpye has quit [*.net *.split]
limpkin has quit [*.net *.split]
Darius_ is now known as Darius
vancz has joined #rust-embedded
edm has joined #rust-embedded
bpye has joined #rust-embedded
limpkin has joined #rust-embedded
cr1901 has quit [Read error: Connection reset by peer]
cr1901 has joined #rust-embedded