Bläddra i källkod

Separate STM32F103R_bigtree_USB environment

Scott Lahteine 5 år sedan
förälder
incheckning
6282655d77
1 ändrade filer med 17 tillägg och 2 borttagningar
  1. 17
    2
      platformio.ini

+ 17
- 2
platformio.ini Visa fil

@@ -301,8 +301,23 @@ board             = genericSTM32F103RC
301 301
 platform_packages = tool-stm32duino
302 302
 extra_scripts     = buildroot/share/PlatformIO/scripts/STM32F1_SKR_MINI.py
303 303
 build_flags       = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
304
-  ${common.build_flags} -std=gnu++14
305
-  -DDEBUG_LEVEL=0 -DUSE_USB_COMPOSITE
304
+  ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14
305
+build_unflags     = -std=gnu++11
306
+lib_deps          = ${common.lib_deps}
307
+lib_ignore        = Adafruit NeoPixel, SPI
308
+src_filter        = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
309
+monitor_speed     = 115200
310
+upload_protocol   = stlink
311
+debug_tool        = stlink
312
+
313
+[env:STM32F103R_bigtree_USB]
314
+platform          = ststm32
315
+framework         = arduino
316
+board             = genericSTM32F103RC
317
+platform_packages = tool-stm32duino
318
+extra_scripts     = buildroot/share/PlatformIO/scripts/STM32F1_SKR_MINI.py
319
+build_flags       = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py
320
+  ${common.build_flags} -DDEBUG_LEVEL=0 -DUSE_USB_COMPOSITE -std=gnu++14
306 321
 build_unflags     = -std=gnu++11
307 322
 lib_deps          = ${common.lib_deps}
308 323
 lib_ignore        = Adafruit NeoPixel, SPI

Laddar…
Avbryt
Spara