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.
This commit is contained in:
Jake Goodwin 2025-01-19 21:36:36 -08:00
parent 0f331293d0
commit 533d9ab020
1 changed files with 4 additions and 1 deletions

View File

@ -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 :
{