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
IlPalazzo-ojiisa has quit [Quit: Leaving.]
starblue has quit [Ping timeout: 265 seconds]
bjc has joined #rust-embedded
starblue has joined #rust-embedded
dc740 has quit [Remote host closed the connection]
causal has quit [Quit: WeeChat 3.7.1]
causal has joined #rust-embedded
genpaku has quit [Remote host closed the connection]
genpaku has joined #rust-embedded
causal has quit [Read error: Connection reset by peer]
causal has joined #rust-embedded
causal has quit [Ping timeout: 256 seconds]
causal has joined #rust-embedded
IlPalazzo-ojiisa has joined #rust-embedded
bjc has quit [Ping timeout: 268 seconds]
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #rust-embedded
loki_val has joined #rust-embedded
crabbedhaloablut has quit [Quit: No Ping reply in 180 seconds.]
causal has quit [Quit: WeeChat 3.7.1]
dc740 has joined #rust-embedded
loki_val has quit [Quit: No Ping reply in 180 seconds.]
crabbedhaloablut has joined #rust-embedded
bjc has joined #rust-embedded
<re_irc> < (@CyReVolt:matrix.org)> : Thank you, sounds good! I've exchanged a bit with folks at Backspace (hackerspace in Bamberg) yesterday. They were very curious about embedded Rust and find the abstractiony (BSC, HAL, PAC) quite interesting. :-)
crabbedhaloablut has quit [Read error: Connection reset by peer]
crabbedhaloablut has joined #rust-embedded
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #rust-embedded
<re_irc> < (@ryan-summers:matrix.org)> alvela: Next time feel free to ping me here ;) Sorry I haven't been regularly monitoring Matrix lately
<re_irc> <Ralph> i'm using a SparkFun Motor Driver - Dual TB6612FNG (https://www.sparkfun.com/products/14451) which is a typical 2-motor h-bridge DC motor controller with a shutdown pin (to disable both motors at the same time). i've written a small driver for it but now realised that there's already an extremely similar driver for a completely different motor controller, l298n (https://github.com/lucazulian/l298n) (the only difference...
<re_irc> ... that i can see is that this one has a dedicated enable pin per motor, though that isn't implemented in the crate - i guess most people - myself included - will just keep the motor enabled at all times by directly pulling the pin high/low (depending on the chip)).
<re_irc> AFAIK all such h-bridge motor controllers are virtually identical (each motor is controlled by two digital pins to select brake/stop/forward/backwards and a PWM to select the speed for the forward/backwards mode).
<re_irc> would it make sense to have
emerent has quit [Ping timeout: 260 seconds]
emerent_ has joined #rust-embedded
emerent_ is now known as emerent
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #rust-embedded
<re_irc> <Ransford Hyman> einferd: Pretty cool that you are working on this because this was going to be one of my projects for Embedded Rust πŸ™‚ πŸ‘πŸΏπŸ‘πŸΏπŸ‘πŸΏ
dc740 has quit [Remote host closed the connection]
crabbedhaloablut has quit [Ping timeout: 255 seconds]
crabbedhaloablut has joined #rust-embedded
IlPalazzo-ojiisa has quit [Remote host closed the connection]
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #rust-embedded
<re_irc> < (@dirbaio:matrix.org)> is there any downside of doing "extern crate alloc" on targets that do support "std"?
<re_irc> < (@dirbaio:matrix.org)> like, some weird target where it's not available..?
<re_irc> < (@dirbaio:matrix.org)> or is it always guaranteed to be available if "std" is?
<re_irc> < (@timbod7:matrix.org)> Cargo-embed is really nice. I'm using it for some stm32f401 development. But does anyone else find the tui display for the rtt output frustrating? specifically: the text output is lost when you interrupt the command, you can't scroll back through the output, or cut and past from it.
<re_irc> Is there a better tool or way to use it? It would seem more useful to just dump the rtt output to stdout and collect it in the contained terminal session.
<re_irc> < (@adamgreig:matrix.org)> you can at least tell it to dump the logs to a text file and then check that
<re_irc> < (@adamgreig:matrix.org)> probe-run is also popular and prints log outputs normally, but with multiple lines per log it can also get pretty noisy (it uses the same underlying probe-rs library so supports the same things, but works in a slightly different way and is developed by different people)
<re_irc> < (@adamgreig:matrix.org)> I mean, embed.toml can be configured to log rtt to a log file inside target/ as well as the tui display
<re_irc> < (@timbod7:matrix.org)> : Ah - I was looking for a command line flag. That will help - thanks!
<re_irc> < (@timbod7:matrix.org)> Just tried it out - much better thanks!