IlPalazzo-ojiisa has quit [Remote host closed the connection]
corecode[m] has joined #rust-embedded
<corecode[m]>
mqtt seems the wrong vehicle to me
<corecode[m]>
to push the ota binary, i mean
bibble235[m] has joined #rust-embedded
<bibble235[m]>
Great!
Lumpio- has quit [Ping timeout: 246 seconds]
Lumpio- has joined #rust-embedded
Guest7282 has left #rust-embedded [Error from remote client]
Guest7282 has joined #rust-embedded
Guest7282 has left #rust-embedded [Error from remote client]
<jannic[m]>
<ithinuel> "rp2040-hal implements RTIC’s..." <- BTW, it only does this for RTIC v1. Do you have an idea how to also support v2?
<jannic[m]>
Either having dependencies on multiple versions of RTIC or having separate feature flags for the two versions would be somewhat ugly. But just dropping support for RTICv1 also seems wrong, as afaik v1 is still widely used.
cr1901_ has joined #rust-embedded
cr1901 has quit [Ping timeout: 260 seconds]
Guest7282 has joined #rust-embedded
<Ralph[m]>
<adamgreig[m]> "yea, @rust-embedded/hal I think?..." <- FYI: as the teams in the rust-embedded org are private it's not possible to ping the team (at least for non-members)
<badrb[m]>
<corecode[m]> "mqtt seems the wrong vehicle..." <- Why?
<badrb[m]>
The intention is to push sliced indexed chunks of a bin, each one checksummed, at the rhythm of the end device.
<badrb[m]>
s/push/publish/
Guest7282 has left #rust-embedded [Error from remote client]
<lulf[m]>
badrb: I used hawkBit a little in the past, though that's http. For Drogue IoT I wrote https://github.com/drogue-iot/drogue-ajour which works on top of mqtt, http, lorawan and coap transport (yay layers on layers). Probably plain TCP or HTTP is just as good compared to MQTT. But for coap and lorawan having the 'message based' dfu protocol was nice as you could do the updates over a long period of time.
Guest7282 has joined #rust-embedded
<badrb[m]>
<lulf[m]> "badrb: I used hawkBit a little..." <- This look good!
<badrb[m]>
How tightly coupled to Drogue IoT Cloud is it?
Guest7282 has left #rust-embedded [Error from remote client]
<Ralph[m]>
a few weeks ago i already asked this here but never got a definitive answer, so here's another attempt: what is the recommended way for drivers to propagate e-h errors to their consumers? should they bubble up each individual error type or should they just wrap it up in a generic "hardware said no" error as the... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/BBGTENIJVnnwDnZSfhXwFdjW>)
ryan-summers[m] has quit [Quit: Idle timeout reached: 172800s]
<lulf[m]>
> How tightly coupled to Drogue IoT Cloud is it?
<lulf[m]>
It relies on mqtt and the event format in drogue cloud(cloudevents.io). There is also embedded-update crate for the device side that generalises the update mechanism with "pluggable" transports to drogue cloud (drogue device has http and lorawan)
IlPalazzo-ojiisa has joined #rust-embedded
IlPalazzo-ojiisa has quit [Ping timeout: 246 seconds]
IlPalazzo-ojiisa has joined #rust-embedded
Guest7282 has joined #rust-embedded
AdamHott[m] has joined #rust-embedded
<AdamHott[m]>
Can anyone recommend an affordable stm32 board that has Wifi capabilities?
<AdamHott[m]>
I want to test with embassy.
fooker has quit [Ping timeout: 252 seconds]
ilpalazzo-ojiis4 has joined #rust-embedded
<ilpalazzo-ojiis4>
OK, first things first, what constitutes “affordable”? Could you give, like, three prices for “Below price 1 I'd jump for joy, price 2 appears good, price 3 is the absolute hard upper limit”?
<AdamHott[m]>
It doesn't have to be stm32, I'm just looking for an affordable alternative board to test
<AdamHott[m]>
I also have a raspberry pi probe, wondering if I can use that as a probe on an alternative board or if I need to look at another probe
<dirbaio[m]>
raspberry pi probe should work on stm32's too
<dirbaio[m]>
many stm32 boards have a bulit-in stlink though
<dirbaio[m]>
* most stm32 boards from ST have a bulit-in stlink though
<AdamHott[m]>
would the raspberry pi probe work on the esp32c3?
mabez[m] has joined #rust-embedded
<mabez[m]>
AdamHott[m]: No, but the esp32c3 has its own JTAG probe built into the USB interface and it's well supported by probe-rs - if you're thinking of picking one up I'd recommend the [esp-rust-board](https://github.com/esp-rs/esp-rust-board)
<vollbrecht[m]>
you can directly hook gpio 18/19 of that chip into your PC and have a jtag/usb-cdc connection without any 3rd party chip whatsoever
<AdamHott[m]>
mabez[m]: that's the one from Mouser Electronics that's linked in the repo, right?
<mabez[m]>
AdamHott[m]: Correct, it should also be available on Digikey if you prefer :)
danielb[m] has joined #rust-embedded
<danielb[m]>
Fair warning, probe-rs has some issues with the c3, though, for some users
<AdamHott[m]>
danielb[m]: problems connecting?
<AdamHott[m]>
<vollbrecht[m]> "you can directly hook gpio 18/19..." <- would that involve splicing a cable?
notgull has quit [Ping timeout: 276 seconds]
<firefrommoonligh>
<danielb[m]> "Fair warning, probe-rs has..." <- FYSA I wasn't able to get it working, but I didn't try too hard
<danielb[m]>
Sorry, what's fysa? 🙈
<firefrommoonligh>
for your situational awareness
<vollbrecht[m]>
<AdamHott[m]> "would that involve splicing a..." <- depending on the board, this two gpio pins are directly connected to the usb-header without any chips in between. The rust board does exactly that. But if you for example just get the naked esp32c3 module you could just use it with something like [this](https://images.app.goo.gl/D6jz5effkEex8MVQ9) connecting the usb+ / - to those pins directly.
<vollbrecht[m]>
though to be safe i still would put minimal usb protection in series here with some special clamping diodes.
<vollbrecht[m]>
but its just info, this is all not needed for the mention rust dev board
<vollbrecht[m]>
* its just general info, this
_whitelogger has joined #rust-embedded
Guest7282 has left #rust-embedded [Error from remote client]
Guest7282 has joined #rust-embedded
<Ralph[m]>
<Ralph[m]> "a few weeks ago i already..." <- > <@rursprung:matrix.org> a few weeks ago i already asked this here but never got a definitive answer, so here's another attempt: what is the recommended way for drivers to propagate e-h errors to their consumers? should they bubble up each individual error type or should... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/HredomMimyhUaYqUewaererE>)
<JamesMunns[m]>
My $0.02, doing Rust on AVR is a fairly advanced thing, the compiler sometimes doesn't work reliably, and requires some setup. it's way more bleeding edge than Cortex-M.