Bring STM32F4/F7 together
This commit is contained in:
parent
cf9ac4c847
commit
ad1c061e7b
49 changed files with 197 additions and 1905 deletions
|
|
@ -329,7 +329,7 @@ upload_protocol = stlink
|
|||
debug_tool = stlink
|
||||
|
||||
#
|
||||
# STM32F4
|
||||
# STM32F4 with STM32GENERIC
|
||||
#
|
||||
[env:STM32F4]
|
||||
platform = ststm32
|
||||
|
|
@ -338,7 +338,20 @@ board = disco_f407vg
|
|||
build_flags = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB
|
||||
lib_deps = ${common.lib_deps}
|
||||
lib_ignore = Adafruit NeoPixel, c1921b4, TMCStepper
|
||||
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F4>
|
||||
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32_F4_F7> -<src/HAL/HAL_STM32_F4_F7/*> +<src/HAL/HAL_STM32_F4_F7/STM32F4>
|
||||
monitor_speed = 250000
|
||||
|
||||
#
|
||||
# STM32F7 with STM32GENERIC
|
||||
#
|
||||
[env:STM32F7]
|
||||
platform = ststm32
|
||||
framework = arduino
|
||||
board = disco_f765vg
|
||||
build_flags = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB
|
||||
lib_deps = ${common.lib_deps}
|
||||
lib_ignore = Adafruit NeoPixel, c1921b4, TMCStepper
|
||||
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32_F4_F7> -<src/HAL/HAL_STM32_F4_F7/*> +<src/HAL/HAL_STM32_F4_F7/STM32F7>
|
||||
monitor_speed = 250000
|
||||
|
||||
#
|
||||
|
|
@ -467,7 +480,7 @@ board = BigTree_SKR_Pro
|
|||
extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
|
||||
build_flags = ${common.build_flags}
|
||||
-DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STM32F407ZG\"
|
||||
-DTARGET_STM32F4 -DSTM32F407_5ZX -DVECT_TAB_OFFSET=0x8000
|
||||
-DTARGET_STM32F4 -DSTM32F407_5ZX -DVECT_TAB_OFFSET=0x8000
|
||||
lib_deps = ${common.lib_deps}
|
||||
lib_ignore = Adafruit NeoPixel, c1921b4, TMC26XStepper, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster
|
||||
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue