From 0927721f0db776b18c028b03d55e3c6a980e9de5 Mon Sep 17 00:00:00 2001 From: Kevin Thomas Date: Sun, 15 Feb 2026 13:33:49 -0500 Subject: [PATCH] Add files via upload --- WEEK04/WEEK04.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/WEEK04/WEEK04.md b/WEEK04/WEEK04.md index 729a1cc..623ddf4 100644 --- a/WEEK04/WEEK04.md +++ b/WEEK04/WEEK04.md @@ -91,18 +91,18 @@ When your program is compiled, variables go to different places depending on how ``` ┌─────────────────────────────────────────────────────────────────┐ -│ .data Section (Flash → copied to RAM at startup) │ -│ Contains: Initialized global/static variables │ -│ Example: int counter = 42; │ +│ .data Section (Flash → copied to RAM at startup) │ +│ Contains: Initialized global/static variables │ +│ Example: int counter = 42; │ ├─────────────────────────────────────────────────────────────────┤ -│ .bss Section (RAM - zeroed at startup) │ -│ Contains: Uninitialized global/static variables │ -│ Example: int counter; (will be 0) │ +│ .bss Section (RAM - zeroed at startup) │ +│ Contains: Uninitialized global/static variables │ +│ Example: int counter; (will be 0) │ ├─────────────────────────────────────────────────────────────────┤ -│ .rodata Section (Flash - read only) │ -│ Contains: Constants, string literals │ -│ Example: const int MAX = 100; │ -│ Example: "hello, world" │ +│ .rodata Section (Flash - read only) │ +│ Contains: Constants, string literals │ +│ Example: const int MAX = 100; │ +│ Example: "hello, world" │ └─────────────────────────────────────────────────────────────────┘ ``` @@ -842,7 +842,7 @@ delay2: │ - Format: Raw Bytes │ ├─────────────────────────────────────────────────────────────────┤ │ 5. Convert to UF2 │ -│ - python uf2conv.py file.bin --base 0x10000000 │ +│ - python uf2conv.py file.bin --base 0x10000000 │ │ --family 0xe48bff59 --output hacked.uf2 │ ├─────────────────────────────────────────────────────────────────┤ │ 6. Flash and verify │