disco-c
cortex-a
disco-c | cortex-a | |
---|---|---|
2 | 2 | |
62 | 122 | |
- | - | |
0.0 | 7.4 | |
almost 3 years ago | over 1 year ago | |
C | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
disco-c
-
Liblithium: A lightweight and portable cryptography library
Wondering if the authors heard of embedded disco[1]
[1]: https://embeddeddisco.com/
-
STM32 call to memcpy causes hardfault (the call to memcpy itself, not the execution of memcpy)
The code below is my modification of the original library code where the assignment to *s2 was replaced by a memcpy. The original code can be found on the library's github.
cortex-a
-
Liblithium: A lightweight and portable cryptography library
I'm latching onto a non-main argument to be pedantic, but I'd like to mention that Rust is fine for _non-embedded_ kernel development too, in my experience.
As you're likely aware, Rust for embedded sucks when there's no HAL, but should be very pleasant otherwise. Have you looked into the cortex-a[1] crate?
Some unnecessary instructions could also be a part of an ongoing optimization effort[2][3].
[1]: https://github.com/rust-embedded/cortex-a
[2]: https://old.reddit.com/r/rust/comments/yn6105/optimization_o...
[3]: https://arewestackefficientyet.com
-
Rust OS cortex a5
It looks like you can. I have no experience with this but you can also check out the rust channel of the embedded engineers discord for help if you hit a snag.
What are some alternatives?
liblithium - A lightweight and portable cryptography library.
cortex-m-quickstart - Template to develop bare metal applications for Cortex-M microcontrollers
OpenSSL - TLS/SSL and crypto library
scapegoat - Safe, fallible, embedded-friendly ordered set/map via a scapegoat tree. Validated against BTreeSet/BTreeMap.
s2n - An implementation of the TLS/SSL protocols
cortex-m - Low level access to Cortex-M processors
php-keccak - Pure PHP implementation of Keccak (SHA-3)
syscall.rs - Raw system calls for Rust
cortex-m-rt - Minimal startup / runtime for Cortex-M microcontrollers
rtic - Real-Time Interrupt-driven Concurrency (RTIC) framework for ARM Cortex-M microcontrollers
xargo - The sysroot manager that lets you build and customize `std`