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: 260 seconds]
starblue has joined #rust-embedded
<thejpster[m]> <cr1901> "What options do I have to pass..." <- https://github.com/rust-lang/rust/pull/109860 seems relevant
<thejpster[m]> Basically you have to opt in to target features, even on nightly
<JamesMunns[m]> @diondokter
<JamesMunns[m]> err, looks like blog posting works :D
wassasin[m] has joined #rust-embedded
<wassasin[m]> Nice, good to know our suffering was helpful :D
<diondokter[m]> Ha cool! Nice
<thejpster[m]> Looks like they haven’t released it yet?
<thejpster[m]> But good to see it acknowledged.
corecode[m] has joined #rust-embedded
<corecode[m]> does anybody have a suggestion how to link vendor libs with --start-group / --end-group?
<corecode[m]> this is very very limiting
<corecode[m]> when i say vendor libs i mean vendor libs that are treated as native libs by cargo/rustc
<JamesMunns[m]> Usually you add linker commands to your RUSTFLAGS, or emit something in a build-rs to set static lib includes
<corecode[m]> yes, the problem is that I can't group them
<corecode[m]> I'll try putting them in a group in the linker script
<JamesMunns[m]> hmm, with RUSTFLAGS you should be able to pass multiple linker flags, which would allow you to pass start-group, your list of libs, then end group?
<JamesMunns[m]> I haven't tried that specifically tho
<corecode[m]> i guess i could, but then i have to manually copy all this library stuff from my system crate to the binary crate
<corecode[m]> this is dozens of libs, and it's sort of dynamic (can be changed based on a config file)
<corecode[m]> seems that the group in the linker script worked
Noah[m] has joined #rust-embedded
<Noah[m]> Who's at fosdem? :)
MarcTrius[m] has quit [Quit: Idle timeout reached: 172800s]
mark_great[m]1 has joined #rust-embedded
<mark_great[m]1> Best quality strains 🍁, vapes, carts, shrooms🍄, edibles, ice caps🥢, chocolate bars🍫, syrups, xtc, heroine, xanax, oxy, lsd, coke, meth,vapes, dmt, mdma,fakenotes, clone cards,Cashapp/PayPal flips... (full message at
<danielb[m]> At least they say they dont sell to underage
mark_great[m]1 has left #rust-embedded [#rust-embedded]
<Noah[m]> Yeah I :D I wanted to ban and realized this is not the probe-rs room so I am a lowly IC :D
PeterKrull[m] has quit [Quit: Idle timeout reached: 172800s]
uset18080[m] has joined #rust-embedded
<uset18080[m]> 降低室内
<uset18080[m]> 不今生今世
uset18080[m] has left #rust-embedded [#rust-embedded]
<cr1901> thejpster[m]: Yea I tried that and couldn't see any GP accesses in the final binary. Maybe the binary is too small (or -Oz inhibits it)
realroot[m]1 has joined #rust-embedded
<realroot[m]1> lulf how is going watchful bootloader?
<realroot[m]1> i am thinking to seal my pinetime so i can use it when there is some rain etc.
<cr1901> thejpster[m]: Why might I get "Error: failed to demangle defmt symbol `_sgot`: expected value at line 1 column 1" when running defmt-print on an ELF file?
<cr1901> Ahhh hmm... defmt didn't put things into the correct section
<cr1901> or maybe it did and I just haven't dug deeply enough
<cr1901> Okay nevermind I got it. Apparently -Tdefmt.x has to come _before_ -Tlink.x. Huh.
<cr1901> defmt works on msp430
<thejpster[m]> I don’t think the ordering matters on cortex-m. But we might make assumptions about region names and/or output section names.
<thejpster[m]> Cool to hear it works though.
judge[m] has joined #rust-embedded
<judge[m]> Hey guys … any recommendations for an async webserver crate that works with embassy_net?
Koen[m] has joined #rust-embedded
<Koen[m]> judge: we went with Picoserve for a PoC
<judge[m]> Koen: thx, I will take a look, I really don't need anything fancy just some thing small to handle a route to export some prometheus metrics ;)
<thejpster[m]> PSA: Cortex-R team needs members, so they can review https://github.com/rust-embedded/cortex-r/pull/4
<thejpster[m]> You don't need hardware - it all works in QEMU. You don't even need to know much about Cortex-R. Just read some basic Arm assembly.
mgudel[m] has joined #rust-embedded
<mgudel[m]> Hi, I'm implementing a Driver for a old SPI character display. The timing is a bit special, which makes it mandatory to have the driver handle the chip select.... (full message at <https://catircservices.org/_irc/v1/media/download/AZA-MdYFH9HYI6g_C7muQnyeoyVqH6hJw4vveW0AH6Gi47V5D1kl1XzpNRkIY4MXh_2ZsOcpu6Ac0ZapS-FN1t2_8AAAAAAAAGNhdGlyY3NlcnZpY2VzLm9yZy9LTEl4VU5rYVNMamhGWmx6b3J1aEF5QXg>)
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #rust-embedded