📦️ STM32F103RE_btt(_USB) with HAL/STM32 (#22040)

This commit is contained in:
Victor Oliveira
2021-06-05 01:49:00 -03:00
committed by Scott Lahteine
parent c90fa530db
commit f3f3d202ac
7 changed files with 51 additions and 20 deletions

View File

@ -157,10 +157,10 @@ upload_protocol = jlink
#
# BigTree SKR Mini E3 DIP / SKR CR6 (STM32F103RET6 ARM Cortex-M3)
#
# STM32F103RE_btt ............. RET6
# STM32F103RE_btt_USB ......... RET6 (USB mass storage)
# STM32F103RE_btt_maple ............. RET6
# STM32F103RE_btt_USB_maple ......... RET6 (USB mass storage)
#
[env:STM32F103RE_btt]
[env:STM32F103RE_btt_maple]
platform = ${common_stm32f1.platform}
extends = env:STM32F103RE_maple
board_build.address = 0x08007000
@ -171,10 +171,10 @@ build_flags = ${common_stm32f1.build_flags} -DDEBUG_LEVEL=0 -DSS_TIMER=4
debug_tool = stlink
upload_protocol = stlink
[env:STM32F103RE_btt_USB]
[env:STM32F103RE_btt_USB_maple]
platform = ${common_stm32f1.platform}
extends = env:STM32F103RE_btt
build_flags = ${env:STM32F103RE_btt.build_flags} -DUSE_USB_COMPOSITE
extends = env:STM32F103RE_btt_maple
build_flags = ${env:STM32F103RE_btt_maple.build_flags} -DUSE_USB_COMPOSITE
lib_deps = ${common_stm32f1.lib_deps}
USBComposite for STM32F1@0.91