<re_irc>
However, having problems sending and receiving packets. The LED lights up, but the rtt screen shows "20:34:38.770 irq error" when sending from minicom. Any ideas?
<re_irc>
enabled = true
<re_irc>
I'm using PA10/PA9.
<re_irc>
<wcampbell> Nevermind, I blindly used the baud rate from the discovery book and this was different 😬
starblue1 has quit [Ping timeout: 240 seconds]
starblue1 has joined #rust-embedded
ymwm has joined #rust-embedded
ymwm has quit [Max SendQ exceeded]
ymwm has joined #rust-embedded
ymwm has quit [Quit: Leaving]
<re_irc>
<john_socha> I have a question about tests and embedded rust. The last time I looked at this it seemed you couldn't have tests directly in the source for embedded files--you had to put them in the testing folder and write "integration" tests. But I see some examples, like in Embassy, that seem to indicate it might be possible to have the tests directly in the same source file. When I try that, however, I get the following error:
<re_irc>
error[E0463]: can't find crate for `test`
<re_irc>
<ryan-summers> That's the intended usage for unit tests - your structure looks fine - are you getting this when you run "cargo test"?
<re_irc>
<ryan-summers> Also, unrelated question: Does anyone know of any libraries for VISA? I guess you could link to like NI-VISA's lib, but was hoping there was something already out there like py-visa
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #rust-embedded
richardeoin has quit [Ping timeout: 256 seconds]
richardeoin has joined #rust-embedded
skunkjoe has joined #rust-embedded
jasperw has quit [Ping timeout: 256 seconds]
jasperw has joined #rust-embedded
skunkjoe has quit [Ping timeout: 252 seconds]
richardeoin has quit [Ping timeout: 272 seconds]
richardeoin has joined #rust-embedded
tokomak has quit [Ping timeout: 240 seconds]
ymwm has joined #rust-embedded
ymwm has quit [Ping timeout: 240 seconds]
skunkjoe has joined #rust-embedded
starblue1 has quit [Ping timeout: 256 seconds]
skunkjoe has quit [Ping timeout: 250 seconds]
skunkjoe has joined #rust-embedded
jasperw has quit [Ping timeout: 256 seconds]
skunkjoe has quit [Ping timeout: 268 seconds]
jasperw has joined #rust-embedded
Guest2 has quit [Ping timeout: 256 seconds]
starblue1 has joined #rust-embedded
tokomak has joined #rust-embedded
starblue1 has quit [Read error: Connection reset by peer]
<re_irc>
<barafael> when using embedded_hal serial read feature, I can call "serial.read()". But what if I want to read 6 bytes? Do I have to loop myself?
<re_irc>
<barafael> i'm wondering if there is an extension trait for this and how I would find it