<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
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>
<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?