Commit Graph

93 Commits

Author SHA1 Message Date
Andre Richter
038c8ac55c
Add travis CI 2018-06-17 14:25:22 +02:00
Andre Richter
69d9890c4a
Update #[lang = "panic_fmt"] -> #[panic_implementation]
More info: https://users.rust-lang.org/t/psa-breaking-change-panic-fmt-language-item-removed-in-favor-of-panic-implementation/17875
2018-06-17 13:40:30 +02:00
Andre Richter
8a3f6f5f15
utils: Exit early on build failure 2018-06-17 13:20:25 +02:00
Andre Richter
99f4dc24b3
Change dockcross path to newest upstream release 2018-06-17 13:14:03 +02:00
Andre Richter
27a5f64156
Dockcross binaries path changed 2018-05-16 00:28:21 +02:00
Andre Richter
fd4c62f9e8
Fix strange dockcross path changes
There were some strange changes to the aarch64 dockross image lately.
Looks like unintentional path changes. I'll adapt for now, but
hopefully this gets reverted to a sane state soon.

Referenece:
https://github.com/dockcross/dockcross/pull/221#issuecomment-387188681
2018-05-07 22:44:44 +02:00
Andre Richter
1b2fc525ea Add tutorial 0A_power 2018-04-23 22:05:22 +02:00
Andre Richter
e6f823a224 Add timer tutorial
- Also, upgrade to new `cortex-a` 0.1.3 implementation.
2018-04-19 18:46:24 +02:00
Andre Richter
b2ddb8600d Update README.md 2018-04-13 22:39:26 +02:00
Andre Richter
a3fef3844d Add deref comment to tutorial 3 as well
This is the first time reader will encounter it.
2018-04-13 22:11:42 +02:00
Andre Richter
395d82908f Add some utility scripts 2018-04-13 22:07:30 +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
a584fa4dfa mobx: Remove unnessecary mut 2018-04-13 21:27:26 +02:00
Andre Richter
cb216785b3 01_bareminimum: Use panic-abort crate instead of own handler 2018-04-13 21:25:22 +02:00
Andre Richter
bf47dade3d run cargo fmt on repo 2018-04-12 22:27:49 +02:00
Andre Richter
1b046df046 Introduce abstraction tut, shuffle tut numbers again 2018-04-12 22:21:03 +02:00
Andre Richter
09d36953a0 Remove own boilerplate code
Use panic and runtime crates from japaric
2018-04-10 21:26:09 +02:00
Andre Richter
eb59646733 Fix clippy targets 2018-04-09 22:18:27 +02:00
Andre Richter
1e8ef325b6 Add abi blacklist for target
Use default list from:
0defa208dc/src/librustc_back/target/arm_base.rs
2018-04-09 22:11:43 +02:00
Andre Richter
b31463075d Use a func ptr for jmp. Remove unused regs 2018-04-09 22:10:14 +02:00
Andre Richter
dceb4c3097 Xargo 0.3.12 supports builtins now. Remove Xargo.toml again 2018-04-08 19:56:56 +02:00
Andre Richter
7273745da6 Add raspbootin64 tutorial and reshuffle order 2018-04-08 19:56:26 +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
857568009e Lazily generate dockcross runscript 2018-04-07 13:13:56 +02:00
Andre Richter
036d6f0893 Change fence type, add more elaborate description 2018-04-07 12:18:04 +02:00
Andre Richter
135a72ed98 Remove unnecessary pub keywords 2018-04-06 08:55:18 +02:00
Andre Richter
a772630b3b Cleanup register definitions 2018-04-04 22:21:23 +02:00
Andre Richter
d2a16a6c71 Add tutorial 06_random 2018-04-04 21:46:35 +02:00
Andre Richter
5ae22d3cb2 adapt two copyrights 2018-04-04 20:45:21 +02:00
Andre Richter
f384d99d78 minor style fixes 2018-04-04 20:41:33 +02:00
Andre Richter
c0b1e92b7e Align content better with first tutorial 2018-04-04 20:41:17 +02:00
Andre Richter
8f94a07675 Add tutorial 01_bareminimum 2018-04-04 20:40:41 +02:00
Andre Richter
b2f5da7184 Add tutorial 02_multicore_rust 2018-04-03 22:56:54 +02:00
Andre Richter
b9dea36052 remove accidentally uploaded file 2018-04-03 21:13:51 +02:00
Andre Richter
b869cf9a38 Correct stuff clippy complained about 2018-04-03 21:00:14 +02:00
Andre Richter
b42c922012 Add clippy targets 2018-04-03 20:57:30 +02:00
Andre Richter
78ea9a9931 Add tutorial 04_mailboxes 2018-04-02 19:54:51 +02:00
Andre Richter
d2636fc9ba Add compiler fence before mailbox signaling 2018-04-02 19:09:53 +02:00
Andre Richter
41d69fa594 Remove memory barrier again
Upon further reading, found out that RPi3 features an A53 CPU, which
is one of the ARMv8-A variants that in fact does _not_ have
out-of-order execution.
2018-04-02 19:09:49 +02:00
Andre Richter
de0e42142b stay closer to original 2018-04-02 17:44:05 +02:00
Andre Richter
45eadc8543 Switch to MIT License for Embedonomicon code snippets
They have been relicensed under MIT/Apache in
japaric/embedonomicon@d8c72ed452
2018-04-01 21:53:42 +02:00
Andre Richter
989a9326ec Add memory barrier before mailbox calls 2018-04-01 21:45:26 +02:00
Andre Richter
bd5827ba0e Minor cosmetics and comments 2018-04-01 20:39:57 +02:00
Andre Richter
298bec39c8 Add tutorial 03_uart1 2018-04-01 16:50:16 +02:00
Andre Richter
24cf950bae typo 2018-04-01 00:21:09 +02:00
Andre Richter
80e9a67239 Add wiring image 2018-03-31 20:20:40 +02:00
Andre Richter
4d251b940b Adapt READMEs 2018-03-31 20:12:42 +02:00
Andre Richter
b3c9e041e6 Add UART0 Hello World 2018-03-31 20:08:45 +02:00
Andre Richter
e6ab38f228 Hide tuts not implemented in Rust yet 2018-03-31 20:06:27 +02:00
bzt
173e3090a6 Added links to readmes 2018-03-28 13:02:04 +02:00