|
|
|
@ -282,3 +282,14 @@ build_unflags = ${common_stm32.build_unflags} -DUSBCON -DUSBD_USE_CDC
|
|
|
|
|
extra_scripts = ${common_stm32.extra_scripts}
|
|
|
|
|
pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
|
|
|
|
|
buildroot/share/PlatformIO/scripts/stm32_bootloader.py
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Malyan M200 (STM32F103CB)
|
|
|
|
|
#
|
|
|
|
|
[env:STM32F103CB_malyan]
|
|
|
|
|
platform = ${common_stm32.platform}
|
|
|
|
|
extends = common_stm32
|
|
|
|
|
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>
|
|
|
|
|