Browse Source

🔨 Consolidate BTT linker scripts

Originally from #22022
Scott Lahteine 3 years ago
parent
commit
62dc3e7a22

+ 0
- 14
buildroot/share/PlatformIO/ldscripts/STM32F103RE_SKR_E3_DIP.ld View File

1
-MEMORY
2
-{
3
-  ram (rwx) : ORIGIN = 0x20000000, LENGTH = 48K - 40
4
-  rom (rx)  : ORIGIN = 0x08007000, LENGTH = 512K - 28K - 4K
5
-}
6
-
7
-/* Provide memory region aliases for common.inc */
8
-REGION_ALIAS("REGION_TEXT", rom);
9
-REGION_ALIAS("REGION_DATA", ram);
10
-REGION_ALIAS("REGION_BSS", ram);
11
-REGION_ALIAS("REGION_RODATA", rom);
12
-
13
-/* Let common.inc handle the real work. */
14
-INCLUDE common.inc

buildroot/share/PlatformIO/ldscripts/STM32F103RC_SKR_MINI_512K.ld → buildroot/share/PlatformIO/ldscripts/STM32F103RE_SKR_MINI_512K.ld View File


+ 3
- 1
ini/stm32f1-maple.ini View File

155
 upload_protocol      = jlink
155
 upload_protocol      = jlink
156
 
156
 
157
 #
157
 #
158
+# BigTree SKR Mini E3 DIP / SKR CR6 (STM32F103RET6 ARM Cortex-M3)
159
+#
158
 #   STM32F103RE_btt ............. RET6
160
 #   STM32F103RE_btt ............. RET6
159
 #   STM32F103RE_btt_USB ......... RET6 (USB mass storage)
161
 #   STM32F103RE_btt_USB ......... RET6 (USB mass storage)
160
 #
162
 #
162
 platform          = ${common_stm32f1.platform}
164
 platform          = ${common_stm32f1.platform}
163
 extends           = env:STM32F103RE_maple
165
 extends           = env:STM32F103RE_maple
164
 board_build.address  = 0x08007000
166
 board_build.address  = 0x08007000
165
-board_build.ldscript = STM32F103RE_SKR_E3_DIP.ld
167
+board_build.ldscript = STM32F103RE_SKR_MINI_512K.ld
166
 extra_scripts     = ${common_stm32f1.extra_scripts}
168
 extra_scripts     = ${common_stm32f1.extra_scripts}
167
   buildroot/share/PlatformIO/scripts/custom_board.py
169
   buildroot/share/PlatformIO/scripts/custom_board.py
168
 build_flags       = ${common_stm32f1.build_flags} -DDEBUG_LEVEL=0 -DSS_TIMER=4
170
 build_flags       = ${common_stm32f1.build_flags} -DDEBUG_LEVEL=0 -DSS_TIMER=4

Loading…
Cancel
Save