MINGDA D2 D301 v1.0 (#26340)

This commit is contained in:
Luiz Eduardo Carneiro
2023-11-11 21:44:45 -05:00
committed by GitHub
parent 884a3249fe
commit 7f59b65fc8
6 changed files with 269 additions and 0 deletions

View File

@@ -403,3 +403,19 @@ extra_scripts = ${STM32F1_maple.extra_scripts}
buildroot/share/PlatformIO/scripts/custom_board.py
debug_tool = jlink
upload_protocol = jlink
#
# Mingda D2 DZ301 V1.0 (STM32F103ZE)
#
[env:mingda_d301_maple]
extends = STM32F1_maple
board = genericSTM32F103ZE
board_build.address = 0x08007000
board_upload.maximum_size = 524288
board_build.ldscript = md301.ld
board_build.variant = MARLIN_F103Zx
build_flags = ${STM32F1_maple.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14
-DSTM32_FLASH_SIZE=512 -DHAVE_SW_SERIAL -DSS_TIMER=4
-DUSART_RX_BUF_SIZE=256 -DUSART_TX_BUF_SIZE=256 -DUSE_USB_COMPOSITE
-DTONE_TIMER=3 -DTONE_CHANNEL=3
-DSTM32F1xx -DSTM32_XL_DENSITY

View File

@@ -482,3 +482,14 @@ board = genericSTM32F103VE
board_build.variant = MARLIN_F103Vx
build_flags = ${ZONESTAR_ZM3E.build_flags} -DTIMER_TONE=TIM1
board_upload.maximum_size = 499712
#
# Mingda D2 DZ301 V1.0 (STM32F103ZE)
#
[env:mingda_d301]
extends = stm32_variant
board = genericSTM32F103ZE
board_build.variant = MARLIN_F103Zx
board_build.offset = 0x7000
board_upload.offset_address = 0x08007000
build_flags = ${stm32_variant.build_flags} -DSTM32F1xx