Skip to content

Commit 176c63f

Browse files
authored
Merge branch 'main' into project/daniel.mirza
2 parents 185b36b + c296399 commit 176c63f

835 files changed

Lines changed: 163861 additions & 2445 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

slides/lectures/fils_en/01/admin/slides.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
- 12 lectures
88
- 1 Q&A lecture for the project
99

10-
## Labs
11-
- 7 labs
10+
## Labs + Project Support
11+
- 12 labs
1212

1313
## Project
1414
- Build a hardware device running software written in Rust
@@ -23,12 +23,24 @@
2323
---
2424

2525
# Grading
26+
<style>
27+
table {
28+
font-size: 1em;
29+
}
30+
th {
31+
font-weight: bold;
32+
}
33+
td, th {
34+
padding: 6px; /* Reduce padding */
35+
}
36+
</style>
2637

2738
| Part | Description | Points |
2839
|--------|-------------|--------|
29-
| [Lecture](https://embedded-rust-101.wyliodrin.com/docs/fils_en/category/lecture) tests | You will have a test at every class with subjects from the previous class. | 1p |
30-
| [Final Lecture](https://embedded-rust-101.wyliodrin.com/docs/fils_en/category/lecture) test | You will have a test during one of the lectures in January. | 4p |
31-
| [Lab](https://embedded-rust-101.wyliodrin.com/docs/fils_en/category/lab) | Your work at every lab will be graded. | 1p |
40+
| [Lecture](https://embedded-rust-101.wyliodrin.com/docs/fils_en/category/lecture) tests | You will have a test at every class with subjects from the previous class. | 0.2p |
41+
| [Final Lecture](https://embedded-rust-101.wyliodrin.com/docs/fils_en/category/lecture) test | You will have a test during one of the lectures in May. | 1.8p |
42+
| [Lab](https://embedded-rust-101.wyliodrin.com/docs/fils_en/category/lab) | Your **presence** at every lab will be graded. | 1p |
43+
| [Lab](https://embedded-rust-101.wyliodrin.com/docs/fils_en/category/lab) Test | A final test at the lab - will scale your lab grade | 1p |
3244
| [Project](https://embedded-rust-101.wyliodrin.com/docs/fils_en/project) | You will have to design and implement a hardware device. Grading will be done for the documentation, hardware design and software development. | 3p |
33-
| Final Test | You will have to take an exam during the last week of the semester. | 2p |
45+
| Final Test | You will have to take an exam during the last week of the semester. | 4p |
3446
| **Total** | *You will need at least 4.5 points to pass the subject.* | **11p** |

slides/lectures/fils_en/01/slides.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ src: ./admin/slides.md
5959
src: ./subjects.md
6060
---
6161

62+
<!-- Rust -->
63+
64+
---
65+
src: ../../resources/rust/slides.md
66+
---
67+
6268
<!-- AGC -->
6369

6470
---

slides/lectures/fils_en/01/team.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ layout: section
55

66

77
---
8-
---
8+
99
# Our team
1010

1111
<div grid="~ cols-2 gap-2" m="t-2">
@@ -20,9 +20,14 @@ layout: section
2020

2121
## Labs
2222

23-
- Alexandru Radovici
24-
- Teodor Dicu (Hardware)
25-
- Genan Omer (Software)
23+
- Andrei Zamfir
24+
- Dănuț Aldea
25+
- Irina Bradu
26+
- Genan Omer
27+
- Cristiana Precup
28+
- Eva Cosma
29+
- Victor Lișman
30+
- Roi Bachynskyi
2631

2732
</div>
2833
</div>

slides/lectures/fils_en/02/slides.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ Lecture 2
3131
- Memory Mapped I/O
3232
- GPIO Peripheral
3333
- Embedded Rust Stack
34-
- `embassy-rs`
34+
- `embassy`
3535

36-
<!-- MMIO -->
36+
<!--
37+
MMIO
38+
-->
3739

3840
---
3941
src: ../../resources/mmio/slides.md

slides/lectures/fils_en/08/slides.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ src: ../../resources/mmu/slides.md
6060
---
6161
layout: two-cols
6262
---
63+
6364
# Microcontroller (MCU)
6465
Integrated in embedded systems for certain tasks
6566

@@ -70,7 +71,7 @@ Integrated in embedded systems for certain tasks
7071
- costs $0.1 - $25
7172
- uses **Memory Protection Unit**
7273

73-
<img src="./pico2w.png" class="m-5 h-30 rounded">
74+
<img src="./pico2w.png" class="m-5 h-30 rounded" style="background: white; padding: 5px">
7475

7576

7677
:: right ::

slides/lectures/fils_en/10/trusted_firmware.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ Provided in SDK
7676
---
7777
layout: two-cols-header
7878
---
79+
7980
# Public Key Infrastructure
8081

8182
::left::
@@ -93,13 +94,14 @@ layout: two-cols-header
9394

9495
::right::
9596

97+
<div align="center" style="background: white; padding: 5px" class="rounded">
9698
<img src="./public_key_encryption.svg" class="rounded">
97-
98-
99+
</div>
99100

100101
---
101102
layout: two-cols-header
102103
---
104+
103105
# Digital Signatures
104106
needs a *key pair* (RSA or ECS) and a *hashing algorithm*
105107

@@ -125,7 +127,9 @@ Verifying
125127

126128
::right::
127129

130+
<div align="center" style="background: white; padding: 5px" class="rounded">
128131
<img src="./digital_signature.svg" class="rounded">
132+
</div>
129133

130134
---
131135
layout: two-cols
@@ -298,4 +302,4 @@ flowchart LR
298302
- Smart Cards
299303
- keys should never be read from the device
300304
- software in these devices should not be tampered with
301-
- JavaCard (applets are uploadable)
305+
- JavaCard (applets are uploadable)

slides/lectures/resources/adc/slides.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ for this section
1919
---
2020
layout: two-cols
2121
---
22+
2223
# ADC
2324
sampling an analog signal to an array of values
2425

@@ -35,7 +36,7 @@ sampling an analog signal to an array of values
3536

3637
:: right ::
3738

38-
<div align="center">
39+
<div align="center" style="background: white; padding: 5px" class="rounded">
3940
<img src="./sampling_values.svg" class="rounded w-150">
4041
</div>
4142

@@ -90,7 +91,7 @@ how the ADC works
9091

9192
:: right ::
9293

93-
<div align="center">
94+
<div align="center" style="background: white; padding: 5px" class="rounded">
9495
<img src="./adc.svg" class="rounded w-150">
9596
</div>
9697

@@ -131,7 +132,7 @@ $$
131132
<img src="./adc_rp2040.png" class="rounded w-150">
132133
</div>
133134

134-
<div align="center">
135+
<div align="center" style="background: white; padding: 5px" class="rounded">
135136
<img src="../rp2350/pico2w-pinout.svg" class="rounded w-80">
136137
</div>
137138

slides/lectures/resources/communication/slides.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ safely share data between tasks
5353

5454
:: right ::
5555

56-
<div align="center">
56+
<div align="center" style="background: white; padding: 5px" class="rounded">
5757
<img src="../executor/isr_executor.svg" class="rounded">
5858
</div>
5959

@@ -65,7 +65,7 @@ safely share data between tasks
6565

6666
# Blocking Mutex
6767

68-
no `.await` allowed while the mutex is held
68+
no `.await` allowed while the Blocking Mutex is held
6969

7070
```rust{1|3-5|7-14|10-14|all}
7171
use embassy_sync::blocking_mutex::Mutex;
@@ -88,7 +88,7 @@ async fn task1() {
8888
---
8989

9090
# Async Mutex
91-
`.await` is allowed while the Mutex is held, it will release the Mutex while `await`ing
91+
`.await` is allowed while the Mutex is held
9292

9393
```rust{1|3-5|7-14|10-14|all}
9494
use embassy_sync::mutex::Mutex;

slides/lectures/resources/embassy-rs/slides.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
layout: section
33
---
4-
# embassy-rs
4+
5+
# embassy
56
[Embedded Asynchronous](https://embassy.dev/)
67

78
---
@@ -80,7 +81,7 @@ async fn main(_spawner: Spawner) {
8081

8182
</div>
8283

83-
The `main` function is called by the embassy-rs framework, so it can exit.
84+
The `main` function is called by the `embassy` framework, so it can return.
8485

8586
---
8687
---
@@ -136,7 +137,6 @@ async fn main(_spawner: Spawner) {
136137

137138
````
138139

139-
---
140140
---
141141

142142
# GPIO Output
@@ -195,7 +195,7 @@ async fn main(_spawner: Spawner) {
195195

196196
</div>
197197

198-
The `main` function is called by the embassy-rs framework, so it can exit.
198+
The `main` function is called by the `embassy` framework, so it can return.
199199

200200
---
201201
---

slides/lectures/resources/exceptions/slides.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,27 @@ for this section
1919
- Section 8.2 - *Exception types+*
2020

2121
---
22-
---
22+
2323
# Processor Exceptions
2424
what happens if something does not work as required
2525

26+
<div align="center" style="background: white; padding: 5px" class="rounded">
27+
2628
![Exceptions](./exceptions.svg)
2729

30+
</div>
31+
2832
---
29-
---
33+
3034
# ARM Cortex-M Exceptions
3135
what happens if something does not work as required
3236

37+
<div align="center" style="background: white; padding: 5px" class="rounded">
38+
3339
![Exceptions](./cortex-m.svg)
3440

41+
</div>
42+
3543
---
3644

3745
# Exception (HardFault) Handling
@@ -106,12 +114,11 @@ for this section
106114
- Section 11.7 - *Lockup*
107115

108116
---
109-
---
110117

111118
# ARM Cortex-M Interrupts
112119
some hardware device notifies the MCU
113120

114-
<div align="center">
121+
<div align="center" style="background: white; padding: 5px" class="rounded">
115122
<img src="./cortex-m-nvic.svg" class="rounded w-170">
116123
</div>
117124

@@ -313,6 +320,7 @@ flowchart LR
313320
---
314321
layout: two-cols
315322
---
323+
316324
# Boot
317325

318326
<style>
@@ -375,7 +383,7 @@ The internal boot loader cannot be overwritten and assures that bricking the dev
375383

376384
:: right ::
377385

378-
<div align="center">
386+
<div align="center" style="background: white; padding: 5px" class="rounded">
379387
<img src="./flash_address.svg" class="rounded w-70">
380388
</div>
381389

0 commit comments

Comments
 (0)