FLY Mini for stm32duino (#22356)

This commit is contained in:
ellensp
2021-07-14 18:57:26 +12:00
committed by Scott Lahteine
parent 6b2370fd7c
commit 6f9194eb29
2 changed files with 17 additions and 1 deletions

View File

@ -259,3 +259,19 @@ board = malyanm200_f103cb
build_flags = ${common_stm32.build_flags}
-DHAL_PCD_MODULE_ENABLED -DDISABLE_GENERIC_SERIALUSB -DHAL_UART_MODULE_ENABLED
src_filter = ${common.default_src_filter} +<src/HAL/STM32>
#
# FLY Mini (STM32F103RCT6)
#
[env:FLY_MINI]
platform = ${common_stm32.platform}
extends = common_stm32
build_flags = ${common_stm32.build_flags} -DSS_TIMER=4
board = genericSTM32F103RC
board_build.core = stm32
board_build.variant = MARLIN_F103Rx
board_build.offset = 0x5000
board_upload.offset_address = 0x08005000
extra_scripts = ${common_stm32.extra_scripts}
pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
buildroot/share/PlatformIO/scripts/stm32_bootloader.py