|
@@ -113,7 +113,7 @@ extra_scripts = ${stm32_variant.extra_scripts}
|
113
|
113
|
extends = stm32_variant
|
114
|
114
|
board = marlin_STM32F407VGT6_CCM
|
115
|
115
|
board_build.variant = MARLIN_F4x7Vx
|
116
|
|
-board_build.encrypt = firmware.srec
|
|
116
|
+board_build.encrypt_mks = firmware.srec
|
117
|
117
|
board_build.offset = 0x10000
|
118
|
118
|
board_upload.offset_address = 0x08010000
|
119
|
119
|
build_flags = ${stm32_variant.build_flags}
|
|
@@ -302,24 +302,24 @@ build_flags = ${stm_flash_drive.build_flags}
|
302
|
302
|
# Lerdge base
|
303
|
303
|
#
|
304
|
304
|
[lerdge_common]
|
305
|
|
-extends = stm32_variant
|
306
|
|
-board = marlin_STM32F407ZGT6
|
307
|
|
-board_build.variant = MARLIN_LERDGE
|
308
|
|
-board_build.offset = 0x10000
|
309
|
|
-build_flags = ${stm32_variant.build_flags}
|
310
|
|
- -DSTM32F4 -DSTM32F4xx -DTARGET_STM32F4
|
311
|
|
- -DDISABLE_GENERIC_SERIALUSB -DARDUINO_ARCH_STM32 -DLERDGE_TFT35
|
312
|
|
-build_unflags = ${stm32_variant.build_unflags} -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483
|
313
|
|
-extra_scripts = ${common_stm32.extra_scripts}
|
314
|
|
- pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
|
315
|
|
- buildroot/share/PlatformIO/scripts/lerdge.py
|
|
305
|
+extends = stm32_variant
|
|
306
|
+board = marlin_STM32F407ZGT6
|
|
307
|
+board_build.variant = MARLIN_LERDGE
|
|
308
|
+board_build.crypt_lerdge = firmware.bin
|
|
309
|
+board_build.offset = 0x10000
|
|
310
|
+build_flags = ${stm32_variant.build_flags}
|
|
311
|
+ -DSTM32F4 -DSTM32F4xx -DTARGET_STM32F4
|
|
312
|
+ -DDISABLE_GENERIC_SERIALUSB -DARDUINO_ARCH_STM32 -DLERDGE_TFT35
|
|
313
|
+build_unflags = ${stm32_variant.build_unflags} -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483
|
|
314
|
+extra_scripts = ${stm32_variant.extra_scripts}
|
|
315
|
+ buildroot/share/PlatformIO/scripts/lerdge.py
|
316
|
316
|
|
317
|
317
|
#
|
318
|
318
|
# Lerdge X (STM32F407VE)
|
319
|
319
|
#
|
320
|
320
|
[env:LERDGEX]
|
321
|
|
-extends = lerdge_common
|
322
|
|
-board_build.encrypt = Lerdge_X_firmware_force.bin
|
|
321
|
+extends = lerdge_common
|
|
322
|
+board_build.crypt_lerdge = Lerdge_X_firmware_force.bin
|
323
|
323
|
|
324
|
324
|
#
|
325
|
325
|
# Lerdge X with USB Flash Drive Support
|
|
@@ -333,8 +333,8 @@ build_flags = ${stm_flash_drive.build_flags} ${lerdge_common.build_flags}
|
333
|
333
|
# Lerdge S (STM32F407ZG)
|
334
|
334
|
#
|
335
|
335
|
[env:LERDGES]
|
336
|
|
-extends = lerdge_common
|
337
|
|
-board_build.encrypt = Lerdge_firmware_force.bin
|
|
336
|
+extends = lerdge_common
|
|
337
|
+board_build.crypt_lerdge = Lerdge_firmware_force.bin
|
338
|
338
|
|
339
|
339
|
#
|
340
|
340
|
# Lerdge S with USB Flash Drive Support
|
|
@@ -348,9 +348,9 @@ build_flags = ${stm_flash_drive.build_flags} ${lerdge_common.build_flags}
|
348
|
348
|
# Lerdge K (STM32F407ZG)
|
349
|
349
|
#
|
350
|
350
|
[env:LERDGEK]
|
351
|
|
-extends = lerdge_common
|
352
|
|
-board_build.encrypt = Lerdge_K_firmware_force.bin
|
353
|
|
-build_flags = ${lerdge_common.build_flags} -DLERDGEK
|
|
351
|
+extends = lerdge_common
|
|
352
|
+board_build.crypt_lerdge = Lerdge_K_firmware_force.bin
|
|
353
|
+build_flags = ${lerdge_common.build_flags} -DLERDGEK
|
354
|
354
|
|
355
|
355
|
#
|
356
|
356
|
# Lerdge K with USB Flash Drive Support
|
|
@@ -364,17 +364,17 @@ build_flags = ${stm_flash_drive.build_flags} ${lerdge_common.build_flags}
|
364
|
364
|
# RUMBA32
|
365
|
365
|
#
|
366
|
366
|
[env:rumba32]
|
367
|
|
-extends = stm32_variant
|
368
|
|
-board = rumba32_f446ve
|
369
|
|
-board_build.variant = MARLIN_F446VE
|
370
|
|
-board_build.offset = 0x0000
|
371
|
|
-build_flags = ${stm32_variant.build_flags}
|
372
|
|
- -Os -DHAL_PCD_MODULE_ENABLED
|
373
|
|
- -DDISABLE_GENERIC_SERIALUSB
|
374
|
|
- -DHAL_UART_MODULE_ENABLED
|
375
|
|
- -DTIMER_SERIAL=TIM9
|
376
|
|
-monitor_speed = 500000
|
377
|
|
-upload_protocol = dfu
|
|
367
|
+extends = stm32_variant
|
|
368
|
+board = rumba32_f446ve
|
|
369
|
+board_build.variant = MARLIN_F446VE
|
|
370
|
+board_build.offset = 0x0000
|
|
371
|
+build_flags = ${stm32_variant.build_flags}
|
|
372
|
+ -Os -DHAL_PCD_MODULE_ENABLED
|
|
373
|
+ -DDISABLE_GENERIC_SERIALUSB
|
|
374
|
+ -DHAL_UART_MODULE_ENABLED
|
|
375
|
+ -DTIMER_SERIAL=TIM9
|
|
376
|
+monitor_speed = 500000
|
|
377
|
+upload_protocol = dfu
|
378
|
378
|
|
379
|
379
|
#
|
380
|
380
|
# MKS Robin Pro V2
|
|
@@ -547,17 +547,17 @@ build_unflags = -DUSBD_USE_CDC
|
547
|
547
|
# TH3D EZBoard v2.0 (STM32F405RGT6 ARM Cortex-M4)
|
548
|
548
|
#
|
549
|
549
|
[env:TH3D_EZBoard_V2]
|
550
|
|
-extends = stm32_variant
|
551
|
|
-board = genericSTM32F405RG
|
552
|
|
-board_build.variant = MARLIN_TH3D_EZBOARD_V2
|
553
|
|
-board_build.encrypt = firmware.bin
|
554
|
|
-board_build.offset = 0xC000
|
|
550
|
+extends = stm32_variant
|
|
551
|
+board = genericSTM32F405RG
|
|
552
|
+board_build.variant = MARLIN_TH3D_EZBOARD_V2
|
|
553
|
+board_build.encrypt_mks = firmware.bin
|
|
554
|
+board_build.offset = 0xC000
|
555
|
555
|
board_upload.offset_address = 0x0800C000
|
556
|
|
-build_flags = ${stm32_variant.build_flags} -DHSE_VALUE=12000000U -O0
|
557
|
|
-debug_tool = stlink
|
558
|
|
-upload_protocol = stlink
|
559
|
|
-extra_scripts = ${stm32_variant.extra_scripts}
|
560
|
|
- buildroot/share/PlatformIO/scripts/openblt.py
|
|
556
|
+build_flags = ${stm32_variant.build_flags} -DHSE_VALUE=12000000U -O0
|
|
557
|
+debug_tool = stlink
|
|
558
|
+upload_protocol = stlink
|
|
559
|
+extra_scripts = ${stm32_variant.extra_scripts}
|
|
560
|
+ buildroot/share/PlatformIO/scripts/openblt.py
|
561
|
561
|
|
562
|
562
|
#
|
563
|
563
|
# BOARD_MKS_ROBIN_NANO_V1_3_F4
|