Improve STEVAL_3DP001V1 and future STEVAL_* support (#16404)

This commit is contained in:
Bob Kuhn 2020-01-01 20:52:56 -06:00 committed by Scott Lahteine
parent 23bdc1556d
commit 747b2b9bf4
13 changed files with 1803 additions and 192 deletions

View file

@ -581,6 +581,25 @@ src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
lib_ignore = Adafruit NeoPixel
monitor_speed = 250000
#
# STM32F401VE
# 'STEVAL-3DP001)' STM32F401VE board - https://www.st.com/en/evaluation-tools/steval-3dp001v1.html
#
[env:STM32F401VE_STEVAL]
platform = ststm32
board = STEVAL_STM32F401VE
platform_packages = framework-arduinoststm32@>=3.10700.191028
build_flags = ${common.build_flags}
-DTARGET_STM32F4 -DARDUINO_STEVAL -DSTM32F401xE
-DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STEVAL_F401VE\"
-DDISABLE_GENERIC_SERIALUSB
-IMarlin/src/HAL/HAL_STM32
build_unflags = -std=gnu++11
extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
buildroot/share/PlatformIO/scripts/STEVAL__F401XX.py
lib_ignore = Adafruit NeoPixel, TMCStepper, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster, SoftwareSerial
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
monitor_speed = 250000
#
# FLYF407ZG