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
<re_irc> < (@jannic:matrix.org)> I need some sleep now (should have gone to bed two hours ago) - feel free to copy from my branch if you want to continue.
<re_irc> < (@dirbaio:matrix.org)> is there a reason for keeping _critical_section_acquire, _critical_section_release ?
<re_irc> < (@dirbaio:matrix.org)> vs doing the thing in acquire, release directly
<re_irc> < (@jannic:matrix.org)> There's also the first attempt at https://github.com/jannic/critical-section/commit/548e2a0fbca05f13c2c6134811bb102c84a8d85d which just removed most of the crate. Mostly obsolete now, but already contains some CHANGELOG entry which might still be useful.
<re_irc> < (@jannic:matrix.org)> : No - I just didn't touch the functions providing the public interface and directly edited the internal code. Can probably be inlined into "acquire"/"release" as well.
<re_irc> < (@dirbaio:matrix.org)> thanks! wanted to make sure I wasn't missing anything
<re_irc> < (@jannic:matrix.org)> I didn't try it out at all. But as it's rust, if "cargo check" works, it's probably fine :-)
<re_irc> < (@jannic:matrix.org)> 🛏️
dc740 has quit [Remote host closed the connection]
explore has joined #rust-embedded
starblue has quit [Ping timeout: 260 seconds]
starblue has joined #rust-embedded
<re_irc> <thebox> There seems to be great support for Cortex-M processors but I've seen very little in the way of Cortex-A. What I have seen for Cortex-A is the aarch64-cpu crate (formerly cortex-a), however, this crate is made for the armv8 architecture whereas my use case involves armv7 (the Cortex-A9). I have seen some mention that the Cortex-A has support for the Cortex-M instruction set. Does this mean that I could use the Cortex-M...
<re_irc> ... crates on a Cortex-A processor with modification to the linker script?
<re_irc> < (@jamesmunns:beeper.com)> generally yes, the "cortex-m" instruction set is thumb2, which the armv7a (but not aarch64) support
<re_irc> < (@jamesmunns:beeper.com)> well, actually, "use crates as-is" is sort of a problem if they use certain abstractions that assume that something like the NVIC (the interrupt controller for cortex-m) is present, as the cortex-a has a different interrupt controller
<re_irc> < (@jamesmunns:beeper.com)> so like, you couldn't use "rtic", or "embassy" out of the box
<re_irc> <thebox> Will a crate like cortex-m-rt work to get rust running on an armv7a processor?
<re_irc> < (@jamesmunns:beeper.com)> https://github.com/iqlusioninc/usbarmory.rs is the one(?) public repo I know of doing things on armv7a
<re_irc> < (@jamesmunns:beeper.com)> it's a couple years old nowadays (and for the A7 instead of the A7), but might be a useful starting place
explore has quit [Quit: Connection closed for inactivity]
<re_irc> < (@jamesmunns:beeper.com)> you'll likely need some more stuff than the typical cortex-m-rt, as you'll need to do things like bring up the DRAM
<re_irc> <thebox> Ok, thank you
<re_irc> < (@jamesmunns:beeper.com)> it's a couple years old nowadays (and for the A7 instead of the A9), but might be a useful starting place
mattgirv has quit [*.net *.split]
mattgirv has joined #rust-embedded
conplan has left #rust-embedded [Leaving.]
<re_irc> < (@jannic:matrix.org)> : I tried to summarize the situation regarding c-s 0.2 at https://github.com/rust-embedded/critical-section/issues/30
IlPalazzo-ojiisa has joined #rust-embedded
starblue has quit [Ping timeout: 260 seconds]
explore has joined #rust-embedded
starblue has joined #rust-embedded
explore has quit [Quit: Connection closed for inactivity]
emerent has quit [Ping timeout: 260 seconds]
emerent has joined #rust-embedded
causal has quit [Quit: WeeChat 3.7.1]
jr-oss has quit [Ping timeout: 246 seconds]
jr-oss has joined #rust-embedded
dc740 has joined #rust-embedded
dc740 has quit [Remote host closed the connection]
IlPalazzo-ojiisa has quit [Quit: Leaving.]