bugs offset measurements

This commit is contained in:
Noah Piqué
2021-11-19 15:29:10 +01:00
parent 8c54032298
commit d7b1b28616
7 changed files with 46 additions and 11 deletions

View File

@@ -48,12 +48,20 @@ MEMORY
{
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 48K
RAM2 (xrw) : ORIGIN = 0x10000000, LENGTH = 16K
FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 128K
FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 128K-2K
DATA (rwx) : ORIGIN = 0x801F800, LENGTH = 2K
}
/* Sections */
SECTIONS
{
/* NOLOAD is required for not ereasing this block */
.user_data (NOLOAD) :
{
. = ALIGN(4);
*(.user_data)
. = ALIGN(4);
} > DATA
/* The startup code into "FLASH" Rom type memory */
.isr_vector :
{