Skip to content

Commit

Permalink
Use MCU naming
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jul 29, 2024
1 parent 73d0ddf commit 45ba9a0
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 28 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/pins/pins.h
Original file line number Diff line number Diff line change
Expand Up @@ -757,9 +757,9 @@
#elif MB(BTT_SKR_MINI_E3_V3_0_1)
#include "stm32f4/pins_BTT_SKR_MINI_E3_V3_0_1.h" // STM32F4 env:STM32F401RC_btt env:STM32F401RC_btt_xfer
#elif MB(BTT_SKR_V2_0_REV_A)
#include "stm32f4/pins_BTT_SKR_V2_0_REV_A.h" // STM32F4 env:BTT_SKR_2 env:BTT_SKR_2_USB env:BTT_SKR_2_USB_debug
#include "stm32f4/pins_BTT_SKR_V2_0_REV_A.h" // STM32F4 env:STM32F407VG_btt env:STM32F407VG_btt_USB env:STM32F407VG_btt_USB_debug
#elif MB(BTT_SKR_V2_0_REV_B)
#include "stm32f4/pins_BTT_SKR_V2_0_REV_B.h" // STM32F4 env:BTT_SKR_2 env:BTT_SKR_2_USB env:BTT_SKR_2_USB_debug env:BTT_SKR_2_F429 env:BTT_SKR_2_F429_USB env:BTT_SKR_2_F429_USB_debug
#include "stm32f4/pins_BTT_SKR_V2_0_REV_B.h" // STM32F4 env:STM32F407VG_btt env:STM32F407VG_btt_USB env:STM32F407VG_btt_USB_debug env:STM32F429VG_btt env:STM32F429VG_btt_USB env:STM32F429VG_btt_USB_debug
#elif MB(BTT_OCTOPUS_V1_0)
#include "stm32f4/pins_BTT_OCTOPUS_V1_0.h" // STM32F4 env:STM32F446ZE_btt env:STM32F446ZE_btt_usb_flash_drive
#elif MB(BTT_OCTOPUS_V1_1)
Expand Down
2 changes: 1 addition & 1 deletion buildroot/share/PlatformIO/debugging/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"showDevDebugOutput": false,
"configFiles": [ "interface/stlink.cfg", "target/stm32f4x.cfg" ],
"device": "stlink",
"executable": "${workspaceRoot}/.pio/build/BTT_SKR_2_USB_debug/firmware.elf",
"executable": "${workspaceRoot}/.pio/build/STM32F407VG_btt_USB_debug/firmware.elf",
"openOCDLaunchCommands": [ "init", "reset init" ],
"svdFile": "${env:HOME}/.platformio/platforms/ststm32@12.1.1/misc/svd/STM32F40x.svd",
},
Expand Down
12 changes: 6 additions & 6 deletions ini/renamed.ini
Original file line number Diff line number Diff line change
Expand Up @@ -126,20 +126,20 @@ extends = renamed
[env:BIGTREE_BTT002_VET6] ;=> BTT_BTT002_VET6
extends = renamed

[env:BIGTREE_SKR_2] ;=> BTT_SKR_2
[env:BIGTREE_SKR_2] ;=> STM32F407VG_btt
extends = renamed

[env:BIGTREE_SKR_2_USB] ;=> BTT_SKR_2_USB
[env:BIGTREE_SKR_2_USB] ;=> STM32F407VG_btt_USB
extends = renamed

[env:BIGTREE_SKR_2_USB_debug] ;=> BTT_SKR_2_USB_debug
[env:BIGTREE_SKR_2_USB_debug] ;=> STM32F407VG_btt_USB_debug
extends = renamed

[env:BIGTREE_SKR_2_F429] ;=> BTT_SKR_2_F429
[env:BIGTREE_SKR_2_F429] ;=> STM32F429VG_btt
extends = renamed

[env:BIGTREE_SKR_2_F429_USB] ;=> BTT_SKR_2_F429_USB
[env:BIGTREE_SKR_2_F429_USB] ;=> STM32F429VG_btt_USB
extends = renamed

