From 23acf071a670719336eafd18d33cdd0e0f02775c Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Tue, 26 Oct 2021 01:02:04 -0600 Subject: I figured out how to align the data section. I tried this before, I swear and it didn't work. Not sure what I did to make it work this time. I guess that goat I sacrificed appeased the right gods. --- linker/linker_script.ld | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'linker') diff --git a/linker/linker_script.ld b/linker/linker_script.ld index 83dcca0..0338591 100644 --- a/linker/linker_script.ld +++ b/linker/linker_script.ld @@ -14,8 +14,7 @@ SECTIONS *(.text); /* All .text sections go here. */ } >flash - .data : { - . = ALIGN(0x04); + .data : ALIGN(0x04) { /* Data segment as defined in the flash. */ INIT_DATA_VALUES = LOADADDR(.data); -- cgit