mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-23 12:04:19 +00:00
43 lines
1.2 KiB
INI
43 lines
1.2 KiB
INI
|
#
|
||
|
# Marlin Firmware
|
||
|
# PlatformIO Configuration File
|
||
|
#
|
||
|
|
||
|
#################################
|
||
|
# #
|
||
|
# STM32F0 Architecture #
|
||
|
# #
|
||
|
#################################
|
||
|
|
||
|
#
|
||
|
# Malyan M200 v2 (STM32F070RB)
|
||
|
#
|
||
|
[env:STM32F070RB_malyan]
|
||
|
platform = ${common_stm32.platform}
|
||
|
extends = common_stm32
|
||
|
board = malyanM200v2
|
||
|
build_flags = ${common_stm32.build_flags} -DHAL_PCD_MODULE_ENABLED
|
||
|
-O2 -ffreestanding -fsigned-char -fno-move-loop-invariants -fno-strict-aliasing
|
||
|
-DCUSTOM_STARTUP_FILE
|
||
|
|
||
|
#
|
||
|
# Malyan M200 v2 (STM32F070CB)
|
||
|
#
|
||
|
[env:STM32F070CB_malyan]
|
||
|
platform = ${common_stm32.platform}
|
||
|
extends = common_stm32
|
||
|
board = malyanm200_f070cb
|
||
|
build_flags = ${common_stm32.build_flags}
|
||
|
-DHAL_PCD_MODULE_ENABLED -DDISABLE_GENERIC_SERIALUSB -DHAL_UART_MODULE_ENABLED -DCUSTOM_STARTUP_FILE
|
||
|
|
||
|
#
|
||
|
# Malyan M300 (STM32F070CB)
|
||
|
#
|
||
|
[env:malyan_M300]
|
||
|
platform = ${common_stm32.platform}
|
||
|
extends = common_stm32
|
||
|
board = malyanm300_f070cb
|
||
|
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>
|