Separate STM32F103R_bigtree_USB environment
This commit is contained in:
parent
98233b1de0
commit
6282655d77
|
@ -301,8 +301,23 @@ board = genericSTM32F103RC
|
||||||
platform_packages = tool-stm32duino
|
platform_packages = tool-stm32duino
|
||||||
extra_scripts = buildroot/share/PlatformIO/scripts/STM32F1_SKR_MINI.py
|
extra_scripts = buildroot/share/PlatformIO/scripts/STM32F1_SKR_MINI.py
|
||||||
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
||||||
${common.build_flags} -std=gnu++14
|
${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14
|
||||||
-DDEBUG_LEVEL=0 -DUSE_USB_COMPOSITE
|
build_unflags = -std=gnu++11
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
lib_ignore = Adafruit NeoPixel, SPI
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
||||||
|
monitor_speed = 115200
|
||||||
|
upload_protocol = stlink
|
||||||
|
debug_tool = stlink
|
||||||
|
|
||||||
|
[env:STM32F103R_bigtree_USB]
|
||||||
|
platform = ststm32
|
||||||
|
framework = arduino
|
||||||
|
board = genericSTM32F103RC
|
||||||
|
platform_packages = tool-stm32duino
|
||||||
|
extra_scripts = buildroot/share/PlatformIO/scripts/STM32F1_SKR_MINI.py
|
||||||
|
build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
|
||||||
|
${common.build_flags} -DDEBUG_LEVEL=0 -DUSE_USB_COMPOSITE -std=gnu++14
|
||||||
build_unflags = -std=gnu++11
|
build_unflags = -std=gnu++11
|
||||||
lib_deps = ${common.lib_deps}
|
lib_deps = ${common.lib_deps}
|
||||||
lib_ignore = Adafruit NeoPixel, SPI
|
lib_ignore = Adafruit NeoPixel, SPI
|
||||||
|
|
Loading…
Reference in a new issue