1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-22 16:57:41 +02:00
Commit Graph

662 Commits

Author SHA1 Message Date
64ee862f26 Bump spin from 0.9.6 to 0.9.8 in /src/bare-metal/alloc-example (#544)
Bumps [spin](https://github.com/mvdnes/spin-rs) from 0.9.6 to 0.9.8.
- [Release notes](https://github.com/mvdnes/spin-rs/releases)
- [Changelog](https://github.com/mvdnes/spin-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mvdnes/spin-rs/commits)

---
updated-dependencies:
- dependency-name: spin
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-04 08:54:39 +02:00
4338cd5744 Bump spin from 0.9.6 to 0.9.8 in /src/exercises/bare-metal/rtc (#543)
Bumps [spin](https://github.com/mvdnes/spin-rs) from 0.9.6 to 0.9.8.
- [Release notes](https://github.com/mvdnes/spin-rs/releases)
- [Changelog](https://github.com/mvdnes/spin-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mvdnes/spin-rs/commits)

---
updated-dependencies:
- dependency-name: spin
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-04 08:54:30 +02:00
b32af58a5f Bump spin from 0.9.5 to 0.9.8 in /src/bare-metal/aps/examples (#542)
Bumps [spin](https://github.com/mvdnes/spin-rs) from 0.9.5 to 0.9.8.
- [Release notes](https://github.com/mvdnes/spin-rs/releases)
- [Changelog](https://github.com/mvdnes/spin-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mvdnes/spin-rs/commits)

---
updated-dependencies:
- dependency-name: spin
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-04 08:54:20 +02:00
acf2990243 Update if-let-expressions.md (#540)
* Update if-let-expressions.md

add a note about let-else expressions.  Closes #536

* Remove old mention of let-else

* Indent code block to match the bullet point

---------

Co-authored-by: Martin Geisler <martin@geisler.net>
2023-04-03 12:04:26 +02:00
739b3a01e0 Restructure Day-3 morning (#503)
* Restructure Day-3 morning
2023-03-30 13:25:34 +01:00
780368b4f7 Minor fixes for Day 3 Morning (#532)
* don't explain default trait methods early

* talk about Iterator before IntoIterator

* Defer discussion of trait objects to that chapter

* be more specific about turbofish, in speaker notes
2023-03-28 15:42:56 -04:00
8c56c949ef Fix GCC package name. 2023-03-27 17:20:31 +01:00
4427241ca7 cargo-binutils requires llvm-tools-preview 2023-03-27 17:20:31 +01:00
aa1036af66 Add more hints for bare metal morning exercise. 2023-03-27 17:20:31 +01:00
956c137e51 Format hints as bullet-points. 2023-03-27 17:20:31 +01:00
d513109b92 Add Mac OS instructions for picocom too. 2023-03-27 17:20:31 +01:00
6f83b97e69 Fix Markdown formatting. 2023-03-27 17:20:31 +01:00
357f62e137 A compass doesn't tell us the temperature. 2023-03-27 17:20:31 +01:00
8ed300d620 Fix Linux build of bare metal AP code. 2023-03-27 17:20:31 +01:00
ae83778173 Show actual driver code on solution page. 2023-03-27 17:20:31 +01:00
9c166d4e97 Set publish = false in examples and exercises. 2023-03-23 15:12:23 +00:00
f8dea1df2f Use title case in SUMMARY. 2023-03-23 15:12:23 +00:00
fa56c70dcb Get AP examples working on Mac OS too. 2023-03-23 15:06:23 +00:00
fc36e40eef Make base address constants a pointer rather than a usize. 2023-03-23 15:06:23 +00:00
782313e16e Add commands to run examples to speaker notes. 2023-03-23 15:06:23 +00:00
72ff50e60b Build bare-metal examples in presubmit. 2023-03-23 15:06:23 +00:00
b670098ab1 Update Cargo.lock, and no need for beta toolchain. 2023-03-23 15:06:23 +00:00
b2ce958f2e Add pages about Android and vmbase. 2023-03-23 15:06:23 +00:00
8aef12bf1d Add page about spin. 2023-03-23 15:06:23 +00:00
f5b6e47f31 Put tinyvec example inline. 2023-03-23 15:06:23 +00:00
fb3fd3979c Add RTC exercise. 2023-03-23 15:06:23 +00:00
8b21f5070e Add page about inline assembly. 2023-03-23 15:06:23 +00:00
f293ede958 Add page about tinyvec. 2023-03-23 15:06:23 +00:00
8d1f903202 Add MacOS instructions. 2023-03-23 15:06:23 +00:00
56319e016b Add page about buddy_system_allocator. 2023-03-23 15:06:23 +00:00
f0043637e2 Write page about aarch64-paging. 2023-03-23 15:06:23 +00:00
dc95bd1dae Write page about zerocopy. 2023-03-23 15:06:23 +00:00
f3edffd1a7 Fix mdbook test failure. 2023-03-23 15:06:23 +00:00
ada6a53942 Improve makefile. 2023-03-23 15:06:23 +00:00
31c7b283c2 Add example implementing logger. 2023-03-23 15:06:23 +00:00
15518aa177 Add separate binary for minimal UART driver. 2023-03-23 15:06:23 +00:00
d6027f5080 Add notes about traits. 2023-03-23 15:06:23 +00:00
bc21369dcb Add example of using UART driver. 2023-03-23 15:06:23 +00:00
1f315da903 Write a more complete UART driver. 2023-03-23 15:06:23 +00:00
f6fc0edb11 We need qemu-system-arm too. 2023-03-23 15:06:23 +00:00
790f4c88d5 Add note about QEMU UART. 2023-03-23 15:06:23 +00:00
c7831953bb QEMU virt machine uses PL011 UART not 16550. 2023-03-23 15:06:23 +00:00
08c0c53412 Add section about Android bare-metal Rust support. 2023-03-23 15:06:23 +00:00
7eee892195 Start on AP UART driver example. 2023-03-23 15:06:23 +00:00
76ad4b2939 Add first AP slide and mention other projects. 2023-03-23 15:06:23 +00:00
dee3e64442 Start writing about MMIO. 2023-03-23 15:06:23 +00:00
3b538b582d Add a brief mention of doc comments (#509) 2023-03-21 12:15:07 -04:00
259dfcb1eb Bump cortex-m-rt from 0.7.2 to 0.7.3 in /src/exercises/bare-metal/compass (#517)
Bump cortex-m-rt in /src/exercises/bare-metal/compass

Bumps [cortex-m-rt](https://github.com/rust-embedded/cortex-m) from 0.7.2 to 0.7.3.
- [Release notes](https://github.com/rust-embedded/cortex-m/releases)
- [Changelog](https://github.com/rust-embedded/cortex-m/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-embedded/cortex-m/compare/v0.7.2...v0.7.3)

---
updated-dependencies:
- dependency-name: cortex-m-rt
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 14:44:56 +00:00
3b02b09901 Fix line numbers in debugging example. 2023-03-20 14:44:43 +00:00
6dd2a9f002 Mention why we need extern crate panic_halt. 2023-03-20 14:44:43 +00:00