<firefrommoonligh>
Absolutely. The answer is bump the min
_whitelogger has joined #rust-embedded
jfsimon has quit [Remote host closed the connection]
jfsimon has joined #rust-embedded
jfsimon has quit [Max SendQ exceeded]
jfsimon has joined #rust-embedded
jfsimon has quit [Max SendQ exceeded]
jfsimon has joined #rust-embedded
jfsimon has quit [Remote host closed the connection]
jfsimon has joined #rust-embedded
jannic[m] has joined #rust-embedded
<jannic[m]>
One good reason to keep compatibility with an older rust version is if you want your crate to be included in linux distributions: They often have the reasonable requirement that all included software needs to be built with the compiler version provided by the same distribution.
<jannic[m]>
This usually doesn't apply to crates that are only meant to used for embedded development, but if you create a library that can be useful both on embedded and on non-embedded targets, it may be worth considering.
<thejpster[m]>
that's a good point. "This crate is for me, and I will set it according to my needs" is a valid take. But "I want as many people to use my software and so I will make it easy to use, even on old rust compilers" is a different, but equally valid, take.
<thejpster[m]>
* many people as possible to use
therealprof[m] has joined #rust-embedded
<therealprof[m]>
Does anyone know a driver that will use the I2C transaction method?
<therealprof[m]>
I've seen a lot of todo!() in the HALs the last couple of days so I'm curious about a driver to test that.
Max[m] has quit [Quit: Idle timeout reached: 172800s]
sroemer has quit [Quit: WeeChat 4.5.2]
sourcebox[m] has quit [Quit: Idle timeout reached: 172800s]
pcs38 has joined #rust-embedded
<MichaFita[m]>
<M9names[m]> "I'm doing this stuff in my spare..." <- This is valid point of view (kind of especially in my case), but then I had contributors who don't follow `rustc` updated that fast.
hjeldin__[m] has quit [Quit: Idle timeout reached: 172800s]
<MichaFita[m]>
<jannic[m]> "One good reason to keep compatib..." <- No, I don't want PACs distributed with Linux... aside the fact I probably wouldn't want any of my crate distributed with Linux as their distribution is broken for Rust crates (they try to use it the same way as dynamic C/C++ libraries).
jason-kairos[m] has quit [Quit: Idle timeout reached: 172800s]
bitts[m] has quit [Quit: Idle timeout reached: 172800s]
pcs38 has quit [Ping timeout: 260 seconds]
pcs38 has joined #rust-embedded
lethalbit has joined #rust-embedded
<whitequark[cis]>
for those of you who know the pain of recovering a netlist of a board you're reverse engineering: you can do it much faster with boundary scan! https://mastodon.social/@whitequark/114564412970898277
<Mathias[m]>
Catherine: I saw your messages on Mastodon, and I was wondering how one could map the boundary scan to specific pins. Looking at the gist, the answer is you need a BSDL file for the SoC.
<Mathias[m]>
Pretty cool new application for Glasgow Interface Explorer.
<whitequark[cis]>
yep, I had to write a BSDL parser, which was distinctly unpleasant
<whitequark[cis]>
I've avoided it for like 5 years :D
pcs38 has quit [Quit: leaving]
DominicFischer[m has quit [Quit: Idle timeout reached: 172800s]
i509vcb[m] has quit [Quit: Idle timeout reached: 172800s]
cbjamo[m] has quit [Quit: Idle timeout reached: 172800s]
adamgreig[m] has quit [Quit: Idle timeout reached: 172800s]
<KevinPFleming[m]>
This is a bit surprising... compiling with Rust 1.87 and 'release' profile with maximum optimization, for thumbv6m. The 'memcpy' builtin is 420 bytes of object code.
<KevinPFleming[m]>
```134232668 00000420 t compiler_builtins::mem::memcpy::hb1afff1216b6a636```
<KevinPFleming[m]>
'memmove' is even worse, it's 938 bytes.