BTT002 release V1 uses STM32F407VGT6 (#17387)

This commit is contained in:
thisiskeithb 2020-04-06 13:51:09 -07:00 committed by GitHub
parent d6f39a69af
commit 966e0e4a77
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 9 deletions

View file

@ -319,7 +319,7 @@
#define BOARD_BLACK_STM32F407ZE 4206 // BLACK_STM32F407ZE
#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_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_LERDGE_K 4211 // Lerdge K (STM32F407ZG)
#define BOARD_LERDGE_X 4212 // Lerdge X (STM32F407VE)

View file

@ -15,22 +15,22 @@
]
],
"ldscript": "stm32f407xg.ld",
"mcu": "stm32f407vet6",
"mcu": "stm32f407vgt6",
"variant": "BIGTREE_BTT002"
},
"debug": {
"jlink_device": "STM32F407VE",
"jlink_device": "STM32F407VG",
"openocd_target": "stm32f4x",
"svd_path": "STM32F40x.svd"
},
"frameworks": [
"arduino"
],
"name": "STM32F407VE (192k RAM. 512k Flash)",
"name": "STM32F407VG (192k RAM. 1024k Flash)",
"upload": {
"disable_flushing": false,
"maximum_ram_size": 131072,
"maximum_size": 524288,
"maximum_size": 1048576,
"protocol": "stlink",
"protocols": [
"stlink",
@ -41,6 +41,6 @@
"use_1200bps_touch": 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"
}

View file

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

View file

@ -727,14 +727,14 @@ src_filter = ${common.default_src_filter} +<src/HAL/STM32>
monitor_speed = 250000
#
# BigTreeTech BTT002 (STM32F407VET6 ARM Cortex-M4)
# BigTreeTech BTT002 V1.0 (STM32F407VGT6 ARM Cortex-M4)
#
[env:BIGTREE_BTT002]
platform = ststm32@5.6.0
board = BigTree_Btt002
platform_packages = framework-arduinoststm32@>=3.107,<4
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
-DHAVE_HWSERIAL2
-DHAVE_HWSERIAL3