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
IlPalazzo-ojiisa has quit [Quit: Leaving.]
GrantM11235[m] has quit [Quit: Idle timeout reached: 172800s]
oneDragon[m] has quit [Quit: Idle timeout reached: 172800s]
starblue has quit [Ping timeout: 264 seconds]
starblue has joined #rust-embedded
Guest7282 has joined #rust-embedded
IlPalazzo-ojiisa has joined #rust-embedded
crabbedhaloablut has quit []
crabbedhaloablut has joined #rust-embedded
vollbrecht[m] has quit [Quit: Idle timeout reached: 172800s]
Ralph[m]1 has quit [Quit: Idle timeout reached: 172800s]
starblue has quit [Ping timeout: 252 seconds]
starblue has joined #rust-embedded
kenny has joined #rust-embedded
starblue has quit [Ping timeout: 268 seconds]
wyager[m] has joined #rust-embedded
<wyager[m]> What's the consideration between ending a panic handler with udf (panic_probe) vs cortex_m::peripheral::SCB::sys_reset()(panic_persist)?
<JamesMunns[m]> udf escalates into a hardfault, reset resets
<JamesMunns[m]> IIRC hardfaults in cortex-m-rt default to an endless loop?
<JamesMunns[m]> (technically what UDF does is a little different between M0 and other M3/4/7+ targets, but it'll trigger an exception, which if you aren't handling, will by default go into an endless loop. If you don't have a watchdog, it'll just spin forever instead of rebooting)
<wyager[m]> <JamesMunns[m]> "udf escalates into a hardfault..." <- Gotcha. I have this in my app:... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/QYWunaAUmuhGobaawLLQOIcm>)
<JamesMunns[m]> Uh I think if you fault while faulting you get a doublefault? I'm not sure if that retriggers hardfault or just does something else
<JamesMunns[m]> It appears "double fault lockup" is a thing, probably a "read the arm arm for more details"
<wyager[m]> This is simpler than the x86 thing haha
<wyager[m]> Traumatic memories of triple faults in OS class
starblue has joined #rust-embedded
<wyager[m]> Shoot. I was hoping it would be possible to approximate https://www.microsoft.com/en-us/research/wp-content/uploads/2016/11/trees-that-grow.pdf in Rust without HKTs using this technique, but the compiler seems to lack the ability to reason about impossible constructors when calculating object size:... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/RJyRcsUkNZnIeRIfyKkQxqpM>)
Guest7282 has left #rust-embedded [Error from remote client]
<wyager[m]> * Shoot. I was hoping it would be possible to approximate https://www.microsoft.com/en-us/research/wp-content/uploads/2016/11/trees-that-grow.pdf in Rust without HKTs using this technique, but the compiler seems to lack the ability to reason about impossible constructors when calculating object size:... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/GthIfSeDsJrjkiOSTqSjKeJN>)
starblue has quit [Ping timeout: 255 seconds]
starblue has joined #rust-embedded
Guest7282 has joined #rust-embedded
IlPalazzo-ojiisa has quit [Quit: Leaving.]