|
|
@ -113,7 +113,7 @@ extra_scripts = ${stm32_variant.extra_scripts} |
|
|
|
extends = stm32_variant |
|
|
|
board = marlin_STM32F407VGT6_CCM |
|
|
|
board_build.variant = MARLIN_F4x7Vx |
|
|
|
board_build.encrypt = firmware.srec |
|
|
|
board_build.encrypt_mks = firmware.srec |
|
|
|
board_build.offset = 0x10000 |
|
|
|
board_upload.offset_address = 0x08010000 |
|
|
|
build_flags = ${stm32_variant.build_flags} |
|
|
@ -302,24 +302,24 @@ build_flags = ${stm_flash_drive.build_flags} |
|
|
|
# Lerdge base |
|
|
|
# |
|
|
|
[lerdge_common] |
|
|
|
extends = stm32_variant |
|
|
|
board = marlin_STM32F407ZGT6 |
|
|
|
board_build.variant = MARLIN_LERDGE |
|
|
|
board_build.offset = 0x10000 |
|
|
|
build_flags = ${stm32_variant.build_flags} |
|
|
|
-DSTM32F4 -DSTM32F4xx -DTARGET_STM32F4 |
|
|
|
-DDISABLE_GENERIC_SERIALUSB -DARDUINO_ARCH_STM32 -DLERDGE_TFT35 |
|
|
|
build_unflags = ${stm32_variant.build_unflags} -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 |
|
|
|
extra_scripts = ${common_stm32.extra_scripts} |
|
|
|
pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py |
|
|
|
buildroot/share/PlatformIO/scripts/lerdge.py |
|
|
|
extends = stm32_variant |
|
|
|
board = marlin_STM32F407ZGT6 |
|
|
|
board_build.variant = MARLIN_LERDGE |
|
|
|
board_build.crypt_lerdge = firmware.bin |
|
|
|
board_build.offset = 0x10000 |
|
|
|
build_flags = ${stm32_variant.build_flags} |
|
|
|
-DSTM32F4 -DSTM32F4xx -DTARGET_STM32F4 |
|
|
|
-DDISABLE_GENERIC_SERIALUSB -DARDUINO_ARCH_STM32 -DLERDGE_TFT35 |
|
|
|
build_unflags = ${stm32_variant.build_unflags} -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 |
|
|
|
extra_scripts = ${stm32_variant.extra_scripts} |
|
|
|
buildroot/share/PlatformIO/scripts/lerdge.py |
|
|
|
|
|
|
|
# |
|
|
|
# Lerdge X (STM32F407VE) |
|
|
|
# |
|
|
|
[env:LERDGEX] |
|
|
|
extends = lerdge_common |
|
|
|
board_build.encrypt = Lerdge_X_firmware_force.bin |
|
|
|
extends = lerdge_common |
|
|
|
board_build.crypt_lerdge = Lerdge_X_firmware_force.bin |
|
|
|
|
|
|
|
# |
|
|
|
# Lerdge X with USB Flash Drive Support |
|
|
@ -333,8 +333,8 @@ build_flags = ${stm_flash_drive.build_flags} ${lerdge_common.build_flags} |
|
|
|
# Lerdge S (STM32F407ZG) |
|
|
|
# |
|
|
|
[env:LERDGES] |
|
|
|
extends = lerdge_common |
|
|
|
board_build.encrypt = Lerdge_firmware_force.bin |
|
|
|
extends = lerdge_common |
|
|
|
board_build.crypt_lerdge = Lerdge_firmware_force.bin |
|
|
|
|
|
|
|
# |
|
|
|
# Lerdge S with USB Flash Drive Support |
|
|
@ -348,9 +348,9 @@ build_flags = ${stm_flash_drive.build_flags} ${lerdge_common.build_flags} |
|
|
|
# Lerdge K (STM32F407ZG) |
|
|
|
# |
|
|
|
[env:LERDGEK] |
|
|
|
extends = lerdge_common |
|
|
|
board_build.encrypt = Lerdge_K_firmware_force.bin |
|
|
|
build_flags = ${lerdge_common.build_flags} -DLERDGEK |
|
|
|
extends = lerdge_common |
|
|
|
board_build.crypt_lerdge = Lerdge_K_firmware_force.bin |
|
|
|
build_flags = ${lerdge_common.build_flags} -DLERDGEK |
|
|
|
|
|
|
|
# |
|
|
|
# Lerdge K with USB Flash Drive Support |
|
|
@ -364,17 +364,17 @@ build_flags = ${stm_flash_drive.build_flags} ${lerdge_common.build_flags} |
|
|
|
# RUMBA32 |
|
|
|
# |
|
|
|
[env:rumba32] |
|
|
|
extends = stm32_variant |
|
|
|
board = rumba32_f446ve |
|
|
|
board_build.variant = MARLIN_F446VE |
|
|
|
board_build.offset = 0x0000 |
|
|
|
build_flags = ${stm32_variant.build_flags} |
|
|
|
-Os -DHAL_PCD_MODULE_ENABLED |
|
|
|
-DDISABLE_GENERIC_SERIALUSB |
|
|
|
-DHAL_UART_MODULE_ENABLED |
|
|
|
-DTIMER_SERIAL=TIM9 |
|
|
|
monitor_speed = 500000 |
|
|
|
upload_protocol = dfu |
|
|
|
extends = stm32_variant |
|
|
|
board = rumba32_f446ve |
|
|
|
board_build.variant = MARLIN_F446VE |
|
|
|
board_build.offset = 0x0000 |
|
|
|
build_flags = ${stm32_variant.build_flags} |
|
|
|
-Os -DHAL_PCD_MODULE_ENABLED |
|
|
|
-DDISABLE_GENERIC_SERIALUSB |
|
|
|
-DHAL_UART_MODULE_ENABLED |
|
|
|
-DTIMER_SERIAL=TIM9 |
|
|
|
monitor_speed = 500000 |
|
|
|
upload_protocol = dfu |
|
|
|
|
|
|
|
# |
|
|
|
# MKS Robin Pro V2 |
|
|
@ -547,17 +547,17 @@ build_unflags = -DUSBD_USE_CDC |
|
|
|
# TH3D EZBoard v2.0 (STM32F405RGT6 ARM Cortex-M4) |
|
|
|
# |
|
|
|
[env:TH3D_EZBoard_V2] |
|
|
|
extends = stm32_variant |
|
|
|
board = genericSTM32F405RG |
|
|
|
board_build.variant = MARLIN_TH3D_EZBOARD_V2 |
|
|
|
board_build.encrypt = firmware.bin |
|
|
|
board_build.offset = 0xC000 |
|
|
|
extends = stm32_variant |
|
|
|
board = genericSTM32F405RG |
|
|
|
board_build.variant = MARLIN_TH3D_EZBOARD_V2 |
|
|
|
board_build.encrypt_mks = firmware.bin |
|
|
|
board_build.offset = 0xC000 |
|
|
|
board_upload.offset_address = 0x0800C000 |
|
|
|
build_flags = ${stm32_variant.build_flags} -DHSE_VALUE=12000000U -O0 |
|
|
|
debug_tool = stlink |
|
|
|
upload_protocol = stlink |
|
|
|
extra_scripts = ${stm32_variant.extra_scripts} |
|
|
|
buildroot/share/PlatformIO/scripts/openblt.py |
|
|
|
build_flags = ${stm32_variant.build_flags} -DHSE_VALUE=12000000U -O0 |
|
|
|
debug_tool = stlink |
|
|
|
upload_protocol = stlink |
|
|
|
extra_scripts = ${stm32_variant.extra_scripts} |
|
|
|
buildroot/share/PlatformIO/scripts/openblt.py |
|
|
|
|
|
|
|
# |
|
|
|
# BOARD_MKS_ROBIN_NANO_V1_3_F4 |
|
|
|