aboutsummaryrefslogtreecommitdiffstats
path: root/support/ld/maple/flash.ld
diff options
context:
space:
mode:
Diffstat (limited to 'support/ld/maple/flash.ld')
-rw-r--r--support/ld/maple/flash.ld5
1 files changed, 4 insertions, 1 deletions
diff --git a/support/ld/maple/flash.ld b/support/ld/maple/flash.ld
index e9ff4b4..8a179f7 100644
--- a/support/ld/maple/flash.ld
+++ b/support/ld/maple/flash.ld
@@ -19,8 +19,11 @@ GROUP(libcs3_stm32_med_density.a)
REGION_ALIAS("REGION_TEXT", rom);
REGION_ALIAS("REGION_DATA", ram);
REGION_ALIAS("REGION_BSS", ram);
+REGION_ALIAS("REGION_RODATA", rom);
/*
* Define the rest of the sections
*/
-INCLUDE common_rom.inc
+_FLASH_BUILD = 1;
+
+INCLUDE common.inc