🐛 Fix env:STM32F103RE maple/unified split-up (#22019)

Followup to #21999
This commit is contained in:
ellensp
2021-06-03 19:40:16 +12:00
committed by Scott Lahteine
parent c9a3f41152
commit dd0e5c26d1
3 changed files with 43 additions and 16 deletions

View File

@ -131,9 +131,9 @@ lib_deps = ${env:STM32F103RC_btt_512K_maple.lib_deps}
USBComposite for STM32F1@0.91
#
# STM32F103RE with Unified STM32F1 HAL
# Generic STM32F103RE environment
#
[common_STM32F103RE]
[env:STM32F103RE_maple]
platform = ${common_stm32f1.platform}
extends = common_stm32f1
board = genericSTM32F103RE
@ -144,7 +144,7 @@ monitor_speed = 115200
#
[env:STM32F103RET6_creality_maple]
platform = ${common_stm32f1.platform}
extends = common_STM32F103RE
extends = env:STM32F103RE_maple
build_flags = ${common_stm32f1.build_flags} -DTEMP_TIMER_CHAN=4
board_build.address = 0x08007000
board_build.ldscript = creality.ld
@ -160,7 +160,7 @@ upload_protocol = jlink
#
[env:STM32F103RE_btt]
platform = ${common_stm32f1.platform}
extends = common_STM32F103RE
extends = env:STM32F103RE_maple
board_build.address = 0x08007000
board_build.ldscript = STM32F103RE_SKR_E3_DIP.ld
extra_scripts = ${common_stm32f1.extra_scripts}

View File

@ -57,6 +57,33 @@ extra_scripts = ${common.extra_scripts}
pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
buildroot/share/PlatformIO/scripts/stm32_bootloader.py
#
# STM32F103RE
#
[env:STM32F103RE]
platform = ${common_stm32.platform}
extends = common_stm32
board = genericSTM32F103RE
monitor_speed = 115200
#
# STM32F103VE
#
[env:STM32F103VE]
platform = ${common_stm32.platform}
extends = common_stm32
board = genericSTM32F103VE
monitor_speed = 115200
#
# STM32F103ZE
#
[env:STM32F103ZE]
platform = ${common_stm32.platform}
extends = common_stm32
board = genericSTM32F103ZE
monitor_speed = 115200
[env:STM32F103RC_btt]
platform = ${common_stm32.platform}
extends = common_STM32F103RC