Browse Source

BTT002 release V1 uses STM32F407VGT6 (#17387)

vanilla_fb_2.0.x
thisiskeithb 5 years ago
committed by GitHub
parent
commit
966e0e4a77
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Marlin/src/core/boards.h
  2. 10
      buildroot/share/PlatformIO/boards/BigTree_Btt002.json
  3. 2
      buildroot/share/tests/BIGTREE_BTT002-tests
  4. 4
      platformio.ini

2
Marlin/src/core/boards.h

@ -319,7 +319,7 @@
#define BOARD_BLACK_STM32F407ZE 4206 // BLACK_STM32F407ZE #define BOARD_BLACK_STM32F407ZE 4206 // BLACK_STM32F407ZE
#define BOARD_STEVAL_3DP001V1 4207 // STEVAL-3DP001V1 3D PRINTER BOARD #define BOARD_STEVAL_3DP001V1 4207 // STEVAL-3DP001V1 3D PRINTER BOARD
#define BOARD_BTT_SKR_PRO_V1_1 4208 // BigTreeTech SKR Pro v1.1 (STM32F407ZG) #define BOARD_BTT_SKR_PRO_V1_1 4208 // BigTreeTech SKR Pro v1.1 (STM32F407ZG)
#define BOARD_BTT_BTT002_V1_0 4209 // BigTreeTech BTT002 v1.0 (STM32F407VE) #define BOARD_BTT_BTT002_V1_0 4209 // BigTreeTech BTT002 v1.0 (STM32F407VG)
#define BOARD_BTT_GTR_V1_0 4210 // BigTreeTech GTR v1.0 (STM32F407IGT) #define BOARD_BTT_GTR_V1_0 4210 // BigTreeTech GTR v1.0 (STM32F407IGT)
#define BOARD_LERDGE_K 4211 // Lerdge K (STM32F407ZG) #define BOARD_LERDGE_K 4211 // Lerdge K (STM32F407ZG)
#define BOARD_LERDGE_X 4212 // Lerdge X (STM32F407VE) #define BOARD_LERDGE_X 4212 // Lerdge X (STM32F407VE)

10
buildroot/share/PlatformIO/boards/BigTree_Btt002.json

@ -15,22 +15,22 @@
] ]
], ],
"ldscript": "stm32f407xg.ld", "ldscript": "stm32f407xg.ld",
"mcu": "stm32f407vet6", "mcu": "stm32f407vgt6",
"variant": "BIGTREE_BTT002" "variant": "BIGTREE_BTT002"
}, },
"debug": { "debug": {
"jlink_device": "STM32F407VE", "jlink_device": "STM32F407VG",
"openocd_target": "stm32f4x", "openocd_target": "stm32f4x",
"svd_path": "STM32F40x.svd" "svd_path": "STM32F40x.svd"
}, },
"frameworks": [ "frameworks": [
"arduino" "arduino"
], ],
"name": "STM32F407VE (192k RAM. 512k Flash)", "name": "STM32F407VG (192k RAM. 1024k Flash)",
"upload": { "upload": {
"disable_flushing": false, "disable_flushing": false,
"maximum_ram_size": 131072, "maximum_ram_size": 131072,
"maximum_size": 524288, "maximum_size": 1048576,
"protocol": "stlink", "protocol": "stlink",
"protocols": [ "protocols": [
"stlink", "stlink",
@ -41,6 +41,6 @@
"use_1200bps_touch": false, "use_1200bps_touch": false,
"wait_for_upload_port": false "wait_for_upload_port": false
}, },
"url": "http://www.st.com/en/microcontrollers/stm32f407ve.html", "url": "http://www.st.com/en/microcontrollers/stm32f407vg.html",
"vendor": "Generic" "vendor": "Generic"
} }

2
buildroot/share/tests/BIGTREE_BTT002-tests

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# #
# Build tests for STM32F407VET6 BigTreeTech BTT002 # Build tests for STM32F407VGT6 BigTreeTech BTT002 V1.0
# #
# exit on first failure # exit on first failure

4
platformio.ini

@ -727,14 +727,14 @@ src_filter = ${common.default_src_filter} +<src/HAL/STM32>
monitor_speed = 250000 monitor_speed = 250000
# #
# BigTreeTech BTT002 (STM32F407VET6 ARM Cortex-M4) # BigTreeTech BTT002 V1.0 (STM32F407VGT6 ARM Cortex-M4)
# #
[env:BIGTREE_BTT002] [env:BIGTREE_BTT002]
platform = ststm32@5.6.0 platform = ststm32@5.6.0
board = BigTree_Btt002 board = BigTree_Btt002
platform_packages = framework-arduinoststm32@>=3.107,<4 platform_packages = framework-arduinoststm32@>=3.107,<4
build_flags = ${common.build_flags} build_flags = ${common.build_flags}
-DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STM32F407VE\" -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STM32F407VG\"
-DTARGET_STM32F4 -DSTM32F407_5VX -DVECT_TAB_OFFSET=0x8000 -DTARGET_STM32F4 -DSTM32F407_5VX -DVECT_TAB_OFFSET=0x8000
-DHAVE_HWSERIAL2 -DHAVE_HWSERIAL2
-DHAVE_HWSERIAL3 -DHAVE_HWSERIAL3

Loading…
Cancel
Save