Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FYSETC Cheetah v2.0 smaller bootloader and fix build bug #22926

Merged
merged 2 commits into from
Oct 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"0x3748"
]
],
"ldscript": "stm32f401rc.ld",
"mcu": "stm32f401rct6",
"variant": "MARLIN_FYSETC_CHEETAH_V20"
},
Expand Down Expand Up @@ -56,7 +55,7 @@
"dfu",
"jlink"
],
"offset_address": "0x800C000",
"offset_address": "0x8008000",
"require_upload_port": true,
"use_1200bps_touch": false,
"wait_for_upload_port": false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ _Min_Stack_Size = 0x400;; /* required amount of stack */
/* Specify the memory areas */
MEMORY
{
FLASH (rx) : ORIGIN = 0x800C000, LENGTH = 256K
FLASH (rx) : ORIGIN = 0x8008000, LENGTH = 256K - 32K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 64K
}

Expand Down
2 changes: 1 addition & 1 deletion ini/stm32f4.ini
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ build_flags = ${stm32_variant.build_flags}
platform = ${common_stm32.platform}
extends = stm32_variant
board = marlin_FYSETC_CHEETAH_V20
board_build.offset = 0xC000
board_build.offset = 0x8000
build_flags = ${stm32_variant.build_flags} -DSTM32F401xC

#
Expand Down