0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-22 17:52:57 +00:00

🔨 Reduce some 256KB Maple builds (#27488)

This commit is contained in:
Andrew 2024-12-05 14:57:57 -05:00 committed by GitHub
parent e733e50207
commit 4668b27158
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_ignore = SPI, FreeRTOS701, FreeRTOS821
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
SoftwareSerialM SoftwareSerialM
platform_packages = tool-stm32duino, toolchain-gccarmnoneeabi@1.100301.220327 platform_packages = tool-stm32duino
toolchain-gccarmnoneeabi@1.100301.220327
extra_scripts = ${common.extra_scripts} extra_scripts = ${common.extra_scripts}
pre:buildroot/share/PlatformIO/scripts/fix_framework_weakness.py pre:buildroot/share/PlatformIO/scripts/fix_framework_weakness.py
pre:buildroot/share/PlatformIO/scripts/stm32_serialbuffer.py pre:buildroot/share/PlatformIO/scripts/stm32_serialbuffer.py
@ -92,6 +93,7 @@ extends = env:STM32F103RC_maple
extra_scripts = ${env:STM32F103RC_maple.extra_scripts} extra_scripts = ${env:STM32F103RC_maple.extra_scripts}
buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py
build_flags = ${env:STM32F103RC_maple.build_flags} -DDEBUG_LEVEL=0 build_flags = ${env:STM32F103RC_maple.build_flags} -DDEBUG_LEVEL=0
platform_packages = toolchain-gccarmnoneeabi@1.90301.200702
lib_ldf_mode = chain lib_ldf_mode = chain
debug_tool = stlink debug_tool = stlink
upload_protocol = serial upload_protocol = serial
@ -107,6 +109,7 @@ extends = env:STM32F103RC_maple
board_build.address = 0x08007000 board_build.address = 0x08007000
board_build.ldscript = STM32F103RC_SKR_MINI_256K.ld board_build.ldscript = STM32F103RC_SKR_MINI_256K.ld
build_flags = ${env:STM32F103RC_maple.build_flags} -DDEBUG_LEVEL=0 -DSS_TIMER=4 build_flags = ${env:STM32F103RC_maple.build_flags} -DDEBUG_LEVEL=0 -DSS_TIMER=4
platform_packages = toolchain-gccarmnoneeabi@1.90301.200702
monitor_speed = 115200 monitor_speed = 115200
[env:STM32F103RC_btt_USB_maple] [env:STM32F103RC_btt_USB_maple]
@ -133,6 +136,7 @@ upload_protocol = jlink
[env:STM32F103RC_creality_maple] [env:STM32F103RC_creality_maple]
extends = env:STM32F103RC_maple extends = env:STM32F103RC_maple
build_flags = ${env:STM32F103RC_maple.build_flags} -DTEMP_TIMER_CHAN=4 build_flags = ${env:STM32F103RC_maple.build_flags} -DTEMP_TIMER_CHAN=4
platform_packages = toolchain-gccarmnoneeabi@1.90301.200702
board_build.address = 0x08007000 board_build.address = 0x08007000
board_build.ldscript = creality256k.ld board_build.ldscript = creality256k.ld
board_build.rename = firmware-{date}-{time}.bin board_build.rename = firmware-{date}-{time}.bin
@ -156,6 +160,7 @@ board_build.ldscript = crealityPro.ld
[env:GD32F103RC_voxelab_maple] [env:GD32F103RC_voxelab_maple]
extends = env:STM32F103RC_maple extends = env:STM32F103RC_maple
build_flags = ${env:STM32F103RC_maple.build_flags} -DTEMP_TIMER_CHAN=4 build_flags = ${env:STM32F103RC_maple.build_flags} -DTEMP_TIMER_CHAN=4
platform_packages = toolchain-gccarmnoneeabi@1.90301.200702
board_build.address = 0x08007000 board_build.address = 0x08007000
board_build.ldscript = creality256k.ld board_build.ldscript = creality256k.ld
debug_tool = jlink debug_tool = jlink
@ -165,6 +170,7 @@ upload_protocol = jlink
extends = env:STM32F103RE_maple extends = env:STM32F103RE_maple
build_flags = ${env:STM32F103RE_maple.build_flags} -DTEMP_TIMER_CHAN=4 build_flags = ${env:STM32F103RE_maple.build_flags} -DTEMP_TIMER_CHAN=4
-DVOXELAB_N32 -DSDCARD_FLASH_LIMIT_256K -DVOXELAB_N32 -DSDCARD_FLASH_LIMIT_256K
platform_packages = toolchain-gccarmnoneeabi@1.90301.200702
board_build.address = 0x08007000 board_build.address = 0x08007000
board_build.ldscript = creality.ld board_build.ldscript = creality.ld
debug_tool = jlink debug_tool = jlink
@ -386,11 +392,13 @@ lib_ignore = Adafruit NeoPixel, SPI, SailfishLCD, SailfishRGB_LED
[env:STM32F103RC_ZM3E2_USB_maple] [env:STM32F103RC_ZM3E2_USB_maple]
extends = ZONESTAR_ZM3E_maple extends = ZONESTAR_ZM3E_maple
platform_packages = toolchain-gccarmnoneeabi@1.90301.200702
board = genericSTM32F103RC board = genericSTM32F103RC
board_build.ldscript = ZONESTAR_ZM3E_256K.ld board_build.ldscript = ZONESTAR_ZM3E_256K.ld
[env:STM32F103VC_ZM3E4_USB_maple] [env:STM32F103VC_ZM3E4_USB_maple]
extends = ZONESTAR_ZM3E_maple extends = ZONESTAR_ZM3E_maple
platform_packages = toolchain-gccarmnoneeabi@1.90301.200702
board = genericSTM32F103VC board = genericSTM32F103VC
board_build.ldscript = ZONESTAR_ZM3E_256K.ld board_build.ldscript = ZONESTAR_ZM3E_256K.ld
build_flags = ${ZONESTAR_ZM3E_maple.build_flags} -DTONE_TIMER=1 -DTONE_CHANNEL=2 build_flags = ${ZONESTAR_ZM3E_maple.build_flags} -DTONE_TIMER=1 -DTONE_CHANNEL=2