From 71c0b67f53f8539ded8240420656454870532ff6 Mon Sep 17 00:00:00 2001 From: "Satoshi N. M" Date: Fri, 12 Jan 2018 23:07:17 -0800 Subject: [PATCH] bluepill.ld linker script: remove data region, remnant of pill duck --- src/bluepill.ld | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/bluepill.ld b/src/bluepill.ld index 0c6c351..ccf8eba 100644 --- a/src/bluepill.ld +++ b/src/bluepill.ld @@ -20,21 +20,9 @@ /* Define memory regions. */ MEMORY { - rom (rx) : ORIGIN = 0x08000000, LENGTH = 8K - data (rwx) : ORIGIN = 0x08002000, LENGTH = 128K-8K - + rom (rx) : ORIGIN = 0x08000000, LENGTH = 128K ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K } -SECTIONS -{ - .user_data (NOLOAD) : - { - . = ALIGN(4); - *(.user_data) - . = ALIGN(4); - } > data -} - /* Include the common ld script from libopenstm32. */ INCLUDE libopencm3_stm32f1.ld