소스 검색

🔨 Consolidate BTT linker scripts

Originally from #22022
Scott Lahteine 3 년 전
부모
커밋
62dc3e7a22

+ 0
- 14
buildroot/share/PlatformIO/ldscripts/STM32F103RE_SKR_E3_DIP.ld 파일 보기

@@ -1,14 +0,0 @@
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 파일 보기


+ 3
- 1
ini/stm32f1-maple.ini 파일 보기

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

Loading…
취소
저장