✨ Zonestar ZM3E2, ZM3E4 V1, ZM3E4 V2 (#22498)
This commit is contained in:
@ -357,3 +357,46 @@ extra_scripts = ${common_stm32f1.extra_scripts}
|
||||
buildroot/share/PlatformIO/scripts/custom_board.py
|
||||
build_flags = ${common_stm32f1.build_flags}
|
||||
-DDEBUG_LEVEL=0 -DSS_TIMER=4
|
||||
|
||||
#
|
||||
# Zonestar ZM3E2 V1.0 / ZM3E4 V1.0 / ZM3E4 V2.0
|
||||
#
|
||||
# STM32F103RC_ZM3E2_USB_maple ........... RCT6 with 256K
|
||||
# STM32F103VC_ZM3E4_USB_maple ........... VCT6 with 256K
|
||||
# STM32F103VE_ZM3E4V2_USB_maple ......... VET6 with 512K
|
||||
#
|
||||
[ZONESTAR_ZM3E_maple]
|
||||
platform = ${common_stm32f1.platform}
|
||||
extends = common_stm32f1
|
||||
platform_packages = tool-stm32duino
|
||||
board_build.address = 0x08005000
|
||||
board_build.offset = 0x5000
|
||||
board_upload.maximum_size = 237568
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
buildroot/share/PlatformIO/scripts/custom_board.py
|
||||
buildroot/share/PlatformIO/scripts/offset_and_rename.py
|
||||
build_flags = ${common_stm32f1.build_flags}
|
||||
-D__STM32F1__=1 -DDEBUG_LEVEL=0 -DSS_TIMER=4 -DSERIAL_USB
|
||||
lib_deps = USBComposite for STM32F1@0.91
|
||||
lib_ignore = Adafruit NeoPixel, SPI, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster, TMCStepper
|
||||
|
||||
[env:STM32F103RC_ZM3E2_USB_maple]
|
||||
platform = ${ZONESTAR_ZM3E_maple.platform}
|
||||
extends = ZONESTAR_ZM3E_maple
|
||||
board = genericSTM32F103RC
|
||||
board_build.ldscript = ZONESTAR_ZM3E_256K.ld
|
||||
|
||||
[env:STM32F103VC_ZM3E4_USB_maple]
|
||||
platform = ${ZONESTAR_ZM3E_maple.platform}
|
||||
extends = ZONESTAR_ZM3E_maple
|
||||
board = genericSTM32F103VC
|
||||
board_build.ldscript = ZONESTAR_ZM3E_256K.ld
|
||||
build_flags = ${ZONESTAR_ZM3E_maple.build_flags} -DTONE_TIMER=1 -DTONE_CHANNEL=2
|
||||
|
||||
[env:STM32F103VE_ZM3E4V2_USB_maple]
|
||||
platform = ${ZONESTAR_ZM3E_maple.platform}
|
||||
extends = ZONESTAR_ZM3E_maple
|
||||
board = genericSTM32F103VE
|
||||
board_build.ldscript = ZONESTAR_ZM3E_512K.ld
|
||||
build_flags = ${ZONESTAR_ZM3E_maple.build_flags} -DTONE_TIMER=1 -DTONE_CHANNEL=2
|
||||
board_upload.maximum_size = 499712
|
||||
|
Reference in New Issue
Block a user