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
glitchy has quit [Ping timeout: 264 seconds]
glitchy has joined #rust-embedded
GenTooMan has quit [Quit: Leaving]
bandini has joined #rust-embedded
<thejpster[m]> <dngrs[m]> the [issue discussion](https://github.com/rust-lang/rust/issues/131894) is quite something
<thejpster[m]> It notes that on some systems the hypervisor cannot read the guest memory. So it couldn’t manually emulate the instruction even if it wanted to.
<whitequark[cis]> right, the execute-only feature
<whitequark[cis]> probably also whatever arm's version of SEV is called
<whitequark[cis]> it's still cursed but i have to concede that the motivation is legitimate. i guess now we have to consider MMIO as a part of the ABI?
<thejpster[m]> Rust has no mechanism for that though
<thejpster[m]> It knows about function calls and types with special rules, but not loads and stores. So it has to be written in assembly, which is what safe-mmio does.
<whitequark[cis]> yeah I know, I meant "we" as in "the community of compiler devs"
<whitequark[cis]> since this problem isn't going away
<Socke> how can I use probe-rs to flash the esp32c3 with a different partition table?
<Socke> probe-rs run seems to only accept the elf binary
<Socke> I can come up with something like espflash flash --partition-table=.. target/... && probe-rs attach target/... but that seems... long :D
<Socke> (and also I cannot put it as a runner into the .cargo/config.toml)
<DnielBuga[m]> Socke: `--idf-partition-table`
<Socke> DnielBuga[m]: nice! thanks!
<Socke> oh... I skipped the "DOWNLOAD CONFIGURATION" section when reading through the help because I thought "no, I want to upload" m(
<Socke> well :D
<DnielBuga[m]> yeah if you have two options to name something, both will be used 😅
<Socke> is it expected, that I sometimes loose log messages logged through the rtt_target crate? they just don't seem to show up, especially when I have long messages. is that a bug?
<DnielBuga[m]> if you log a lot and the rtt buffer gets full, then yes, probe-rs will not set RTT channels to block automatically
<DnielBuga[m]> except for defmt
rainbyte has quit [Read error: Connection reset by peer]
rainbyte has joined #rust-embedded
OlivierCornu[m] has quit [Quit: Idle timeout reached: 172800s]
GenTooMan has joined #rust-embedded
<Socke> can I somehow set them to block or do I have to use defmt?
wassasin[m] has quit [Quit: Idle timeout reached: 172800s]
az1[m] has joined #rust-embedded
<az1[m]> Socke: yeah, you can set channels to blocking mode. it should be in the rtt-target docs.
<Socke> okay thanks :)
<az1[m]> However I think probe-rs sets defmt channels to block by default.
<az1[m]> You can change that behavior on the command line.
sroemer has joined #rust-embedded
<thejpster[m]> Yeah that .gnu.sgstubs thing is an LLD issue. arm-none-eabi-ld is happy with the script as written.
<diondokter[m]> Yup, I had discovered that in the past as well 🙃
<thejpster[m]> ugh
<thejpster[m]> is this an LLD bug?
gkoebel has quit [Read error: Connection reset by peer]
gkoebel has joined #rust-embedded
gkoebel has joined #rust-embedded
gkoebel has quit [Changing host]
RobinMueller[m] has joined #rust-embedded
<RobinMueller[m]> Hi!
<RobinMueller[m]> I recently created a workshop with the intention to teaching Embedded Rust + embassy to students and employees at my workplace using a micro:bit v2. feedback so far was very positive, and everything is open source :)
<RobinMueller[m]> There is also a dedicated multitasking exercise showing how to use the interrupt executor and the various IPC mechanisms. The workshop book can be found here: https://robamu.github.io/embedded-workshop/book/introduction.html
<Socke> az1[m]: unfortunately didn't find anything in the probe-rs help to put the channel into blocking mode
<dngrs[m]> Socke: there's also a [probe-rs](https://matrix.to/#/%23probe-rs:matrix.org) room, maybe some additional folks over there that can help
gkoebel has quit [Remote host closed the connection]
gkoebel has joined #rust-embedded
<az1[m]> Socke: You might have to build from git until 0.32 is released.
rainingmessages1 has quit [Quit: bye]
rainingmessages1 has joined #rust-embedded
exark has joined #rust-embedded
sroemer has quit [Quit: WeeChat 4.7.2]
bandini has quit [Quit: WeeChat 4.9.2]
gkoebel has quit [Read error: Connection reset by peer]
halloy1690 has joined #rust-embedded
halloy1690 has quit [Client Quit]
JonathanKeller[m has quit [Quit: Idle timeout reached: 172800s]