<re_irc>
<jkelleyrtp> I'm struggling with getting vscode/rust-analyzer to work properly with my embedded projects. Does anyone have a working configuration? The issue i'm specifically facing is outlined here: https://github.com/rust-lang/rust-analyzer/issues/11982
<re_irc>
<jkelleyrtp> Ah - looks like you can manually override cargo to include examples
<re_irc>
"rust-analyzer.checkOnSave.extraArgs": [
<re_irc>
"--examples",
<re_irc>
],
nort has joined #rust-embedded
rektide has quit [Quit: Lost terminal]
rektide has joined #rust-embedded
ymwm has quit [Ping timeout: 250 seconds]
ymwm has joined #rust-embedded
ymwm_ has joined #rust-embedded
ymwm has quit [Read error: Connection reset by peer]
ymwm_ has quit [Ping timeout: 240 seconds]
m5zs7k has quit [Ping timeout: 248 seconds]
m5zs7k has joined #rust-embedded
ymwm has joined #rust-embedded
Shell has quit [Remote host closed the connection]
Shell has joined #rust-embedded
gsalazar has joined #rust-embedded
ymwm has quit [Read error: Connection reset by peer]
ymwm has joined #rust-embedded
ymwm has quit [Read error: Connection reset by peer]
ymwm has joined #rust-embedded
creich_ has quit [Quit: Leaving]
creich has joined #rust-embedded
creich has quit [Quit: Leaving]
<re_irc>
<heksa> halfbit: Our lab has lots of Zynq's and PYNQs and we do some Rust things. The PYNQ has a Cortex-A9, and I made a Rust module for an embedded intro course two years back: https://blogs.tuni.fi/cs/unit/cross-compiling-rust-to-run-on-pynq-z1/. I feel like I was probably a total newbie back then and it's all hacks, but it fits the definition of "Rust on Cortex-A9", and all source should be on GitHub.
<re_irc>
<heksa> I did get the general feeling that support was pretty non-existent back then. I haven't heard of many updates but I guess cross-compiling is slightly easier now in general.
<re_irc>
<K900> They're pretty boring ARM cores overall
<re_irc>
<K900> And you're going to need a custom HAL for whatever is running on the FPGA part anyway
<re_irc>
<heksa> We also have those Zynq's but we use official Xilinx tooling for the main logic, and put our RISC-V (and Rust) on the FPGA soft logic instead.
<re_irc>
<K900> You could also just run Linux on the ARM part
<re_irc>
<K900> If you don't need hard RT
<re_irc>
<K900> Then it just becomes, well, Linux
<re_irc>
<K900> And hard RT stuff is probably better off being on the FPGA side
ymwm has quit [Ping timeout: 240 seconds]
starblue has quit [Ping timeout: 248 seconds]
starblue has joined #rust-embedded
fooker has quit [Quit: WeeChat 3.3]
fooker has joined #rust-embedded
<re_irc>
<Chris [pwnOrbitals]> Anyone knows some good crates to control GDB from Rust ? I'd like to have a test rig that has some Rust on the host controlling and influencing the Rust code on target
ymwm has joined #rust-embedded
<re_irc>
<ryan-summers> Perhaps take a look at probe-run's on-target tester? I don't think it uses GDB, but rather uses probe-rs to manually manipulate the target via the debug probe to run unit tests on hardware
gsalazar has quit [Remote host closed the connection]
gsalazar has joined #rust-embedded
gsalazar has quit [Ping timeout: 248 seconds]
ymwm has quit [Read error: Connection reset by peer]
ymwm has joined #rust-embedded
ymwm has quit [Read error: Connection reset by peer]
ymwm has joined #rust-embedded
ymwm has quit [Remote host closed the connection]
ymwm has joined #rust-embedded
ymwm has quit [Ping timeout: 250 seconds]
ymwm has joined #rust-embedded
ymwm has quit [Remote host closed the connection]
ymwm has joined #rust-embedded
<re_irc>
<Chris [pwnOrbitals]> great idea ! looks like it fits what I'm looking for
<re_irc>
<Chris [pwnOrbitals]> thanks :)
ymwm has quit [Ping timeout: 250 seconds]
gsalazar has joined #rust-embedded
ymwm has joined #rust-embedded
gsalazar has quit [Ping timeout: 240 seconds]
ymwm has quit [Ping timeout: 250 seconds]
explore has joined #rust-embedded
xnor_ has joined #rust-embedded
Socke has quit [*.net *.split]
xnor has quit [*.net *.split]
nort has quit [Ping timeout: 250 seconds]
Socke has joined #rust-embedded
<re_irc>
<MathiasKoch> Does anyone have a reasonable implementation of async Read/Write on either rtt channels or defmt frames? blocking std::io::Read/Write could also have interest