🔨 BTT Octopus ST-Link programming/debugging

This commit is contained in:
Roxy-3D 2022-05-13 17:29:50 -05:00 committed by Scott Lahteine
parent dcd769b4a1
commit 63aecad7ee

View File

@ -254,6 +254,9 @@ build_unflags = ${env:BIGTREE_SKR_2_F429_USB.build_unflags} -Os -NDEBUG
extends = stm32_variant extends = stm32_variant
board = marlin_BigTree_Octopus_v1 board = marlin_BigTree_Octopus_v1
board_build.offset = 0x8000 board_build.offset = 0x8000
board_upload.offset_address = 0x08008000
debug_tool = stlink
upload_protocol = stlink
build_flags = ${stm32_variant.build_flags} build_flags = ${stm32_variant.build_flags}
-DSTM32F446_5VX -DUSE_USB_HS_IN_FS -DSTM32F446_5VX -DUSE_USB_HS_IN_FS
@ -277,6 +280,9 @@ build_flags = ${stm_flash_drive.build_flags}
extends = stm32_variant extends = stm32_variant
board = marlin_BigTree_Octopus_Pro_v1_F429 board = marlin_BigTree_Octopus_Pro_v1_F429
board_build.offset = 0x8000 board_build.offset = 0x8000
board_upload.offset_address = 0x08008000
debug_tool = stlink
upload_protocol = stlink
build_flags = ${stm32_variant.build_flags} build_flags = ${stm32_variant.build_flags}
-DUSE_USB_HS_IN_FS -DUSE_USB_HS_IN_FS