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
rom4ik1 has joined #rust-embedded
jakzale_ has joined #rust-embedded
jakzale has quit [Read error: Connection reset by peer]
rom4ik has quit [Read error: Connection reset by peer]
rom4ik1 is now known as rom4ik
Rahix has quit [Read error: Connection reset by peer]
jakzale_ is now known as jakzale
fooker has quit [Ping timeout: 268 seconds]
_catircservices has quit [Ping timeout: 268 seconds]
_catircservices has joined #rust-embedded
fooker has joined #rust-embedded
Ekho has quit [Ping timeout: 268 seconds]
agg has quit [Ping timeout: 268 seconds]
agg has joined #rust-embedded
Rahix has joined #rust-embedded
Ekho has joined #rust-embedded
<ithinuel[m]> <thejpster[m]> "I finally looked at replacing my..." <- I have a few (μ)sdcards (some branded some not).
<ithinuel[m]> I’ll give it a try.
yruama_lairba[m] has joined #rust-embedded
<yruama_lairba[m]> hi, when using a nightly toolchain, is there a way to build the core lib documentation corresponding to a specific target ?
<yruama_lairba[m]> i'd like to do that because some core lib feature are target dependent
vollbrecht[m] has joined #rust-embedded
<vollbrecht[m]> i think that is not possible out of the box, as cargo doc is not aware of the provided rustup source code for rust if you look here for an open [issue](https://github.com/rust-lang/rfcs/issues/2324).
<vollbrecht[m]> A potential workaround is given in the issue by a user. He inserts the std::prelude in his crate and generate the docs that way. Simmilar could be done via a core::prelude
bpye has quit [Quit: Ping timeout (120 seconds)]
<yruama_lairba[m]> vollbrecht: thank for the link doing #[doc(inline)] pub use core; doesn the trick
<yruama_lairba[m]> * vollbrecht: thank for the link doing #\[doc(inline)\] pub use core; does the trick
bpye has joined #rust-embedded
AdamHorden has quit [Quit: Adam Horden | adam.horden.me]
<ithinuel[m]> <ithinuel[m]> "I have a few (μ)sdcards (some..." <- So, I’ve tried to run the current example (using embedded-sdmmc 0.5.0) but I can’t for some reasons 🤦 (I might be missing a pull up somewhere).
<ithinuel[m]> Nonetheless, I tried to update the example to use the latest (0.7.0) relying on embedded-hal-bus 0.2 to provide an `SpiDevice` (via `ExclusiveDevice`) but it won’t compile because of `AtomicBool` not having `compare_exchange` ☹️
<ithinuel[m]> * an `embedded_hal::spi::SpiDevice` (via, * of `portable_atomic::AtomicBool` not
PedroFerreira[m] has joined #rust-embedded
<PedroFerreira[m]> does anyone know of any (modern) references on the LD config file format? the official manual is pretty unreadable (at least to me), so if someone knows of any better resources, I'd be thankful
diondokter[m] has joined #rust-embedded
<diondokter[m]> PedroFerreira[m]: I know of this one: https://blog.thea.codes/the-most-thoroughly-commented-linker-script/
<PedroFerreira[m]> Oh, sweet, thank you so much!
<ithinuel[m]> <ithinuel[m]> "So, I’ve tried to run the..." <- I have no clue why it’d fail on that, the function seems to be there unconditionally.
<thejpster[m]> the cortex-m linker script also is quite well documented in terms of what the output sections are for (although not in terms of the syntax): https://github.com/rust-embedded/cortex-m/blob/master/cortex-m-rt/link.x.in
<thejpster[m]> it can also be useful to reference it against the ELF file format the most linkers are producing: https://en.wikipedia.org/wiki/Executable_and_Linkable_Format
<thejpster[m]> You can then see where the output section actually goes in the file (as recorded by the program header table) and where the input sections go (the section header table), and how both tables point to the same blob of bytes in the middle.
<ithinuel[m]> <ithinuel[m]> "I have no clue why it’d fail..." <- I’m a dum-dum, the sdcard adapter I was using expects a 0-5V interface/power supply.
<ithinuel[m]> I switched to another one and it works with embedded-sdmmc 0.5.0. I bumped to 0.6.0 and it works too.
<ithinuel[m]> Now trying to get the 0.7.0 to work.
<ithinuel[m]> <ithinuel[m]> "I’m a dum-dum, the sdcard..." <- Good news !!!
<ithinuel[m]> ithinuel[m]: I bumped to 0.7 and then to your branch.
<ithinuel[m]> It works with the SDCards (Sandisk & Kingston) that I have. I’ll try to find more.
<ithinuel[m]> <ithinuel[m]> "I bumped to 0.7 and then to your..." <- Well, another (older) Kingston 1GB reports `CardNotFound` and a Dane-Elec (2GB) reports `CantEnableCRC`.
<ithinuel[m]> ithinuel[m]: They’re all μSD as I couldn’t find a regular SDCard adapter.
<ithinuel[m]> I do have a bunch of regular size SDCard & even one MiniSDCard with the adapter to SDCard but no SDCard to SPI ☹️
<ithinuel[m]> ithinuel[m]: Let me know if you’d like me to test anything else 👍️
zagura has quit [Quit: Reconnecting]
zagura has joined #rust-embedded
cr1901_ has quit [Read error: Connection reset by peer]
cr1901 has joined #rust-embedded
AdamHorden has joined #rust-embedded
cokerrando[m] has quit [Quit: Idle timeout reached: 172800s]