Skip to content

Commit

Permalink
delete unused board json
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jul 23, 2021
1 parent 8b570e7 commit f5e3a7b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 44 deletions.
2 changes: 1 addition & 1 deletion buildroot/share/PlatformIO/boards/marlin_fysetc_s6.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"name": "3D Printer control board",
"upload": {
"maximum_ram_size": 131072,
"maximum_size": 458752,
"maximum_size": 491520,
"protocol": "stlink",
"protocols": [
"jlink",
Expand Down
35 changes: 0 additions & 35 deletions buildroot/share/PlatformIO/boards/marlin_fysetc_s6_8000.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ _Min_Stack_Size = 0x400;; /* required amount of stack */
/* Specify the memory areas */
MEMORY
{
FLASH (rx) : ORIGIN = 0x8008000, LENGTH = 512K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = LD_MAX_DATA_SIZE
FLASH (rx) : ORIGIN = 0x8000000 + LD_FLASH_OFFSET, LENGTH = LD_MAX_SIZE - LD_FLASH_OFFSET
}

/* Define output sections */
Expand Down
13 changes: 7 additions & 6 deletions ini/stm32f4.ini
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ upload_protocol = dfu
platform = ${common_stm32.platform}
extends = common_stm32
board = fysetc_s6
board_build.offset = 0x10000
board_upload.offset_address = 0x08010000
build_flags = ${stm32_variant.build_flags} -DHAL_PCD_MODULE_ENABLED
build_flags = ${common_stm32.build_flags} -DHAL_PCD_MODULE_ENABLED
debug_tool = stlink
upload_protocol = dfu
upload_command = dfu-util -a 0 -s 0x08010000:leave -D "$SOURCE"
Expand All @@ -80,11 +78,14 @@ upload_command = dfu-util -a 0 -s 0x08010000:leave -D "$SOURCE"
# FYSETC S6 new bootloader
#
[env:FYSETC_S6_8000]
platform = ${common_stm32.platform}
extends = env:FYSETC_S6
board = marlin_fysetc_s6_8000
platform = ${stm32_variant.platform}
extends = stm32_variant
board = marlin_fysetc_s6
board_build.offset = 0x8000
board_upload.offset_address = 0x08008000
build_flags = ${stm32_variant.build_flags} -DHAL_PCD_MODULE_ENABLED
debug_tool = stlink
upload_protocol = dfu
upload_command = dfu-util -a 0 -s 0x08008000:leave -D "$SOURCE"

#
Expand Down

0 comments on commit f5e3a7b

Please sign in to comment.