|
@@ -463,9 +463,9 @@ src_filter = ${common.default_src_filter} +<src/HAL/STM32>
|
463
|
463
|
platform = ststm32
|
464
|
464
|
board = genericSTM32F103VE
|
465
|
465
|
build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
466
|
|
- ${common.build_flags} -DDEBUG_LEVEL=DEBUG_NONE -std=gnu++14 -MMD -ffunction-sections -fdata-sections -nostdlib
|
467
|
|
- -DBOARD_generic_stm32f103v -DARDUINO_GENERIC_STM32F103V -DARDUINO_ARCH_STM32F1
|
468
|
|
- -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DVECT_TAB_ADDR=0x8000000 -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6
|
|
466
|
+ ${common.build_flags} -std=gnu++14 -ffunction-sections -fdata-sections -nostdlib -MMD
|
|
467
|
+ -DMCU_STM32F103VE -DARDUINO_GENERIC_STM32F103V -DARDUINO_ARCH_STM32F1 -DBOARD_generic_stm32f103v
|
|
468
|
+ -DDEBUG_LEVEL=DEBUG_NONE -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DVECT_TAB_ADDR=0x8000000 -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6
|
469
|
469
|
build_unflags = -std=gnu++11
|
470
|
470
|
src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
471
|
471
|
lib_ignore = Adafruit NeoPixel, SPI
|
|
@@ -478,8 +478,7 @@ upload_protocol = serial
|
478
|
478
|
platform = ststm32
|
479
|
479
|
board = genericSTM32F103VE
|
480
|
480
|
build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
481
|
|
- ${common.build_flags} -std=gnu++14 -USERIAL_USB
|
482
|
|
- -DSTM32F1xx -DU20 -DTS_V12
|
|
481
|
+ ${common.build_flags} -std=gnu++14 -DMCU_STM32F103VE -DSTM32F1xx -USERIAL_USB -DU20 -DTS_V12
|
483
|
482
|
build_unflags = -std=gnu++11 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6
|
484
|
483
|
extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103VE_longer.py
|
485
|
484
|
src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
|
@@ -492,7 +491,7 @@ lib_ignore = Adafruit NeoPixel, LiquidTWI2, SPI
|
492
|
491
|
platform = ststm32
|
493
|
492
|
board = genericSTM32F103VE
|
494
|
493
|
build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
495
|
|
- ${common.build_flags} -std=gnu++14
|
|
494
|
+ ${common.build_flags} -std=gnu++14 -DMCU_STM32F103VE
|
496
|
495
|
build_unflags = -std=gnu++11
|
497
|
496
|
extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_mini.py
|
498
|
497
|
src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
|
@@ -506,7 +505,7 @@ platform = ststm32
|
506
|
505
|
board = genericSTM32F103VE
|
507
|
506
|
platform_packages = tool-stm32duino
|
508
|
507
|
build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
509
|
|
- ${common.build_flags} -std=gnu++14 -DHAVE_SW_SERIAL -DSS_TIMER=4
|
|
508
|
+ ${common.build_flags} -std=gnu++14 -DMCU_STM32F103VE -DHAVE_SW_SERIAL -DSS_TIMER=4
|
510
|
509
|
build_unflags = -std=gnu++11
|
511
|
510
|
extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_nano.py
|
512
|
511
|
src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|