Add FLYBOARD (STM32F407ZG) (#16257)

This commit is contained in:
FLYmaker
2019-12-22 17:05:30 +08:00
committed by Scott Lahteine
parent f339a39654
commit 59f9bb2120
10 changed files with 1454 additions and 0 deletions

View File

@@ -581,6 +581,25 @@ src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
lib_ignore = Adafruit NeoPixel
monitor_speed = 250000
#
# FLYF407ZG
#
[env:FLYF407ZG]
platform = ststm32
board = FLYF407ZG
platform_packages = framework-arduinoststm32@>=3.10700.191028
build_flags = ${common.build_flags}
-DSTM32F4 -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STM32F407ZG\"
-DTARGET_STM32F4 -DVECT_TAB_OFFSET=0x8000
-IMarlin/src/HAL/HAL_STM32
build_unflags = -std=gnu++11
extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
lib_ignore = Adafruit NeoPixel, TMCStepper, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster, SoftwareSerial
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
monitor_speed = 250000
#
# FYSETC S6 (STM32F446VET6 ARM Cortex-M4)
#