From 533d9ab0204e2329a342742002f803a82782fa76 Mon Sep 17 00:00:00 2001 From: jake Date: Sun, 19 Jan 2025 21:36:36 -0800 Subject: [PATCH] copied over logic from cortex-M4 example repo I copy pastaed some of the linker setup from another repo I found. Had to change some stuff as their directory setup is differnt than mine. --- linker.ld | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/linker.ld b/linker.ld index 183ee4f..ce05fb6 100644 --- a/linker.ld +++ b/linker.ld @@ -2,7 +2,9 @@ * Filename: linker.ld * Micro-Controller: stm32f103c8t6 * Cortex-M3 and Cortex-M4 only need to be 4byte aligned where as - * other's might need 8byte or something differnt. + * other's might need 8byte or something different. + * + * The M3/M4 are ARMv7 and ARMv7E-M respectively. */ @@ -50,6 +52,7 @@ MEMORY floating_point = 0; SECTIONS { + /* Code section, mapped to Flash memory */ .text : {