[env:BIGTREE_SKR_2_F429_USB_debug] ;=> BTT_SKR_2_F429_USB_debug
[env:BIGTREE_SKR_2_F429_USB_debug] ;=> STM32F429VG_btt_USB_debug
extends = renamed
38 changes: 19 additions & 19 deletions ini/stm32f4.ini
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ board = marlin_BTT_BTT002_VET6
#
# BigTreeTech SKR V2.0 (STM32F407VGT6 ARM Cortex-M4) with USB Flash Drive Support
#
[env:BTT_SKR_2]
[env:STM32F407VG_btt]
extends = stm32_variant
platform_packages = ${stm_flash_drive.platform_packages}
board = marlin_STM32F407VGT6_CCM
Expand All @@ -248,35 +248,35 @@ upload_protocol = stlink
#
# BigTreeTech SKR V2.0 (STM32F407VGT6 ARM Cortex-M4) with USB Media Share Support
#
[env:BTT_SKR_2_USB]
extends = env:BTT_SKR_2
build_flags = ${env:BTT_SKR_2.build_flags} -DUSBD_USE_CDC_MSC
build_unflags = ${env:BTT_SKR_2.build_unflags} -DUSBD_USE_CDC
[env:STM32F407VG_btt_USB]
extends = env:STM32F407VG_btt
build_flags = ${env:STM32F407VG_btt.build_flags} -DUSBD_USE_CDC_MSC
build_unflags = ${env:STM32F407VG_btt.build_unflags} -DUSBD_USE_CDC

[env:BTT_SKR_2_USB_debug]
extends = env:BTT_SKR_2_USB
build_flags = ${env:BTT_SKR_2_USB.build_flags} -O0
build_unflags = ${env:BTT_SKR_2_USB.build_unflags} -Os -NDEBUG
[env:STM32F407VG_btt_USB_debug]
extends = env:STM32F407VG_btt_USB
build_flags = ${env:STM32F407VG_btt_USB.build_flags} -O0
build_unflags = ${env:STM32F407VG_btt_USB.build_unflags} -Os -NDEBUG

#
# Bigtreetech SKR V2.0 F429 (STM32F429VGT6 ARM Cortex-M4) with USB Flash Drive Support
#
[env:BTT_SKR_2_F429]
extends = env:BTT_SKR_2
[env:STM32F429VG_btt]
extends = env:STM32F407VG_btt
board = marlin_STM32F429VGT6

#
# BigTreeTech SKR V2.0 F429 (STM32F429VGT6 ARM Cortex-M4) with USB Media Share Support
#
[env:BTT_SKR_2_F429_USB]
extends = env:BTT_SKR_2_F429
build_flags = ${env:BTT_SKR_2_F429.build_flags} -DUSBD_USE_CDC_MSC
build_unflags = ${env:BTT_SKR_2_F429.build_unflags} -DUSBD_USE_CDC
[env:STM32F429VG_btt_USB]
extends = env:STM32F429VG_btt
build_flags = ${env:STM32F429VG_btt.build_flags} -DUSBD_USE_CDC_MSC
build_unflags = ${env:STM32F429VG_btt.build_unflags} -DUSBD_USE_CDC

[env:BTT_SKR_2_F429_USB_debug]
extends = env:BTT_SKR_2_F429_USB
build_flags = ${env:BTT_SKR_2_F429_USB.build_flags} -O0
build_unflags = ${env:BTT_SKR_2_F429_USB.build_unflags} -Os -NDEBUG
[env:STM32F429VG_btt_USB_debug]
extends = env:STM32F429VG_btt_USB
build_flags = ${env:STM32F429VG_btt_USB.build_flags} -O0
build_unflags = ${env:STM32F429VG_btt_USB.build_unflags} -Os -NDEBUG

#
# BigTreeTech Octopus V1.0/1.1 / Octopus Pro V1.0 (STM32F446ZET6 ARM Cortex-M4)
Expand Down

0 comments on commit 45ba9a0

Please sign in to comment.