<bogdan[m]>
here's an example of what I mean: https://www.youtube.com/watch?v=4G0SZ4jUVw0 You've got some sort of configuration server running on the drone's controller, and you can "map resources" (configured peripherals) to particular logical functions of "betaflight", and maybe get some feedback if the mapping succeeded or not. What would a Rust HAL need to look like in order to support such applications?
bpye has quit [Quit: Ping timeout (120 seconds)]
bpye has joined #rust-embedded
cinemaSundays has quit [Quit: Connection closed for inactivity]
BentoMon has quit [Remote host closed the connection]
BentoMon has joined #rust-embedded
cr1901_ has joined #rust-embedded
cr1901 has quit [Ping timeout: 276 seconds]
emerent has quit [Ping timeout: 248 seconds]
emerent_ has joined #rust-embedded
emerent_ is now known as emerent
scorpion2185[m] has quit [Quit: Idle timeout reached: 172800s]
M9names[m] has quit [Quit: Idle timeout reached: 172800s]
hjeldin__[m] has quit [Quit: Idle timeout reached: 172800s]
GrantM11235[m] has quit [Quit: Idle timeout reached: 172800s]
almindor[m] has joined #rust-embedded
<almindor[m]>
romancardenas: wrt.https://github.com/riscv-rust/e310x/pull/37 do you want to make a release of 0.11 or is there something else you were planning to add beforehand?
<JamesMunns[m]>
(atomics and volatiles don't exactly play nice)
<JamesMunns[m]>
there's some UCG discussion about it, but it's not likely to be a Good Time
<JamesMunns[m]>
(and in general, you should never really use volatile for data known by the abstract machine)
<thejpster[m]>
I won't name the author, but I believe it happened on your watch ;)
<thejpster[m]>
but yes, alarm bells went off when I saw it.
<JamesMunns[m]>
pffffft
<JamesMunns[m]>
the person that wrote that should have known better :)
<JamesMunns[m]>
tell them Ralf is very disappointed :D
<dirbaio[m]>
what qemu "machine" should I pick if I want to test some code for cortex-m4?
<dirbaio[m]>
and do I even have to pick a "machine"? the code doesn't do any IO at all, it's just compute. can't I just tell qemu "it's just a cortex-m4"?
<thejpster[m]>
a cortex-m4 is just a processor. It will sit there and look at you.
<JamesMunns[m]>
iirc qemu only supports like two weird ass machine targets for cortex-m
<JamesMunns[m]>
the lms thingies
<thejpster[m]>
you need SRAM, and probably a UART.
<thejpster[m]>
and that means you need a machine to describe those htings
<dirbaio[m]>
it's using just semihosting for io
<thejpster[m]>
Luminary Micro LM3 is one machine, yes.
<dirbaio[m]>
those are cm3 :P
<thejpster[m]>
you might be able to replace the CPU
<thejpster[m]>
sometimes it complains, sometimes it doesn't. Depends how the machine is defined.