Browse Source

More PlatformIO aliases

Scott Lahteine 5 years ago
parent
commit
ab792d004c
1 changed files with 25 additions and 41 deletions
  1. 25
    41
      platformio.ini

+ 25
- 41
platformio.ini View File

@@ -29,13 +29,13 @@ build_flags = -fmax-errors=5
29 29
   -g
30 30
   -ggdb
31 31
 lib_deps =
32
-  https://github.com/MarlinFirmware/U8glib-HAL/archive/dev.zip
32
+  U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/dev.zip
33 33
   LiquidCrystal@1.3.4
34 34
   TMCStepper@<1.0.0
35 35
   Adafruit NeoPixel@1.1.3
36
-  https://github.com/lincomatic/LiquidTWI2/archive/30aa480.zip
37
-  https://github.com/ameyer/Arduino-L6470/archive/dev.zip
38
-  https://github.com/trinamic/TMC26XStepper/archive/c1921b4.zip
36
+  LiquidTWI2=https://github.com/lincomatic/LiquidTWI2/archive/master.zip
37
+  Arduino-L6470=https://github.com/ameyer/Arduino-L6470/archive/dev.zip
38
+  TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
39 39
   SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
40 40
   SailfishRGB_LED=https://github.com/mikeshub/SailfishRGB_LED/archive/master.zip
41 41
   SlowSoftI2CMaster=https://github.com/mikeshub/SlowSoftI2CMaster/archive/master.zip
@@ -121,7 +121,7 @@ framework     = arduino
121 121
 board         = due
122 122
 build_flags   = ${common.build_flags}
123 123
 lib_deps      = ${common.lib_deps}
124
-lib_ignore    = c1921b4
124
+lib_ignore    = TMC26XStepper
125 125
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_DUE>
126 126
 monitor_speed = 250000
127 127
 [env:DUE_USB]
@@ -130,7 +130,7 @@ framework     = arduino
130 130
 board         = dueUSB
131 131
 build_flags   = ${common.build_flags}
132 132
 lib_deps      = ${common.lib_deps}
133
-lib_ignore    = c1921b4
133
+lib_ignore    = TMC26XStepper
134 134
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_DUE>
135 135
 monitor_speed = 250000
136 136
 [env:DUE_debug]
@@ -142,7 +142,7 @@ build_flags   = ${common.build_flags}
142 142
   -funwind-tables
143 143
   -mpoke-function-name
144 144
 lib_deps      = ${common.lib_deps}
145
-lib_ignore    = c1921b4
145
+lib_ignore    = TMC26XStepper
146 146
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_DUE>
147 147
 monitor_speed = 250000
148 148
 
@@ -266,13 +266,12 @@ build_flags   = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
266 266
 build_unflags = -std=gnu++11
267 267
 lib_deps      = ${common.lib_deps}
268 268
 lib_ignore    = U8glib-HAL
269
-  c1921b4
269
+  TMC26XStepper
270 270
   libf3c
271 271
   lib066
272 272
   Adafruit NeoPixel_ID28
273 273
   Adafruit NeoPixel
274 274
   libf3e
275
-  TMC26XStepper
276 275
 #lib_ldf_mode  = chain
277 276
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
278 277
 monitor_speed = 250000
@@ -292,14 +291,12 @@ build_flags   = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
292 291
 build_unflags = -std=gnu++11
293 292
 lib_deps      = ${common.lib_deps}
294 293
   SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip
295
-lib_ignore    =
296
-  c1921b4
294
+lib_ignore    = TMC26XStepper
297 295
   libf3c
298 296
   lib066
299 297
   Adafruit NeoPixel_ID28
300 298
   Adafruit NeoPixel
301 299
   libf3e
302
-  TMC26XStepper
303 300
 lib_ldf_mode  = chain
304 301
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
305 302
 monitor_speed = 250000
@@ -319,14 +316,12 @@ build_flags   = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
319 316
   -DDEBUG_LEVEL=0
320 317
 build_unflags = -std=gnu++11
321 318
 lib_deps      = ${common.lib_deps}
322
-lib_ignore    =
323
-  c1921b4
319
+lib_ignore    = TMC26XStepper
324 320
   libf3c
325 321
   lib066
326 322
   Adafruit NeoPixel_ID28
327 323
   Adafruit NeoPixel
328 324
   libf3e
329
-  TMC26XStepper
330 325
 #lib_ldf_mode  = chain
