<re_irc> <@dirbaio:matrix.org> smoltcp v0.8 is just out now! Check out the [changelog](https://github.com/smoltcp-rs/smoltcp/blob/master/CHANGELOG.md) while it's hot 🔥
nexgen has quit [Quit: Leaving]
nexgen2 has joined #rust-embedded
nexgen2 has quit [Remote host closed the connection]
nexgen2 has joined #rust-embedded
nexgen2 has quit [Remote host closed the connection]
nexgen2 has joined #rust-embedded
starblue has quit [Ping timeout: 250 seconds]
starblue has joined #rust-embedded
fabic has joined #rust-embedded
procton__ has quit [Remote host closed the connection]
procton__ has joined #rust-embedded
jackneillll has joined #rust-embedded
jackneilll has quit [Ping timeout: 240 seconds]
PyroPeter has quit [Ping timeout: 250 seconds]
PyroPeter has joined #rust-embedded
fabic has quit [Quit: Leaving]
<re_irc> <@rahix:matrix.org> ooh, nice! the new smoltcp is great stuff, been using it for a while already :)
<re_irc> <@korken89:matrix.org> firefrommoonlight:matrix.org: I'm curious, do you have a link? :)
radens has quit [Quit: Connection closed for inactivity]
<re_irc> <@firefrommoonlight:matrix.org> Btw, I think (obviously biased) we could use more examples like this. Ie, it's not too long, conceptually simple (Take reading, xmit reading, go to sleep for a variable duration), and demonstrates the concepts many practical firmwares include
<re_irc> <@firefrommoonlight:matrix.org> (Which is why I published it)
<re_irc> <@firefrommoonlight:matrix.org> Eg, if you go into the example folders for many of the OSS Rust libs, they're too specific to make much use of. This is fine for people who already understand Rust, and need to see specific functionality of the lib, but confusing for new users who don't know how to string things together
jackneilll has joined #rust-embedded
jackneillll has quit [Remote host closed the connection]
xnor has quit [Ping timeout: 252 seconds]
cr1901 has quit [Remote host closed the connection]
cr1901 has joined #rust-embedded
<re_irc> <@ryan-summers:matrix.org> Yes, generators look to be extremely similar to the API that I would like to have. To clarify, I already have such an API written and functional, but I wanted to see if there's a standard method to handle situations like this
<re_irc> <@ryan-summers:matrix.org> cc James Munns - thanks for the link on generators - I didn't know they had those in Rust yet, cool to see it coming down the pipe
<re_irc> <@jamesmunns:beeper.com> Soon™️!
<re_irc> <@dngrs:matrix.org> the way I see it they're in a very early experimental phase. That being said there's a tokio streams macro that pretends `yield` exists
<re_irc> <@dngrs:matrix.org> it's pretty neat actually
<re_irc> <@jamesmunns:beeper.com> Yeah, there is also "generator hack" or whatever the crate is
<re_irc> <@dngrs:matrix.org> ah, not tokio. That one: https://docs.rs/async-stream/latest/async_stream/
<re_irc> <@jamesmunns:beeper.com> that abuses the fact that async is using generators under the hood, so it turns async inside out to create a generator
<re_irc> <@dngrs:matrix.org> sometimes I feel keeping track of all the useful crates is a full time job
<re_irc> <@jamesmunns:beeper.com> https://docs.rs/genawaiter/latest/genawaiter/ maybe
<re_irc> <@jamesmunns:beeper.com> (tho I think it requires the heap, or at least used to)
<re_irc> <@thejpster:matrix.org> A RISC-V chip for TVs, with lots of video inputs and outputs, and 64 MB DDR built in. Looks really interesting!
<Lumpio-> Except that it's... for analog TV?
<Lumpio-> Like CCTV? Don't think there's much analog broadcasting going on anymore
<re_irc> <@newam:matrix.org> before I go make my own thing is there a standard for OTA firmware updates via Ethernet?
<re_irc> <@dngrs:matrix.org> thejpster: apropos fun chips, have you seen this? https://twitter.com/splinedrive/status/1441737063515234306
<re_irc> <@thejpster:matrix.org> I think it's for digital TVs? Doesn't have a DVB tuner, but they vary by market. But I'm sure it can get the digital bitstream out of a tuner.
<re_irc> <@thejpster:matrix.org> dngrs: that's very cool
<re_irc> <@thejpster:matrix.org> newam: push or pull?
<re_irc> <@newam:matrix.org> push
<re_irc> <@thejpster:matrix.org> LWM2M
<re_irc> <@thejpster:matrix.org> But basically you just push a URL and the device does an HTTP download
<re_irc> <@newam:matrix.org> Excellent, thanks!
<re_irc> <@dngrs:matrix.org> newam:matrix.org: not sure; you can maybe borrow a few ideas off https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/ota.html
<re_irc> <@dngrs:matrix.org> thejpster:matrix.org: might try and see whether I can write it on my idling ULX3S…
<re_irc> <@thejpster:matrix.org> On the ESP8266 OTA updates were done with an HTTP PUSH I think. Or there was an API you just fed bytes and you could take them from a POST body.
<re_irc> <@thejpster:matrix.org> I have a MAX10 and a DE0 Nano kicking around.
<re_irc> <@dngrs:matrix.org> also - platformio has an `upload_protocol` setting, but I haven't been able to find a list of supported protocols.
<re_irc> <@thejpster:matrix.org> Keep meaning to do something but ... ugh, Quartus is such a beast
<re_irc> <@dngrs:matrix.org> (`espota` is one of them)
<re_irc> <@thejpster:matrix.org> It's like a 50 GB install
<re_irc> <@thejpster:matrix.org> I meant to buy an icestick for zero2asic but I... didn't. I just simulated my Verilog and then sent the GDS to the fab to make into a chip.
<re_irc> <@thejpster:matrix.org> I'm sure it's fine.
<re_irc> <@dngrs:matrix.org> dngrs:matrix.org: it comes with an ulx3s build script. noice.
radens has joined #rust-embedded
xnor has joined #rust-embedded
crabbedhaloablut has quit [Ping timeout: 276 seconds]
<re_irc> <@hendrik:henku.de> hi, is this the right place to ask for help with stm (f3 discovery)/embedded-hal stuff, or is there another room for this?
<re_irc> <@firefrommoonlight:matrix.org> Former, go to the `stm32-rs` channel. Latter: yes
<re_irc> <@firefrommoonlight:matrix.org> https://matrix.to/#/#stm32-rs:matrix.org
<re_irc> <@hendrik:henku.de> thank you very much
crabbedhaloablut has joined #rust-embedded
cr1901_ has joined #rust-embedded
cr1901 has quit [Ping timeout: 252 seconds]
cr1901_ is now known as cr1901