Commit Graph

18 Commits

Author SHA1 Message Date
Andre Richter
c6e12f7bcf
Fix wrong serial selection in qemu. Simplify code. 2019-02-03 21:48:55 +01:00
Andre Richter
2a4fdc4ece
Add missing comment that triggered build errors in new nightly rust.
Also, update binaries generated by new nightly version:
rustc 1.33.0-nightly (75a369c5b 2019-01-12)
2019-01-13 14:16:59 +01:00
Andre Richter
90d88f65b6
Streamlining, cleanup, and minor fixes. 2018-12-31 01:19:57 +01:00
Andre Richter
ad2d0d1182
🎉 Update to Rust 2018 🎉 2018-12-22 20:56:09 +01:00
Andre Richter
37fe055082
Alignment. Binaries from newer Rust version. 2018-10-02 23:16:04 +02:00
Andre Richter
21e181c63a
Bump cortex-a to v1.1.0 2018-08-24 00:13:53 +02:00
Andre Richter
8175639399
Correct linker issues
The new target is not automatically using PIC.

Need some linker script corrections for errors that were hiding
previously, so that we don't accidentally generate alignment
exceptions on bss size variables that cause the target to fail.
2018-08-20 17:07:18 +02:00
Andre Richter
0d75a8eaf3
Use aarch64-unknown-none target in nightly 🎉
We have a generic target for writing bare-metal code
for 64-bit ARM architectures in upstream Rust now.

Use it to get rid of the fully custom target spec.

\o/
2018-08-19 23:42:24 +02:00
Andre Richter
0bd363f375
Sync with the newest Embedonomicon
https://github.com/rust-embedded/embedonomicon

Closes #3
2018-08-12 16:41:45 +02:00
Andre Richter
369dffa457
Make it compile on newest nightly 2018-07-16 21:37:40 +02:00
Andre Richter
747e902761
Rewrite for register-rs.
We now have the same API for MMIO and CPU registers.
Makes the code more concise, inntuitive, and improves readability.

https://crates.io/crates/register
2018-07-16 21:24:33 +02:00
Andre Richter
0ce1cde72c Add Deref trait in the spirit of cortex-m peripherals
Improves code readability; Reduces need for unsafe blocks on register
reads.

https://github.com/japaric/cortex-m/blob/master/src/peripheral/mod.rs
2018-04-13 22:05:50 +02:00
Andre Richter
32ef64b36e compiler_builtins are now mandatory; Add them.
In rust-lang/rust@679657b863 a breaking
change was introduced that now requires compiler_builtins. Add them,
and use the opportunity to kick out rlibc, since memset() et al. can
be provided by compiler intrinsics.
2018-04-08 13:28:57 +02:00
Andre Richter
036d6f0893 Change fence type, add more elaborate description 2018-04-07 12:18:04 +02:00
Andre Richter
78ea9a9931 Add tutorial 04_mailboxes 2018-04-02 19:54:51 +02:00
Andre Richter
e6ab38f228 Hide tuts not implemented in Rust yet 2018-03-31 20:06:27 +02:00
bzt
a798ff59f4 Fixed issue #3 2018-01-13 21:34:05 +01:00
bzt
7ace64ba9f Initial commit 2018-01-04 18:24:49 +01:00