331 326
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
332 327
 monitor_speed = 115200
@@ -342,7 +337,7 @@ framework     = arduino
342 337
 board         = disco_f407vg
343 338
 build_flags   = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB
344 339
 lib_deps      = ${common.lib_deps}
345
-lib_ignore    = Adafruit NeoPixel, c1921b4, TMCStepper
340
+lib_ignore    = Adafruit NeoPixel, TMC26XStepper, TMCStepper
346 341
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32_F4_F7> -<src/HAL/HAL_STM32_F4_F7/*> +<src/HAL/HAL_STM32_F4_F7/STM32F4>
347 342
 monitor_speed = 250000
348 343
 
@@ -355,7 +350,7 @@ framework     = arduino
355 350
 board         = disco_f765vg
356 351
 build_flags   = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB
357 352
 lib_deps      = ${common.lib_deps}
358
-lib_ignore    = Adafruit NeoPixel, c1921b4, TMCStepper
353
+lib_ignore    = Adafruit NeoPixel, TMC26XStepper, TMCStepper
359 354
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32_F4_F7> -<src/HAL/HAL_STM32_F4_F7/*> +<src/HAL/HAL_STM32_F4_F7/STM32F7>
360 355
 monitor_speed = 250000
361 356
 
@@ -368,7 +363,7 @@ framework   = arduino
368 363
 board       = armed_v1
369 364
 build_flags = ${common.build_flags} -DUSBCON -DUSBD_VID=0x0483 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="ARMED_V1"' -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -O2 -ffreestanding -fsigned-char -fno-move-loop-invariants -fno-strict-aliasing -std=gnu11 -std=gnu++11
370 365
 lib_deps    = ${common.lib_deps}
371
-lib_ignore  = Adafruit NeoPixel, c1921b4
366
+lib_ignore  = Adafruit NeoPixel, TMC26XStepper
372 367
 src_filter  = ${common.default_src_filter} +<src/HAL/HAL_STM32>
373 368
 monitor_speed = 250000
374 369
 
@@ -387,13 +382,12 @@ build_flags   = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
387 382
 build_unflags = -std=gnu++11 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1
388 383
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
389 384
 lib_deps      = ${common.lib_deps}
390
-lib_ignore    = c1921b4
385
+lib_ignore    = TMC26XStepper
391 386
   libf3c
392 387
   lib066
393 388
   Adafruit NeoPixel_ID28
394 389
   Adafruit NeoPixel
395 390
   libf3e
396
-  TMC26XStepper
397 391
 
398 392
 #
399 393
 # MKS Robin (STM32F103ZET6)
@@ -408,13 +402,12 @@ build_flags   = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
408 402
 build_unflags = -std=gnu++11
409 403
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
410 404
 lib_deps      = ${common.lib_deps}
411
-lib_ignore    = c1921b4
405
+lib_ignore    = TMC26XStepper
412 406
   libf3c
413 407
   lib066
414 408
   Adafruit NeoPixel_ID28
415 409
   Adafruit NeoPixel
416 410
   libf3e
417
-  TMC26XStepper
418 411
   U8glib-HAL
419 412
 
420 413
 #
@@ -430,13 +423,12 @@ build_flags   = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
430 423
 build_unflags = -std=gnu++11
431 424
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
432 425
 lib_deps      = ${common.lib_deps}
433
-lib_ignore    = c1921b4
426
+lib_ignore    = TMC26XStepper
434 427
   libf3c
435 428
   lib066
436 429
   Adafruit NeoPixel_ID28
437 430
   Adafruit NeoPixel
438 431
   libf3e
439
-  TMC26XStepper
440 432
 
441 433
 #
442 434
 # MKS Robin Mini (STM32F103VET6)
@@ -451,13 +443,12 @@ build_flags   = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
451 443
 build_unflags = -std=gnu++11
452 444
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
453 445
 lib_deps      = ${common.lib_deps}
454
-lib_ignore    = c1921b4
446
+lib_ignore    = TMC26XStepper
455 447
   libf3c
456 448
   lib066
457 449
   Adafruit NeoPixel_ID28
458 450
   Adafruit NeoPixel
459 451
   libf3e
460
-  TMC26XStepper
461 452
 
462 453
 #
463 454
 # MKS Robin Nano (STM32F103VET6)
@@ -472,13 +463,12 @@ build_flags   = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
472 463
 build_unflags = -std=gnu++11
473 464
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
474 465
 lib_deps      = ${common.lib_deps}
475
-lib_ignore    = c1921b4
466
+lib_ignore    = TMC26XStepper
476 467
   libf3c
477 468
   lib066
478 469
   Adafruit NeoPixel_ID28
479 470
   Adafruit NeoPixel
480 471
   libf3e
481
-  TMC26XStepper
482 472
 
483 473
 #
484 474
 # JGAurora A5S A1 (STM32F103ZET6)
@@ -493,13 +483,12 @@ build_flags   = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
493 483
 build_unflags = -std=gnu++11
494 484
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
495 485
 lib_deps      = ${common.lib_deps}
496
-lib_ignore    = c1921b4
486
+lib_ignore    = TMC26XStepper
497 487
   libf3c
498 488
   lib066
499 489
   Adafruit NeoPixel_ID28
500 490
   Adafruit NeoPixel
501 491
   libf3e
502
-  TMC26XStepper
503 492
 monitor_speed = 250000
504 493
 
505 494
 #
@@ -515,7 +504,7 @@ extra_scripts = pre:buildroot/share/PlatformIO/scripts/black_stm32f407vet6.py
515 504
 build_flags = ${common.build_flags}
516 505
   -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"BLACK_F407VE\"
517 506
 lib_deps = ${common.lib_deps}
518
-lib_ignore = Adafruit NeoPixel, c1921b4, TMCStepper, TMC26XStepper, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster
507
+lib_ignore = Adafruit NeoPixel, TMC26XStepper, TMCStepper, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster
519 508
 src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
520 509
 monitor_speed = 250000
521 510
 
@@ -531,7 +520,7 @@ build_flags = ${common.build_flags}
531 520
   -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STM32F407ZG\"
532 521
   -DTARGET_STM32F4 -DSTM32F407_5ZX -DVECT_TAB_OFFSET=0x8000 -DHAVE_HWSERIAL6
533 522
 lib_deps = ${common.lib_deps}
534
-lib_ignore = Adafruit NeoPixel, c1921b4, TMC26XStepper, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster
523
+lib_ignore = Adafruit NeoPixel, TMC26XStepper, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster
535 524
 src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32>
536 525
 monitor_speed = 250000
537 526
 
@@ -572,18 +561,16 @@ build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py -DMCU_ST
572 561
   -DDEBUG_LEVEL=0
573 562
 src_filter  = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
574 563
 #-<frameworks>
575
-lib_ignore  =
564
+lib_ignore  = Adafruit NeoPixel
576 565
   U8glib
577 566
   LiquidCrystal_I2C
578 567
   LiquidCrystal
579 568
   NewliquidCrystal
580 569
   LiquidTWI2
581
-  Adafruit NeoPixel
570
+  TMC26XStepper
582 571
   TMCStepper
583 572
   Servo(STM32F1)
584
-  TMC26XStepper
585 573
   U8glib-HAL
586
-  c1921b4
587 574
 
588 575
 #
589 576
 # Espressif ESP32
@@ -598,13 +585,11 @@ upload_port = /dev/ttyUSB0
598 585
 lib_deps =
599 586
   AsyncTCP=https://github.com/me-no-dev/AsyncTCP/archive/master.zip
600 587
   ESPAsyncWebServer=https://github.com/me-no-dev/ESPAsyncWebServer/archive/master.zip
601
-lib_ignore  =
588
+lib_ignore  = TMC26XStepper
602 589
   LiquidCrystal_I2C
603 590
   LiquidCrystal
604 591
   NewliquidCrystal
605 592
   LiquidTWI2
606
-  TMC26XStepper
607
-  c1921b4
608 593
   SailfishLCD
609 594
   SailfishRGB_LED
610 595
 src_filter  = ${common.default_src_filter} +<src/HAL/HAL_ESP32>
@@ -646,6 +631,5 @@ framework     = arduino
646 631
 build_flags   = ${common.build_flags}
647 632
   -Wl,-Map,$BUILD_DIR/firmware.map -Wl,--cref
648 633
 lib_deps      = ${common.lib_deps}
649
-lib_ignore    = U8glib-HAL
650
- c1921b4
634
+lib_ignore    = U8glib-HAL, TMC26XStepper
651 635
 src_filter    = ${common.default_src_filter} +<src/HAL/HAL_SAMD51>

Loading…
Cancel
Save