From c29a949a1377892bbc736cfd701533f4786602fd Mon Sep 17 00:00:00 2001 From: Roxy-3D Date: Fri, 13 May 2022 17:29:50 -0500 Subject: [PATCH] Update stm32f4.ini Allow Platform-IO to upload to the Octopus boards directly with an ST-Link attached. --- ini/stm32f4.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ini/stm32f4.ini b/ini/stm32f4.ini index 260593f8a2..d86bf9a518 100644 --- a/ini/stm32f4.ini +++ b/ini/stm32f4.ini @@ -254,6 +254,7 @@ build_unflags = ${env:BIGTREE_SKR_2_F429_USB.build_unflags} -Os -NDEBUG extends = stm32_variant board = marlin_BigTree_Octopus_v1 board_build.offset = 0x8000 +board_upload.offset_address = 0x08008000 build_flags = ${stm32_variant.build_flags} -DSTM32F446_5VX -DUSE_USB_HS_IN_FS @@ -277,6 +278,7 @@ build_flags = ${stm_flash_drive.build_flags} extends = stm32_variant board = marlin_BigTree_Octopus_Pro_v1_F429 board_build.offset = 0x8000 +board_upload.offset_address = 0x08008000 build_flags = ${stm32_variant.build_flags} -DUSE_USB_HS_IN_FS