🔨 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 c1b53d63fc
commit a7ade2d63e

View file

@ -251,11 +251,14 @@ build_unflags = ${env:BIGTREE_SKR_2_F429_USB.build_unflags} -Os -NDEBUG
# BigTreeTech Octopus V1.0/1.1 / Octopus Pro V1.0 (STM32F446ZET6 ARM Cortex-M4) # BigTreeTech Octopus V1.0/1.1 / Octopus Pro V1.0 (STM32F446ZET6 ARM Cortex-M4)
# #
[env:BIGTREE_OCTOPUS_V1] [env:BIGTREE_OCTOPUS_V1]
extends = stm32_variant extends = stm32_variant
board = marlin_BigTree_Octopus_v1 board = marlin_BigTree_Octopus_v1
board_build.offset = 0x8000 board_build.offset = 0x8000
build_flags = ${stm32_variant.build_flags} board_upload.offset_address = 0x08008000
-DSTM32F446_5VX -DUSE_USB_HS_IN_FS debug_tool = stlink
upload_protocol = stlink
build_flags = ${stm32_variant.build_flags}
-DSTM32F446_5VX -DUSE_USB_HS_IN_FS
# #
# BigTreeTech Octopus V1.0/1.1 / Octopus Pro V1.0 (STM32F446ZET6 ARM Cortex-M4) with USB Flash Drive Support # BigTreeTech Octopus V1.0/1.1 / Octopus Pro V1.0 (STM32F446ZET6 ARM Cortex-M4) with USB Flash Drive Support
@ -274,11 +277,14 @@ build_flags = ${stm_flash_drive.build_flags}
# BigTreeTech Octopus Pro V1.0 (STM32F429ZGT6 ARM Cortex-M4) # BigTreeTech Octopus Pro V1.0 (STM32F429ZGT6 ARM Cortex-M4)
# #
[env:BIGTREE_OCTOPUS_PRO_V1_F429] [env:BIGTREE_OCTOPUS_PRO_V1_F429]
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
build_flags = ${stm32_variant.build_flags} board_upload.offset_address = 0x08008000
-DUSE_USB_HS_IN_FS debug_tool = stlink
upload_protocol = stlink
build_flags = ${stm32_variant.build_flags}
-DUSE_USB_HS_IN_FS
# #
# BigTreeTech Octopus Pro V1.0 (STM32F429ZGT6 ARM Cortex-M4) with USB Flash Drive Support # BigTreeTech Octopus Pro V1.0 (STM32F429ZGT6 ARM Cortex-M4) with USB Flash Drive Support