Skip to content

Commit 4c606f2

Browse files
rhapsodyvzillarob
authored andcommitted
MKS Robin Nano V3 and STM32F4x0Vx Variant (MarlinFirmware#20430)
1 parent fb0bcd3 commit 4c606f2

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

platformio.ini

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1570,6 +1570,28 @@ extra_scripts = ${common.extra_scripts}
15701570
buildroot/share/PlatformIO/scripts/stm32_bootloader.py
15711571
buildroot/share/PlatformIO/scripts/mks_encrypt.py
15721572

1573+
#
1574+
# MKS Robin Nano V3
1575+
#
1576+
[env:mks_robin_nano_v3]
1577+
platform = ${common_stm32.platform}
1578+
extends = common_stm32
1579+
build_flags = ${common_stm32.build_flags} -DHAL_PCD_MODULE_ENABLED -DUSBCON -DUSBD_USE_CDC
1580+
board = genericSTM32F407VGT6
1581+
board_build.core = stm32
1582+
board_build.variant = MARLIN_F4x7Vx
1583+
board_build.ldscript = ldscript.ld
1584+
board_build.firmware = Robin_nano_v3.bin
1585+
board_build.offset = 0xC000
1586+
board_upload.offset_address = 0x0800C000
1587+
build_unflags = ${common_stm32.build_unflags}
1588+
debug_tool = jlink
1589+
upload_protocol = jlink
1590+
extra_scripts = ${common.extra_scripts}
1591+
pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
1592+
buildroot/share/PlatformIO/scripts/stm32_bootloader.py
1593+
buildroot/share/PlatformIO/scripts/mks_encrypt.py
1594+
15731595
#################################
15741596
# #
15751597
# Other Architectures #

0 commit comments

Comments
 (0)