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
inara has quit [Ping timeout: 252 seconds]
inara has joined #rust-embedded
jr-oss_ has joined #rust-embedded
jr-oss has quit [Ping timeout: 246 seconds]
conplan has joined #rust-embedded
IlPalazzo-ojiisa has quit [Quit: Leaving.]
jr-oss has joined #rust-embedded
jr-oss_ has quit [Ping timeout: 248 seconds]
starblue has quit [Ping timeout: 248 seconds]
starblue has joined #rust-embedded
conplan has quit [Ping timeout: 252 seconds]
conplan has joined #rust-embedded
causal has quit [Quit: WeeChat 3.7.1]
agg has quit [Read error: Software caused connection abort]
agg has joined #rust-embedded
seer has quit [Read error: Software caused connection abort]
seer has joined #rust-embedded
<re_irc> <raphi ⚡️> is it possible, to define an own arm-gcc to use for cross compilation? There are a lot of pages discriping how to set the linker or cc for a target. But none of this works on my machine (Windows 10, i tried a lot of arm targets)
dc_740 has joined #rust-embedded
<re_irc> <raphi ⚡️> * use own arm-gcc
dc__740 has quit [Ping timeout: 248 seconds]
<re_irc> <raphi ⚡️> http://blog.rust-embedded.org/2018-08-2x-psa-cortex-m-breakage/ => is Option A still possible?
<re_irc> < (@ryan-summers:matrix.org)> I don't see why this wouldn't be possible. flip-link does exactly this to accomplish its task
<re_irc> < (@ryan-summers:matrix.org)> Ref: https://github.com/knurling-rs/flip-link
crabbedhaloablut has quit [*.net *.split]
Ekho has quit [Read error: Software caused connection abort]
bjc has joined #rust-embedded
IlPalazzo-ojiisa has joined #rust-embedded
Ekho has joined #rust-embedded
Foxyloxy has joined #rust-embedded
Foxyloxy has quit [Read error: Connection reset by peer]
Foxyloxy has joined #rust-embedded
jr-oss has quit [Ping timeout: 255 seconds]
jr-oss has joined #rust-embedded
<re_irc> < (@amanda:graven.dev)> The ESP32 dev boards I ordered finally showed up :D
<re_irc> < (@amanda:graven.dev)> It's been almost 5 years since I last messed with electronics/hardware stuff, I'm looking forward to getting back into it
<re_irc> < (@mabez:matrix.org)> : Come hang out in https://matrix.to/#/#esp-rs:matrix.org :)
<re_irc> < (@amanda:graven.dev)> Oh neat, hadn't seen that room, thanks for pointing it out :)
<re_irc> < (@amanda:graven.dev)> Ah, it's not in the space, that's probably why
bjc` has joined #rust-embedded
<re_irc> < (@amanda:graven.dev)> Oh wait yes it is
bjc has quit [Ping timeout: 252 seconds]
<re_irc> < (@aktaboot:tchncs.de)> which space ? 🤔
<re_irc> < (@amanda:graven.dev)> #rust-embedded-space:matrix.org (https://matrix.to/#/#rust-embedded-space:matrix.org) this one
<re_irc> < (@amanda:graven.dev)> Which is a subspace of the main #rust-space:matrix.org (https://matrix.to/#/#rust-space:matrix.org) space
<re_irc> < (@aktaboot:tchncs.de)> thanks !
Ekho has quit [Ping timeout: 252 seconds]
<re_irc> < (@mabez:matrix.org)> : TIL about spaces on matrix, thanks!
Ekho has joined #rust-embedded
conplan has quit [Remote host closed the connection]
sauce has quit [Read error: Software caused connection abort]
sauce has joined #rust-embedded
Foxyloxy has quit [Read error: Connection reset by peer]
Foxyloxy has joined #rust-embedded
Foxyloxy has quit [Read error: Connection reset by peer]
Foxyloxy has joined #rust-embedded
Foxyloxy has quit [Read error: Connection reset by peer]
Foxyloxy has joined #rust-embedded
emerent has quit [Ping timeout: 255 seconds]
emerent has joined #rust-embedded
causal has joined #rust-embedded
causal has quit [Ping timeout: 246 seconds]
causal has joined #rust-embedded
richardeoin has quit [Read error: Software caused connection abort]
richardeoin has joined #rust-embedded
crabbedhaloablut has joined #rust-embedded
causal has quit [Ping timeout: 252 seconds]
causal has joined #rust-embedded
<re_irc> < (@firefrommoonlight:matrix.org)> I feel like I'm going to have to learn to program for ESP eventually, unless/until Nordic sorts out their WiFi plan
<re_irc> < (@orclev:matrix.org)> I've been thinking about it. I've got a nRF52840 I've been poking at, but so far I've been hesitant to start playing around with SoftDevice, and I'm not aware of a fully functioning pure rust BLE stack I could use on it instead. Another option I've thought about is trying to use one of the u-blox connextXpress modules which expose things over an AT command API.
<re_irc> < (@orclev:matrix.org)> Someone else was at least already leaning that way it looks like as I found this: https://github.com/BlackbirdHQ/ublox-short-range-rs
<re_irc> < (@dirbaio:matrix.org)> that's wifi, not BLE
<re_irc> < (@dirbaio:matrix.org)> for BLE from Rust the best supported way is nrf52 + nrf-softdevice
<re_irc> < (@orclev:matrix.org)> yeah, but I believe they also have BLE u-blox modules with a similar AT command interface
<re_irc> < (@dirbaio:matrix.org)> AT commands are a giant world of pain :D
<re_irc> < (@dirbaio:matrix.org)> > and I'm not aware of a fully functioning pure rust BLE stack
<re_irc> and yeah, this doesn't exist (yet?)
<re_irc> < (@orclev:matrix.org)> I did some brief research and it looked like there's a couple BLE crates already, but they're very alpha level
<re_irc> < (@orclev:matrix.org)> nrf-softdevice is the bit that I haven't gotten up the motivation to start poking around at yet. That's probably the next thing I'll do after I finish getting these PRs squared away for the sharp-memory-display crate
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #rust-embedded
richardeoin has quit [Ping timeout: 252 seconds]
richardeoin has joined #rust-embedded
causal has quit [Ping timeout: 252 seconds]
<re_irc> < (@chrysn:matrix.org)> the softdevice is ok-and-functional from rust. not greatly idiomatic,but then again it's pretty decent for a closed-source C API wrapped.
<re_irc> < (@chrysn:matrix.org)> i'd love to give wrapping the nimble library a more thorough try (all i've done so far was using it through its C API, which went OK), but currently I'm on softdevice for external reasons.
<re_irc> < (@chrysn:matrix.org)> orclev: ^
<re_irc> < (@chrysn:matrix.org)> orclev: ^
causal has joined #rust-embedded
<re_irc> < (@orclev:matrix.org)> I'll probably play around with nrf-softdevice this weekend or maybe next weekend. I'm planning on using it with RTIC so I'll be interested to see how well those play together since it includes this warning in the readme:
<re_irc> > There's two common mistakes to avoid: (temporarily) disabling the softdevice's interrupts, and running your interrupts at too high priority.
<re_irc> > DO NOT disable the softdevice's interrupts. You MUST NOT use the widely-used cortex_m::interrupt::free for "disable all interrupts" critical sections.
<re_irc> and
<re_irc> and I can see in the generated code for RTIC that it uses "cortex_m::interrupt::free()"
<re_irc> < (@chrysn:matrix.org)> that's one of the reasons i don't like the softdevice too much (the other being the license). but RTIC doing critical sections surprises me: i thought it'd be its point not to do that, but rather to change the interrupt level (which, on softdevice, should just not happen up to its reserved level).
<re_irc> < (@orclev:matrix.org)> I think it _mostly_ does that in the initialization sections, I don't know that it uses it once everything is actually up and ticking along normally
<re_irc> < (@orclev:matrix.org)> hmm, looks like it does something or other with the software tasks. E.G. I'm using SWI_EGU0 as my dispatcher interrupt and I see this chunk of generated code:
<re_irc> match task {
<re_irc> SCHED_T::clear_display => {
<re_irc> rtic::export::interrupt::free(|_| {
<re_irc> < (@orclev:matrix.org)> looks like that's inside of the generated handler for the timer task, which I guess makes sense
<re_irc> < (@orclev:matrix.org)> still, it does have several instances of using that function which it the readme is to be believed will cause problems
<re_irc> < (@orclev:matrix.org)> * if
_whitelogger has joined #rust-embedded
bjc` is now known as bjc
Socke has quit [Read error: Software caused connection abort]
Socke has joined #rust-embedded
<re_irc> < (@diondokter:matrix.org)> Give me money and I will make you all a BLE stack in async Rust 😉
richardeoin has quit [Ping timeout: 252 seconds]
richardeoin has joined #rust-embedded
explore has joined #rust-embedded
<re_irc> < (@jamesmunns:beeper.com)> : How much money? Yes.