Ver código fonte

🐛 Fix FYSETC Cheetah v2.0 build (#22926)

George Fu 3 anos atrás
pai
commit
0d41667bc2
Nenhuma conta vinculada ao e-mail do autor do commit

+ 1
- 2
buildroot/share/PlatformIO/boards/marlin_FYSETC_CHEETAH_V20.json Ver arquivo

@@ -14,7 +14,6 @@
14 14
         "0x3748"
15 15
       ]
16 16
     ],
17
-    "ldscript": "stm32f401rc.ld",
18 17
     "mcu": "stm32f401rct6",
19 18
     "variant": "MARLIN_FYSETC_CHEETAH_V20"
20 19
   },
@@ -56,7 +55,7 @@
56 55
       "dfu",
57 56
       "jlink"
58 57
     ],
59
-	"offset_address": "0x800C000",
58
+	"offset_address": "0x8008000",
60 59
     "require_upload_port": true,
61 60
     "use_1200bps_touch": false,
62 61
     "wait_for_upload_port": false

+ 1
- 1
buildroot/share/PlatformIO/variants/MARLIN_FYSETC_CHEETAH_V20/ldscript.ld Ver arquivo

@@ -61,7 +61,7 @@ _Min_Stack_Size = 0x400;; /* required amount of stack */
61 61
 /* Specify the memory areas */
62 62
 MEMORY
63 63
 {
64
-FLASH (rx)      : ORIGIN = 0x800C000, LENGTH = 256K
64
+FLASH (rx)      : ORIGIN = 0x8008000, LENGTH = 256K - 32K
65 65
 RAM (xrw)      : ORIGIN = 0x20000000, LENGTH = 64K
66 66
 }
67 67
 

+ 1
- 1
ini/stm32f4.ini Ver arquivo

@@ -48,7 +48,7 @@ build_flags       = ${stm32_variant.build_flags}
48 48
 platform           = ${common_stm32.platform}
49 49
 extends            = stm32_variant
50 50
 board              = marlin_FYSETC_CHEETAH_V20
51
-board_build.offset = 0xC000
51
+board_build.offset = 0x8000
52 52
 build_flags        = ${stm32_variant.build_flags} -DSTM32F401xC
53 53
 
54 54
 #

Carregando…
Cancelar
Salvar