Andre Richter
76b86a4997
Use refactored Makefile from JTAG tutorial everywhere.
2019-03-10 17:06:29 +01:00
Andre Richter
4f4e88cfbe
Update binaries generated by newer rustc
2019-02-01 19:28:09 +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
e77745e545
Fix correct term usec for microseconds
2019-01-12 22:12:04 +01:00
Andre Richter
90d88f65b6
Streamlining, cleanup, and minor fixes.
2018-12-31 01:19:57 +01:00
Andre Richter
7f8960bb81
09_delays: Fix delays in main
2018-12-22 20:58:41 +01:00
Andre Richter
ad2d0d1182
🎉 Update to Rust 2018 🎉
2018-12-22 20:56:09 +01:00
Tyler Christensen
d981f670b1
Fix two timing issues in delays.rs ( #8 )
...
* Fix two timing issues in delays.rs
These changes correct the implementations of delays::SysTmr::wait_msec_st
and delays::wait_msec to behave correctly and consistently with one another.
* Port delay fix from 09_delays to 0B_exception_levels
I believe this covers all copies of this bug in the codebase.
* Rebuild tutorial kernels with delay fixes
2018-12-01 12:35:21 +01:00
Andre Richter
3e10cd52a1
Add nm target
2018-11-01 22:44:16 +01:00
Andre Richter
2046da5eab
Add objdump target
2018-10-03 00:02:45 +02:00
Andre Richter
3f92aab6e7
Bump extern crates
...
cortex-a -> 2.2.1
panic-abort -> 0.3.1
2018-10-02 23:47:09 +02:00
Andre Richter
6d135ee441
Makefile: Don't delete kernel8
2018-10-02 23:34:01 +02:00
Andre Richter
37fe055082
Alignment. Binaries from newer Rust version.
2018-10-02 23:16:04 +02:00
Andre Richter
08235093c1
Bump cortex-a to v2.0.1
2018-08-26 21:37:46 +02:00
Andre Richter
1ca70bcd56
Check-in kernel8
...
Useful for assembly inspection via objdump
2018-08-26 20:34:37 +02:00
Andre Richter
c156a32411
rust-fmt all
2018-08-26 14:02:07 +02:00
Andre Richter
633510262d
Fix wrong Stack address
...
Luckily, this error was non-manifest.
2018-08-26 13:58:12 +02:00
Andre Richter
21e181c63a
Bump cortex-a to v1.1.0
2018-08-24 00:13:53 +02:00
Andre Richter
0ededdc791
Bump register to v0.2.0
2018-08-23 23:53:55 +02:00
Andre Richter
c19993934c
Use cargo-xbuild
...
Also, have a config where the individual projects can reuse the same
sysroot.
2018-08-21 21:22:50 +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
c5981b6ccd
Don't invoke clippy via xargo
...
Despite invoking clippy with xargo, it wasnt actually using the custom
target, so we don't need xargo here for now...
The target argument was missing anyways. Using it throws an error.
Needs some more investigation.
2018-08-19 00:42:36 +02:00
Andre Richter
969704d498
Use correct sequence of MMIO timer reads
...
As discussed in #2
2018-08-12 17:06:30 +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
323a346b07
Use llvm objcopy from rust toolchain 🎉
...
Its the last missing util we needed to be a rust-toolchain-only project.
https://github.com/rust-lang/rust/pull/50336
https://github.com/japaric/cargo-binutils
2018-06-29 19:48:42 +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
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