This commit is contained in:
Andrew 2024-11-24 18:55:42 -06:00 committed by GitHub
commit d794451340
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,7 +32,8 @@ build_src_filter = ${common.default_src_filter} +<src/HAL/STM32F1> -<src/HAL/ST
lib_ignore = SPI, FreeRTOS701, FreeRTOS821
lib_deps = ${common.lib_deps}
SoftwareSerialM
platform_packages = tool-stm32duino, toolchain-gccarmnoneeabi@1.100301.220327
platform_packages = tool-stm32duino
toolchain-gccarmnoneeabi@1.100301.220327
extra_scripts = ${common.extra_scripts}
pre:buildroot/share/PlatformIO/scripts/fix_framework_weakness.py
pre:buildroot/share/PlatformIO/scripts/stm32_serialbuffer.py
@ -88,13 +89,14 @@ upload_protocol = dfu
# FYSETC STM32F103RC
#
[env:STM32F103RC_fysetc_maple]
extends = env:STM32F103RC_maple
extra_scripts = ${env:STM32F103RC_maple.extra_scripts}
buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py
build_flags = ${env:STM32F103RC_maple.build_flags} -DDEBUG_LEVEL=0
lib_ldf_mode = chain
debug_tool = stlink
upload_protocol = serial
extends = env:STM32F103RC_maple
extra_scripts = ${env:STM32F103RC_maple.extra_scripts}
buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py
build_flags = ${env:STM32F103RC_maple.build_flags} -DDEBUG_LEVEL=0
platform_packages = toolchain-gccarmnoneeabi@1.90301.200702
lib_ldf_mode = chain
debug_tool = stlink
upload_protocol = serial
#
# BigTreeTech SKR Mini V1.1 / SKR Mini E3 & MZ (STM32F103RCT6 ARM Cortex-M3)
@ -107,6 +109,7 @@ extends = env:STM32F103RC_maple
board_build.address = 0x08007000
board_build.ldscript = STM32F103RC_SKR_MINI_256K.ld
build_flags = ${env:STM32F103RC_maple.build_flags} -DDEBUG_LEVEL=0 -DSS_TIMER=4
platform_packages = toolchain-gccarmnoneeabi@1.90301.200702
monitor_speed = 115200
[env:STM32F103RC_btt_USB_maple]
@ -133,6 +136,7 @@ upload_protocol = jlink
[env:STM32F103RC_creality_maple]
extends = env:STM32F103RC_maple
build_flags = ${env:STM32F103RC_maple.build_flags} -DTEMP_TIMER_CHAN=4
platform_packages = toolchain-gccarmnoneeabi@1.90301.200702
board_build.address = 0x08007000
board_build.ldscript = creality256k.ld
board_build.rename = firmware-{date}-{time}.bin
@ -156,6 +160,7 @@ board_build.ldscript = crealityPro.ld
[env:GD32F103RC_voxelab_maple]
extends = env:STM32F103RC_maple
build_flags = ${env:STM32F103RC_maple.build_flags} -DTEMP_TIMER_CHAN=4
platform_packages = toolchain-gccarmnoneeabi@1.90301.200702
board_build.address = 0x08007000
board_build.ldscript = creality256k.ld
debug_tool = jlink
@ -165,6 +170,7 @@ upload_protocol = jlink
extends = env:STM32F103RE_maple
build_flags = ${env:STM32F103RE_maple.build_flags} -DTEMP_TIMER_CHAN=4
-DVOXELAB_N32 -DSDCARD_FLASH_LIMIT_256K
platform_packages = toolchain-gccarmnoneeabi@1.90301.200702
board_build.address = 0x08007000
board_build.ldscript = creality.ld
debug_tool = jlink
@ -386,11 +392,13 @@ lib_ignore = Adafruit NeoPixel, SPI, SailfishLCD, SailfishRGB_LED
[env:STM32F103RC_ZM3E2_USB_maple]
extends = ZONESTAR_ZM3E_maple
platform_packages = toolchain-gccarmnoneeabi@1.90301.200702
board = genericSTM32F103RC
board_build.ldscript = ZONESTAR_ZM3E_256K.ld
[env:STM32F103VC_ZM3E4_USB_maple]
extends = ZONESTAR_ZM3E_maple
platform_packages = toolchain-gccarmnoneeabi@1.90301.200702
board = genericSTM32F103VC
board_build.ldscript = ZONESTAR_ZM3E_256K.ld
build_flags = ${ZONESTAR_ZM3E_maple.build_flags} -DTONE_TIMER=1 -DTONE_CHANNEL=2