浏览代码

🔨 BTT Octopus ST-Link programming/debugging

Roxy-3D 2 年前
父节点
当前提交
a7ade2d63e
共有 1 个文件被更改,包括 16 次插入10 次删除
  1. 16
    10
      ini/stm32f4.ini

+ 16
- 10
ini/stm32f4.ini 查看文件

@@ -251,11 +251,14 @@ build_unflags     = ${env:BIGTREE_SKR_2_F429_USB.build_unflags} -Os -NDEBUG
251 251
 # BigTreeTech Octopus V1.0/1.1 / Octopus Pro V1.0 (STM32F446ZET6 ARM Cortex-M4)
252 252
 #
253 253
 [env:BIGTREE_OCTOPUS_V1]
254
-extends            = stm32_variant
255
-board              = marlin_BigTree_Octopus_v1
256
-board_build.offset = 0x8000
257
-build_flags        = ${stm32_variant.build_flags}
258
-                     -DSTM32F446_5VX -DUSE_USB_HS_IN_FS
254
+extends                     = stm32_variant
255
+board                       = marlin_BigTree_Octopus_v1
256
+board_build.offset          = 0x8000
257
+board_upload.offset_address = 0x08008000
258
+debug_tool                  = stlink
259
+upload_protocol             = stlink
260
+build_flags                 = ${stm32_variant.build_flags}
261
+                              -DSTM32F446_5VX -DUSE_USB_HS_IN_FS
259 262
 
260 263
 #
261 264
 # 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}
274 277
 # BigTreeTech Octopus Pro V1.0 (STM32F429ZGT6 ARM Cortex-M4)
275 278
 #
276 279
 [env:BIGTREE_OCTOPUS_PRO_V1_F429]
277
-extends            = stm32_variant
278
-board              = marlin_BigTree_Octopus_Pro_v1_F429
279
-board_build.offset = 0x8000
280
-build_flags        = ${stm32_variant.build_flags}
281
-                     -DUSE_USB_HS_IN_FS
280
+extends                     = stm32_variant
281
+board                       = marlin_BigTree_Octopus_Pro_v1_F429
282
+board_build.offset          = 0x8000
283
+board_upload.offset_address = 0x08008000
284
+debug_tool                  = stlink
285
+upload_protocol             = stlink
286
+build_flags                 = ${stm32_variant.build_flags}
287
+                              -DUSE_USB_HS_IN_FS
282 288
 
283 289
 #
284 290
 # BigTreeTech Octopus Pro V1.0 (STM32F429ZGT6 ARM Cortex-M4) with USB Flash Drive Support

正在加载...
取消
保存