<re_irc>
< (@korken89:matrix.org)> Oh I see an issue there now
<re_irc>
< (@korken89:matrix.org)> The old code does not do round to nearest
<re_irc>
< (@korken89:matrix.org)> Everything else in the lib does
IlPalazzo-ojiisa has joined #rust-embedded
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #rust-embedded
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #rust-embedded
IlPalazzo-ojiisa has quit [Quit: Leaving.]
IlPalazzo-ojiisa has joined #rust-embedded
<re_irc>
<Ralph> Milo Moisson: i'm currently also working on a small RC car and we're using an Nucleo F401RE board (which doesn't have any built-in wireless capabilities) and connect an Adafruit Bluefruit LE UART Friend (https://learn.adafruit.com/introducing-the-adafruit-bluefruit-le-uart-friend) extension board which you can just wire up using UART. they even have a small smartphone app and a custom protocol (all documented on the...
<re_irc>
... linked page) which has some useful interfaces, e.g. if you just need basic steering (left/right, forward/backward and 4 function buttons) you could just directly use that.
<re_irc>
< (@alex:matrix.sempto.net)> Is there a way to figure out what is pulling in certain functions? For example something is pulling in "core::fmt::Formatter::pad", yet I don't use any formatting in my code. And the panic handler is panic_halt so it should not be doing any formatting either
<re_irc>
< (@jamesmunns:beeper.com)> Hey , I'm not sure where the meeting agenda list lives nowadays, but could you please add "see if anyone wants to run a mastodon account for rust embedded" to the list?
<re_irc>
< (@jamesmunns:beeper.com)> I have a couple people on twitter asking about it, I still don't plan to use mastodon, for now at least, so I'm probably not the right person to run it, but happy to help someone get started.
bjc has quit [Remote host closed the connection]
bjc has joined #rust-embedded
<re_irc>
< (@adamgreig:matrix.org)> Will do!
causal has joined #rust-embedded
bjc has quit [Ping timeout: 268 seconds]
<re_irc>
<brxken128> is there an ideal way to configure a crate at compile time? currently i just have a file with all of the config options 💀
<re_irc>
<brxken128> called "config.rs"
<re_irc>
< (@jamesmunns:beeper.com)> Honestly: That's not a bad way.
<re_irc>
< (@jamesmunns:beeper.com)> I also made a crate (more of a "rough draft sketch") that lets you use a toml file to config multiple variables across multiple crates: https://github.com/jamesmunns/toml-cfg
<re_irc>
< (@adamgreig:matrix.org)> if only features could have values huh
<re_irc>
< (@adamgreig:matrix.org)> one feature per configuration bit
<re_irc>
< (@jamesmunns:beeper.com)> Yeah, toml-cfg more or less is my sketch of "how I would want compile-time parameters rather than rust's current configuration scheme"
<re_irc>
< (@jamesmunns:beeper.com)> A big design choice for that crate is that ONLY the "root" application can make configurations
<re_irc>
< (@jamesmunns:beeper.com)> e.g. if you have "app -> lib_a -> lib_b", "lib_a" isn't allowed to set any configuration values for "lib_b", "app" has to set both.
<re_irc>
< (@jamesmunns:beeper.com)> This gets around the conceptual issue of "what if "app" and "lib_a" disagree on how to configure "lib_b""
<re_irc>
< (@adamgreig:matrix.org)> have a build.rs that parses a C header file for #define, #ifdef, #undef, etc etc lol
<re_irc>
< (@adamgreig:matrix.org)> just like grandma used to do it
<re_irc>
< (@jamesmunns:beeper.com)> Yeah, that's pretty much exactly the value prop for toml-cfg
<re_irc>
< (@jamesmunns:beeper.com)> that's a useful thing from C that you can't really do (out of the box) in Rust.
<re_irc>
<brxken128> : this looks pretty good, thanks!
emerent has quit [Ping timeout: 240 seconds]
emerent has joined #rust-embedded
bjc has joined #rust-embedded
conplan1 has joined #rust-embedded
dc740 has joined #rust-embedded
IlPalazzo-ojiisa has quit [Remote host closed the connection]