Browse Source

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

George Fu 3 years ago
parent
commit
0d41667bc2
No account linked to committer's email address

+ 1
- 2
buildroot/share/PlatformIO/boards/marlin_FYSETC_CHEETAH_V20.json View File

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

+ 1
- 1
buildroot/share/PlatformIO/variants/MARLIN_FYSETC_CHEETAH_V20/ldscript.ld View File

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

+ 1
- 1
ini/stm32f4.ini View File

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

Loading…
Cancel
Save