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
hyphened[m] has quit [Quit: Idle timeout reached: 172800s]
GrantM11235[m] has quit [Quit: Idle timeout reached: 172800s]
Dr_Who has quit [Read error: Connection reset by peer]
emerent has quit [Ping timeout: 264 seconds]
vancz has quit [Remote host closed the connection]
M9names[m] has quit [Quit: Idle timeout reached: 172800s]
vancz has joined #rust-embedded
emerent has joined #rust-embedded
StephenD[m] has quit [Quit: Idle timeout reached: 172800s]
Guest7282 has left #rust-embedded [Error from remote client]
Guest7282 has joined #rust-embedded
notgull has joined #rust-embedded
notgull has quit [Ping timeout: 256 seconds]
<sjm42[m]> OK, added a json api with Axum and now it is 2,5MB and fits only the ones with 4MB flash. But oof, it works just fine.
<sjm42[m]> Using shared state with Arc + tokio RwLock in async code and I have a baremetal irc bot with json api :D
jr-oss has quit [Ping timeout: 264 seconds]
jr-oss has joined #rust-embedded
notgull has joined #rust-embedded
IlPalazzo-ojiisa has joined #rust-embedded
notgull has quit [Ping timeout: 260 seconds]
notgull has joined #rust-embedded
disasm[m] has joined #rust-embedded
<disasm[m]> <luojia65> "Is it possible to release a..." <- Sorry for the delay, I granted you publish permissions for k210-hal and k210-pac, please check your profile on crates.io.
notgull has quit [Ping timeout: 264 seconds]
K900 has quit [Quit: Idle timeout reached: 172800s]
<FreeKill[m]> Okay! So my dumb F072 scrollwheel guy is running, now I want to dig into how it works. I've been using the probe-rs debugger just fine - are there any gotchas with that approach i should know about? I know most people talk about just using dbg! and rtt to inspect running programs
<JamesMunns[m]> `rtt_println`, vs `defmt`, does "real string formatting", which is a fair amount slower, uses more RAM, and transfers more data, because you are doing printf-style formatting on the MCU instead of on the PC. If you are somewhere time critical, that might cause problems.
<JamesMunns[m]> additionally if you are using the debugger (instead of logging) and set breakpoints, time-sensitive comms such as USB are likely to break, as you are preventing interrupts from firing, etc. You're not likely to be able to "step through" the USB connection and have it work.
<FreeKill[m]> That's alright, the USB interrupt isn't even enabled
<FreeKill[m]> So just standard embedded debuggin stuff :)
<JamesMunns[m]> yep, there's nothing wrong with using a debugger, it should work well! But most people don't because it causes problems with time sensitive stuff, and there's good "log style" tooling out there.
<FreeKill[m]> 👍
dngrs[m] has quit [Quit: Idle timeout reached: 172800s]
moerk[m] has joined #rust-embedded
<moerk[m]> anybody using the "debugger for probe-rs" in vs code? When I try to run my embassy project it says "Failed to launch probe-rs debug adapter: Executable 'probe-rs' was not found. But if I call probe-rs in vs code terminal I can run it.
dngrs[m] has joined #rust-embedded
<dngrs[m]> Can you specify the full path to the executable in the config somehow?
kenny has quit [Quit: WeeChat 4.1.2]
<moerk[m]> <dngrs[m]> "Can you specify the full path to..." <- I dont know
danielb[m] has joined #rust-embedded
<danielb[m]> <moerk[m]> "anybody using the "debugger..." <- make sure probe-rs is in your $PATH
<danielb[m]> otherwise, the extension settings has an input to specify the path
<danielb[m]> if you use multiple shells, make sure the one starting vscode can see the binary
sympatron[m] has quit [Quit: Idle timeout reached: 172800s]
dirbaio[m] has quit [Quit: Idle timeout reached: 172800s]
<danielb[m]> we literally wasted half an hour yesterday because coworker started vscode from fish, but sourced the cargo env stuff from bash and so we could use probe-rs from the terminal, but not from vscode
IlPalazzo-ojiisa has quit [Remote host closed the connection]
IlPalazzo-ojiisa has joined #rust-embedded
IlPalazzo-ojiisa has quit [Ping timeout: 256 seconds]
IlPalazzo-ojiisa has joined #rust-embedded
kenny has joined #rust-embedded
<SzczepanCielik[m> Anyone has working example of embedded-storage (or more specifically esp-storage)?
Danilo[m] has quit [Quit: Idle timeout reached: 172800s]
jcroisant has joined #rust-embedded
cr1901_ is now known as cr1901
holo[m] has quit [Quit: Idle timeout reached: 172800s]
IlPalazzo-ojiisa has quit [Quit: Leaving.]