Initial Commit

TODOS:
1. Ensure memory.x has correct memory regions.
2. Add HAL loop delay.
This commit is contained in:
Lorenzo Good 2026-06-01 13:40:49 -04:00
commit f41f2c6806
Signed by: lorenzo
GPG key ID: 7FCD64BD81180ED0
10 changed files with 645 additions and 0 deletions

23
memory.x Normal file
View file

@ -0,0 +1,23 @@
MEMORY
{
/* NOTE K = KiBi = 1024 bytes */
/* TODO Adjust these memory regions to match your device memory layout */
FLASH : ORIGIN = 0x8000000, LENGTH = 128K
RAM : ORIGIN = 0x20000000, LENGTH = 32K
}
/* This is where the call stack will be allocated. */
/* The stack is of the full descending type. */
/* You may want to use this variable to locate the call stack and static
variables in different memory regions. Below is shown the default value */
/* _stack_start = ORIGIN(RAM) + LENGTH(RAM); */
/* You can use this symbol to customize the location of the .text section */
/* If omitted the .text section will be placed right after the .vector_table
section */
/* This is required only on microcontrollers that store some configuration right
after the vector table */
/* _stext = ORIGIN(FLASH) + 0x400; */
/* Size of the heap (in bytes) */
/* _heap_size = 1024; */