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
emerent has quit [Ping timeout: 240 seconds]
emerent has joined #rust-embedded
rardiol has joined #rust-embedded
starblue1 has quit [Ping timeout: 245 seconds]
starblue1 has joined #rust-embedded
<re_irc> <firefrommoonlight> Peripheral setup and operation can be complicated on STM32; I don't think LL is a great plan for application code. If you go that route, I think you'll end up with a mini-HAL in your application
<re_irc> <firefrommoonlight> But that's entirely subjective
<re_irc> <firefrommoonlight> adamgreig's stm32-RAL lib has terser syntax for reg writes; might be more suitable than PAC if you go that route
<re_irc> <firefrommoonlight> And either way it's a good way to learn the hardware vice a HAL that hides the reg writes
rardiol has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
rardiol has joined #rust-embedded
rardiol has quit [Ping timeout: 252 seconds]
Amadiro_ has joined #rust-embedded
Amadiro has quit [Ping timeout: 252 seconds]
causal has quit [Quit: WeeChat 3.5]
<re_irc> <dirbaio> Released "critical-section 1.0.0-alpha.1" (https://docs.rs/critical-section/1.0.0-alpha.1/critical_section/index.html)
starblue1 has quit [Ping timeout: 245 seconds]
<re_irc> <dirbaio> now there's a fun chicken-and-egg, the crate is useless until arch-support crates like cortex-m add support for it
<re_irc> <explodingwaffle101> https://blog.rust-lang.org/inside-rust/2022/07/27/keyword-generics.html this looks pretty interesting
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #rust-embedded
crabbedhaloablut has quit [Write error: Connection reset by peer]
crabbedhaloablut has joined #rust-embedded
explore has joined #rust-embedded
rardiol has joined #rust-embedded
rardiol has quit [Ping timeout: 245 seconds]
loki_val has joined #rust-embedded
crabbedhaloablut has quit [Remote host closed the connection]
<re_irc> <newam> explodingwaffle101: Does anyone know of other embedded-friendly languages that have managed to do async without colored functions?
<re_irc> This seems very interesting, looking forward to whatever comes out of it :D
loki_val has quit [Ping timeout: 268 seconds]
crabbedhaloablut has joined #rust-embedded
Amadiro__ has joined #rust-embedded
Amadiro_ has quit [Ping timeout: 268 seconds]
seer has quit [Quit: quit]
seer has joined #rust-embedded
<re_irc> <Daniel> Has there been any attempt at creating a HTTP client using the embedded-nal(-async) traits?
rardiol has joined #rust-embedded
<re_irc> <Daniel> I have a library that needs to do some http calls and want it to work fine in embedded and desktop(possible web too). I was thinking of somehow adapting hyper to work with embedded or have a high level HTTP client trait abstraction that is implemented by different backends. Has anyone tried something similar?
<re_irc> <newam> I am a cave man, for HTTP I have just been using "httparse" and sockets.
<re_irc> <dirbaio> Daniel: https://github.com/drogue-iot/reqwless
<re_irc> <newam> ooo it even integrates with embedded-tls, that's handy
<re_irc> <Daniel> Interesting, I'll have a look! 👀 I'd still like to find a "universal" http client solution but maybe I'll care about that later. Also saw the esp-rs guys are creating this kind of abstraction in https://github.com/esp-rs/embedded-svc not sure I like the current design of the HTTP client trait but could be a start
<re_irc> <newam> I think it would work on "std" as well, it is based on embedded-tls which works on "std", and embedded-io which I _think_ has wrapper traits for "std::io"
<re_irc> <newam> * impls
causal has joined #rust-embedded
starblue has joined #rust-embedded
rardiol has quit [Ping timeout: 244 seconds]
starblue has quit [Ping timeout: 245 seconds]
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #rust-embedded
rardiol has joined #rust-embedded
starblue has joined #rust-embedded
starblue has quit [Ping timeout: 245 seconds]
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #rust-embedded
rardiol has quit [Ping timeout: 245 seconds]
dc740 has quit [Remote host closed the connection]
rardiol has joined #rust-embedded
rardiol has quit [Ping timeout: 245 seconds]
<re_irc> <9names (@9names:matrix.org)> what about the opposite problem? are there any crates to provide a no_std http server, or is httparse and sockets also the best answer there?
rardiol has joined #rust-embedded
emerent has quit [Ping timeout: 272 seconds]
emerent has joined #rust-embedded
rardiol has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
rardiol has joined #rust-embedded