c5863f6642
Add optional extension to RTC exercise ( #562 )
...
* Add methods to mask and clear interrupts.
* Start on GICv3 driver.
* Enable and use RTC interrupt.
* WFI
* Add newtype for interrupt ID.
* Add extension to use interrupt.
* Add method to send an SGI.
* Silence warnings about unused methods in provided drivers.
* Implement Debug manually for IntId.
It's useful to say what kind of interrupt it is.
* Acknowledge and log interrupt.
We should end it as well, but doing so results in a loop unless we first
clear the match.
* cargo fmt with imports_granularity = "module"
* Use arm-gic crate rather than including driver in the example.
2023-04-17 15:38:51 +01:00
87f1976589
cargo fmt with imports_granularity = "module" ( #564 )
2023-04-16 20:57:59 +02:00
d8e442b9cb
Extend bare metal afternoon exercise ( #561 )
...
* Add methods to set match register and check whether it matches.
* Add first extension to RTC exercise, using match register.
* No need for constants to be public.
2023-04-13 10:58:06 +01:00
5cdb73387f
Inline format vars to make the format str simpler ( #551 )
2023-04-06 12:00:10 +02:00
86d8c4ae54
Rename exercise template directory and archive.
2023-04-05 16:28:07 +01:00
9375126b3c
Use comment rather than inline code to find filename.
2023-04-05 16:28:07 +01:00
c17e8abbd7
Add links to exercise template archive.
2023-04-05 16:28:07 +01: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
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
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
fb3fd3979c
Add RTC exercise.
2023-03-23 15:06:23 +00: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
e2d7bc56ec
Add other files for compass exercise to exercise page.
2023-03-20 14:26:57 +00:00
8513adfd3c
Add more hints for compass exercise.
2023-03-20 14:26:57 +00:00
a070573867
Expand IMU acronym first time.
2023-03-20 14:26:57 +00:00
52f0c9ef64
Rename Day 5A to Bare Metal Rust.
2023-03-20 14:26:57 +00:00
f40261646c
Add option to display accelerometer rather than compass.
2023-03-20 14:26:57 +00:00
8f2a851e95
Display accelerometer rather than compass.
2023-03-20 14:26:57 +00:00
44a4b4b234
Display compass values on LEDs.
2023-03-20 14:26:57 +00:00
82f4dab523
Get compass solution working and add more information.
2023-03-20 14:26:57 +00:00
af0d97d1a7
Fix mdbook test.
2023-03-20 14:26:57 +00:00
354834c711
Template, hint and extension for compass exercise.
2023-03-20 14:26:57 +00:00
062129546a
Temperature logger is no more.
2023-03-20 14:26:57 +00:00
deff63f9a5
cargo-embed config
2023-03-20 14:26:57 +00:00
78d1fc2836
Fill in solution for compass exercise.
2023-03-20 14:26:57 +00:00
fb2a81186b
Initialise I2C bus.
2023-03-20 14:26:57 +00:00
026cdca2b7
Use micro:bit v2 for temperature logger example.
2023-03-20 14:26:57 +00:00
e21a83d5e8
Start or temperature logger exercise.
2023-03-20 14:26:57 +00:00