Andrew Walbran
86d8c4ae54
Rename exercise template directory and archive.
2023-04-05 16:28:07 +01:00
Andrew Walbran
9375126b3c
Use comment rather than inline code to find filename.
2023-04-05 16:28:07 +01:00
Andrew Walbran
c17e8abbd7
Add links to exercise template archive.
2023-04-05 16:28:07 +01:00
Martin Geisler
a3eaeca212
Update scraper
dependency ( #547 )
...
* Update scraper dependency to 0.15.0
No code changes required because of this.
* Update dependencies in lock file
2023-04-04 14:27:46 +02:00
dependabot[bot]
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
Andrew Walbran
aa1036af66
Add more hints for bare metal morning exercise.
2023-03-27 17:20:31 +01:00
Andrew Walbran
956c137e51
Format hints as bullet-points.
2023-03-27 17:20:31 +01:00
Andrew Walbran
d513109b92
Add Mac OS instructions for picocom too.
2023-03-27 17:20:31 +01:00
Andrew Walbran
6f83b97e69
Fix Markdown formatting.
2023-03-27 17:20:31 +01:00
Andrew Walbran
357f62e137
A compass doesn't tell us the temperature.
2023-03-27 17:20:31 +01:00
Andrew Walbran
8ed300d620
Fix Linux build of bare metal AP code.
2023-03-27 17:20:31 +01:00
Andrew Walbran
ae83778173
Show actual driver code on solution page.
2023-03-27 17:20:31 +01:00
Andrew Walbran
9c166d4e97
Set publish = false in examples and exercises.
2023-03-23 15:12:23 +00:00
Andrew Walbran
fa56c70dcb
Get AP examples working on Mac OS too.
2023-03-23 15:06:23 +00:00
Andrew Walbran
fc36e40eef
Make base address constants a pointer rather than a usize.
2023-03-23 15:06:23 +00:00
Andrew Walbran
fb3fd3979c
Add RTC exercise.
2023-03-23 15:06:23 +00:00
dependabot[bot]
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
Andrew Walbran
e2d7bc56ec
Add other files for compass exercise to exercise page.
2023-03-20 14:26:57 +00:00
Andrew Walbran
8513adfd3c
Add more hints for compass exercise.
2023-03-20 14:26:57 +00:00
Andrew Walbran
a070573867
Expand IMU acronym first time.
2023-03-20 14:26:57 +00:00
Andrew Walbran
52f0c9ef64
Rename Day 5A to Bare Metal Rust.
2023-03-20 14:26:57 +00:00
Andrew Walbran
ecbb7e41bb
Format imports with imports_granularity = "Module".
2023-03-20 14:26:57 +00:00
Andrew Walbran
f40261646c
Add option to display accelerometer rather than compass.
2023-03-20 14:26:57 +00:00
Andrew Walbran
8f2a851e95
Display accelerometer rather than compass.
2023-03-20 14:26:57 +00:00
Andrew Walbran
44a4b4b234
Display compass values on LEDs.
2023-03-20 14:26:57 +00:00
Andrew Walbran
82f4dab523
Get compass solution working and add more information.
2023-03-20 14:26:57 +00:00
Andrew Walbran
af0d97d1a7
Fix mdbook test.
2023-03-20 14:26:57 +00:00
Andrew Walbran
354834c711
Template, hint and extension for compass exercise.
2023-03-20 14:26:57 +00:00
Andrew Walbran
062129546a
Temperature logger is no more.
2023-03-20 14:26:57 +00:00
Andrew Walbran
deff63f9a5
cargo-embed config
2023-03-20 14:26:57 +00:00
Andrew Walbran
78d1fc2836
Fill in solution for compass exercise.
2023-03-20 14:26:57 +00:00
Andrew Walbran
fb2a81186b
Initialise I2C bus.
2023-03-20 14:26:57 +00:00
Andrew Walbran
026cdca2b7
Use micro:bit v2 for temperature logger example.
2023-03-20 14:26:57 +00:00
Andrew Walbran
e21a83d5e8
Start or temperature logger exercise.
2023-03-20 14:26:57 +00:00
Dustin J. Mitchell
bfed596d28
Generalize the day-4 afternoon ( #487 )
...
* Generalize the day-4 afternoon
This is in preparation for adding more options for this portion of the
course, and reflects an existing practice of substituting other
materials for this last half-day.
* address review comments
2023-03-10 09:07:36 -05:00
Charisee Chiw
c22b35e426
Remove silenced warnings in book-library exercise ( #388 )
...
* Update book-library.md
* Update book-library.rs
* Apply suggestions from code review
Expanding the variable makes it ever-so-slightly easier to read.
---------
Co-authored-by: Martin Geisler <mgeisler@google.com>
2023-02-28 17:53:02 -08:00
Charisee Chiw
2436560e40
Let user know they can modify the tests, but do not need to. ( #401 )
2023-02-14 12:28:22 -08:00
Charisee Chiw
426d7d91c2
Update points-polygons.md ( #361 )
2023-02-09 20:49:35 +00:00
Martin Geisler
c4bc10e31d
Inline variables printed with println!
and friends ( #315 )
...
The course follows the style of inlining variable names where possible
in `println!` statements.
2023-02-09 07:48:18 +01:00
gendx
b5518e9b16
Add a solution for day 1's bonus question with generics. ( #338 )
2023-02-03 15:29:49 +00:00
Andrew Walbran
20f02db5f5
Add a cargo workspace containing both crates ( #321 )
...
* Move Cargo.toml for exercises to exercises directory.
* Create a workspace with both exercises and i18n-helpers.
* Build in CI as well as testing.
* Binaries must have a main function.
* No need for workspaces configuration for caching anymore.
2023-02-02 16:14:34 +00:00
Martin Geisler
d6182ea498
Fix missing word ( #311 )
2023-01-31 20:09:00 +00:00
Mao Yufeng
49e06ffe03
Fix link to solution on Day 3 exercise ( #299 )
...
* fix day-3 solutions link
* Fix link description by making it singular
---------
Co-authored-by: Martin Geisler <martin@geisler.net>
2023-01-29 12:52:32 +01:00
Andrew Walbran
facbac4601
Fix typo, and this is not specific to glibc.
2023-01-27 17:17:37 +00:00
Igor Petruk
585509bb0a
Update points-polygons.md ( #234 )
...
Adding speaker notes with key things that might be present in the solution.
2023-01-26 19:04:03 +01:00
Alexei Ermakov
f0310f4f61
Fixed link to IntoIterator for Vec doc
2023-01-26 12:04:58 +00:00
upsidedwn
ec01563bd6
Propose to use the generic term perimeter instead of circumference for shapes ( #281 )
...
* Update unit tests to use generic perimeter
* Update solution to use perimeter
Update solution to use the generic term perimeter instead of circumference
2023-01-26 08:59:13 +00:00
Igor Petruk
356d1cec19
Update boot-library.md ( #225 )
...
Adding a link to the Solution.
2023-01-23 11:30:52 +00:00
Igor Petruk
ec7125da2e
Adding a link to Solutions from for-loops.md and extending the answer to the bonus questions. ( #213 )
...
* Update for-loops.md
* Update solutions-morning.md
2023-01-23 11:05:36 +00:00
Igor Petruk
905d0a067e
Update implicit-conversions.md ( #210 )
...
I suggest to clarify that you only need to implement `From` and nobody really implements `Into` as soon as `From` is implemented.
I decided to add a separate paragraph after the `i8` and `i16` example, as they provide intuitive understanding of reverse relationship between `From` and `Into`. Alternatively trying to explain `From` and `Into` in generic way sounds more confusing than just adding this sentence after the specific example.
2023-01-21 14:20:14 +00:00