Add files via upload

This commit is contained in:
Kevin Thomas
2026-02-15 13:33:49 -05:00
committed by GitHub
parent 26df7b629a
commit 0927721f0d
+11 -11
View File
@@ -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) │ │ .data Section (Flash → copied to RAM at startup)
│ Contains: Initialized global/static variables │ │ Contains: Initialized global/static variables
│ Example: int counter = 42; │ │ Example: int counter = 42;
├─────────────────────────────────────────────────────────────────┤ ├─────────────────────────────────────────────────────────────────┤
│ .bss Section (RAM - zeroed at startup) │ │ .bss Section (RAM - zeroed at startup)
│ Contains: Uninitialized global/static variables │ │ Contains: Uninitialized global/static variables
│ Example: int counter; (will be 0) │ │ Example: int counter; (will be 0)
├─────────────────────────────────────────────────────────────────┤ ├─────────────────────────────────────────────────────────────────┤
│ .rodata Section (Flash - read only) │ │ .rodata Section (Flash - read only)
│ Contains: Constants, string literals │ │ Contains: Constants, string literals
│ Example: const int MAX = 100; │ │ Example: const int MAX = 100;
│ Example: "hello, world" │ │ Example: "hello, world"
└─────────────────────────────────────────────────────────────────┘ └─────────────────────────────────────────────────────────────────┘
``` ```
@@ -842,7 +842,7 @@ delay2:
│ - Format: Raw Bytes │ │ - Format: Raw Bytes │
├─────────────────────────────────────────────────────────────────┤ ├─────────────────────────────────────────────────────────────────┤
│ 5. Convert to UF2 │ │ 5. Convert to UF2 │
│ - python uf2conv.py file.bin --base 0x10000000 │ │ - python uf2conv.py file.bin --base 0x10000000
│ --family 0xe48bff59 --output hacked.uf2 │ │ --family 0xe48bff59 --output hacked.uf2 │
├─────────────────────────────────────────────────────────────────┤ ├─────────────────────────────────────────────────────────────────┤
│ 6. Flash and verify │ │ 6. Flash and verify │