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
birdistheword99[ has quit [Server closed connection]
birdistheword99[ has joined #rust-embedded
pflanze has quit [Read error: Connection reset by peer]
pflanze has joined #rust-embedded
GuineaWheek[m] has quit [Quit: Idle timeout reached: 172800s]
bpye has quit [Quit: Ping timeout (120 seconds)]
bpye has joined #rust-embedded
dragos_p[m] has quit [Quit: Idle timeout reached: 172800s]
Noah[m] has quit [Quit: Idle timeout reached: 172800s]
Rustnoob[m] has joined #rust-embedded
<Rustnoob[m]> Quick question...what's the correct way to disable all interrupt on nrf52 family with softdevice not enabled??
<dirbaio[m]> critical_section::with()
dreamcat4 has quit [Quit: Connection closed for inactivity]
chedra[m] has quit [Quit: Idle timeout reached: 172800s]
phycrax[m] has quit [Quit: Idle timeout reached: 172800s]
<ManuelHatzl[m]> <juliand[m]> "> <@mhatzl:matrix.org> Hi..." <- that would be a possible workaround, yes.... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/VBrjpGkSAObyMKFlcWtEiFqv>)
t-moe[m] has quit [Quit: Idle timeout reached: 172800s]
RobertJrdens[m] has joined #rust-embedded
<RobertJrdens[m]> How do y'all use write!()/writeln!() against an embedded_io_async::Write? Anybody have a little wrapper ready that impls fmt::Write into a buffer and then async drains the buffer into the async::Write? Preferrably with an awrite!(async_write, stuff).await macro?
<JamesMunns[m]> The downside of the formatting machinery is that you can't really do it incrementally
<JamesMunns[m]> so you do usually need to format the whole thing into a buffer and then send it
<RobertJrdens[m]> I want to buffer
<RobertJrdens[m]> I think I said that.
<JamesMunns[m]> Yep! I wasn't sure what your awrite! macro would do
<JamesMunns[m]> (I would love to be able to incrementally format into a fixed size buffer, e.g. a 128 byte buffer, where even if the formatted string was a total of 512 bytes, you could alternate formatting and async sending; but you can't do this)
<JamesMunns[m]> but yeah, usually I writeln to a buffer, then do a normal async send(buf).await, I don't usually even macro it, but you could
t-moe[m] has joined #rust-embedded
<t-moe[m]> How do you guys extract test binaries built in a CI/CD pipeline?... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/cYZqjzwnkHlAAiplwZVaUZXq>)
<thejpster[m]> I don't think I've ever built test binaries and then not just executed them immediately.
juliand[m] has quit [Quit: Idle timeout reached: 172800s]
<vollbrecht[m]> <thejpster[m]> "I don't think I've ever built..." <- he wants to "immediately" execute them but they cant be run on the host machine, so he try's to get them and forward them.
<thejpster[m]> oh. Ferrocene does that, building aarch64 test binaries on Linux and then sending them over to an Aarch64 machine to execute. Pretty sure upstream Rust does it to.
<thejpster[m]> But I don't know how they do it. Probably not using `cargo test`
kenny has quit [Quit: WeeChat 4.2.2]
<vollbrecht[m]> t-moe: i don't know if that works but maybe we can convince that [out-dir](https://doc.rust-lang.org/cargo/reference/unstable.html#out-dir) unstable feature also works with test artifacts
<vollbrecht[m]> s/that/the/
<vollbrecht[m]> * t-moe: i don't know if that works but maybe we can convince the [out-dir](https://doc.rust-lang.org/cargo/reference/unstable.html#out-dir) unstable feature, to also work with test artifacts.
<thejpster[m]> t-moe: my esteemed colleagues tell me `cargo test --no-run --message-format=json` is a thing
<jessebraham[m]> Ooh that's good to know... thanks for that!
<vollbrecht[m]> can clean up [that](https://github.com/esp-rs/esp-hal/blob/main/.github/workflows/hil.yml#L76) abomination here now ? ;D
<vollbrecht[m]> though it works right? 😁
<jessebraham[m]> <vollbrecht[m]> "can clean up [that](https://..." <- Shhh 😂
<jessebraham[m]> Haha yeah it's been working, but is very much a temporary solution
<t-moe[m]> Nice. Thank you thejpster:
kenny has joined #rust-embedded
romancardenas[m] has quit [Quit: Idle timeout reached: 172800s]
ejpcmac[m] has quit [Quit: Idle timeout reached: 172800s]
AdamHord- has quit [Server closed connection]
AdamHorden has joined #rust-embedded
rmsyn[m] has quit [Quit: Idle timeout reached: 172800s]
adamgreig[m] has quit [Quit: Idle timeout reached: 172800s]
AlexKoz[m] has quit [Quit: Idle timeout reached: 172800s]
JamesMunns[m] has quit [Server closed connection]
JamesMunns[m] has joined #rust-embedded
whitequark[cis] has quit [Server closed connection]
whitequark[cis] has joined #rust-embedded
AlexandervanSaas has quit [Quit: Idle timeout reached: 172800s]
sigmaris has quit [Server closed connection]
sigmaris has joined #rust-embedded