Browse Source

Support file updates

Scott Lahteine 6 years ago
parent
commit
65996e4235

+ 0
- 1
.gitattributes View File

@@ -17,4 +17,3 @@
17 17
 *.png binary
18 18
 *.jpg binary
19 19
 *.fon binary
20
-

+ 5
- 5
.gitignore View File

@@ -128,17 +128,17 @@ tags
128 128
 *.sln
129 129
 *.vcxproj
130 130
 *.vcxproj.filters
131
-Marlin/Release/
132
-Marlin/Debug/
133
-Marlin/__vm/
134
-Marlin/.vs/
131
+src/Release/
132
+src/Debug/
133
+src/__vm/
134
+src/.vs/
135 135
 
136 136
 #Visual Studio Code
137 137
 .vscode
138 138
 
139 139
 #cmake
140 140
 CMakeLists.txt
141
-Marlin/CMakeLists.txt
141
+src/CMakeLists.txt
142 142
 CMakeListsPrivate.txt
143 143
 
144 144
 #CLion

+ 37
- 192
.travis.yml View File

@@ -10,7 +10,7 @@ notifications:
10 10
 
11 11
 # Cache PlatformIO packages using Travis CI container-based infrastructure
12 12
 sudo: false
13
-cache: 
13
+cache:
14 14
   pip: true
15 15
   directories:
16 16
   - "~/.platformio"
@@ -25,7 +25,7 @@ before_install:
25 25
   #
26 26
   # Publish the buildroot script folder
27 27
   - chmod +x ${TRAVIS_BUILD_DIR}/buildroot/bin/*
28
-  - export PATH=${TRAVIS_BUILD_DIR}/buildroot/bin/:${PATH} 
28
+  - export PATH=${TRAVIS_BUILD_DIR}/buildroot/bin/:${PATH}
29 29
 
30 30
 install:
31 31
   - pip install -U platformio
@@ -36,19 +36,20 @@ before_script:
36 36
   - cd ${TRAVIS_BUILD_DIR}
37 37
   #
38 38
   # Generate custom version include
39
-  - generate_version_header_for_marlin ${TRAVIS_BUILD_DIR}/Marlin
40
-  - cat ${TRAVIS_BUILD_DIR}/Marlin/_Version.h
39
+  - generate_version_header_for_marlin ${TRAVIS_BUILD_DIR}/Marlin/src/inc
40
+  - cat ${TRAVIS_BUILD_DIR}/Marlin/src/inc/_Version.h
41 41
   #
42 42
 script:
43 43
   #
44 44
   # Backup Configuration.h, Configuration_adv.h, and pins_RAMPS.h
45 45
   #
46
-  - cp Marlin/Configuration.h Marlin/Configuration.h.backup
47
-  - cp Marlin/Configuration_adv.h Marlin/Configuration_adv.h.backup
48
-  - cp Marlin/pins_RAMPS.h Marlin/pins_RAMPS.h.backup
46
+  - cp Marlin/src/config/Configuration.h Marlin/src/config/Configuration.h.backup
47
+  - cp Marlin/src/config/Configuration_adv.h Marlin/src/config/Configuration_adv.h.backup
48
+  - cp Marlin/src/pins/pins_RAMPS.h Marlin/src/pins/pins_RAMPS.h.backup
49 49
   #
50 50
   # Build with the default configurations
51 51
   #
52
+  - restore_configs
52 53
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
53 54
   #
54 55
   # Test 2 extruders (one MAX6675) and heated bed on basic RAMPS 1.4
@@ -60,7 +61,7 @@ script:
60 61
   - opt_set TEMP_SENSOR_0 -2
61 62
   - opt_set TEMP_SENSOR_1 1
62 63
   - opt_set TEMP_SENSOR_BED 1
63
-  - opt_enable PIDTEMPBED FIX_MOUNTED_PROBE Z_SAFE_HOMING ARC_P_CIRCLES CNC_WORKSPACE_PLANES
64
+  - opt_enable PIDTEMPBED Z_SAFE_HOMING ARC_P_CIRCLES CNC_WORKSPACE_PLANES
64 65
   - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT EEPROM_SETTINGS
65 66
   - opt_enable BLINKM PCA9632 RGB_LED NEOPIXEL_RGBW_LED
66 67
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
@@ -68,7 +69,7 @@ script:
68 69
   #
69 70
   # ...with AUTO_BED_LEVELING_LINEAR, Z_MIN_PROBE_REPEATABILITY_TEST, and DEBUG_LEVELING_FEATURE
70 71
   #
71
-  - opt_enable AUTO_BED_LEVELING_LINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE
72
+  - opt_enable AUTO_BED_LEVELING_LINEAR BLTOUCH Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE
72 73
   - opt_enable_adv FWRETRACT MAX7219_DEBUG
73 74
   - opt_set ABL_GRID_POINTS_X 16
74 75
   - opt_set ABL_GRID_POINTS_Y 16
@@ -77,15 +78,15 @@ script:
77 78
   # Test a simple build of AUTO_BED_LEVELING_UBL
78 79
   #
79 80
   - restore_configs
80
-  - opt_enable AUTO_BED_LEVELING_UBL UBL_G26_MESH_EDITING ENABLE_LEVELING_FADE_HEIGHT FIX_MOUNTED_PROBE EEPROM_SETTINGS G3D_PANEL
81
-  - opt_enable_adv CUSTOM_USER_MENUS I2C_POSITION_ENCODERS BABYSTEPPING
81
+  - opt_enable AUTO_BED_LEVELING_UBL UBL_G26_MESH_EDITING ENABLE_LEVELING_FADE_HEIGHT BLTOUCH EEPROM_SETTINGS G3D_PANEL
82
+  - opt_enable_adv CUSTOM_USER_MENUS I2C_POSITION_ENCODERS BABYSTEPPING BABYSTEP_ZPROBE_OFFSET
82 83
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
83 84
   #
84 85
   # Test a Sled Z Probe
85 86
   # ...with AUTO_BED_LEVELING_LINEAR, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, and EEPROM_CHITCHAT
86 87
   #
87 88
   - restore_configs
88
-  - opt_enable Z_PROBE_SLED AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
89
+  - opt_enable Z_PROBE_SLED AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
89 90
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
90 91
   #
91 92
   # Test a Servo Probe
@@ -94,7 +95,7 @@ script:
94 95
   - restore_configs
95 96
   - opt_enable NUM_SERVOS Z_ENDSTOP_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
96 97
   - opt_set NUM_SERVOS 1
97
-  - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
98
+  - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
98 99
   - opt_enable_adv EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES AUTOTEMP G38_PROBE_TARGET
99 100
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
100 101
   #
@@ -111,7 +112,7 @@ script:
111 112
   - restore_configs
112 113
   - opt_set MOTHERBOARD BOARD_MINIRAMBO
113 114
   - opt_enable PROBE_MANUALLY AUTO_BED_LEVELING_BILINEAR LCD_BED_LEVELING ULTIMAKERCONTROLLER
114
-  - opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT M100_FREE_MEMORY_WATCHER M100_FREE_MEMORY_DUMPER M100_FREE_MEMORY_CORRUPTOR INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT
115
+  - opt_enable EEPROM_SETTINGS M100_FREE_MEMORY_WATCHER M100_FREE_MEMORY_DUMPER M100_FREE_MEMORY_CORRUPTOR INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT
115 116
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
116 117
   #
117 118
   # Test 5 extruders on AZTEEG_X3_PRO (can use any board with >=5 extruders defined)
@@ -292,14 +293,14 @@ script:
292 293
   #
293 294
   # Delta Config (generic) + ABL bilinear + PROBE_MANUALLY
294 295
   - use_example_configs delta/generic
295
-  - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER DELTA_CALIBRATION_MENU AUTO_BED_LEVELING_BILINEAR PROBE_MANUALLY
296
+  - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER DELTA_AUTO_CALIBRATION DELTA_CALIBRATION_MENU AUTO_BED_LEVELING_BILINEAR PROBE_MANUALLY
296 297
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
297 298
   #
298 299
   # Delta Config (generic) + UBL + ALLEN_KEY + OLED_PANEL_TINYBOY2 + EEPROM_SETTINGS
299 300
   #
300 301
   - use_example_configs delta/generic
301 302
   - opt_disable DISABLE_MIN_ENDSTOPS
302
-  - opt_enable AUTO_BED_LEVELING_UBL Z_PROBE_ALLEN_KEY EEPROM_SETTINGS EEPROM_CHITCHAT OLED_PANEL_TINYBOY2
303
+  - opt_enable AUTO_BED_LEVELING_UBL Z_PROBE_ALLEN_KEY EEPROM_SETTINGS OLED_PANEL_TINYBOY2
303 304
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
304 305
   #
305 306
   # Delta Config (FLSUN AC because it's complex)
@@ -315,7 +316,7 @@ script:
315 316
   # SCARA with TMC2130
316 317
   #
317 318
   - use_example_configs SCARA
318
-  - opt_enable AUTO_BED_LEVELING_BILINEAR FIX_MOUNTED_PROBE USE_ZMIN_PLUG EEPROM_SETTINGS EEPROM_CHITCHAT ULTIMAKERCONTROLLER
319
+  - opt_enable AUTO_BED_LEVELING_BILINEAR FIX_MOUNTED_PROBE USE_ZMIN_PLUG EEPROM_SETTINGS ULTIMAKERCONTROLLER
319 320
   - opt_enable_adv HAVE_TMC2130 X_IS_TMC2130 Y_IS_TMC2130 Z_IS_TMC2130
320 321
   - opt_enable_adv AUTOMATIC_CURRENT_CONTROL STEALTHCHOP HYBRID_THRESHOLD SENSORLESS_HOMING
321 322
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
@@ -334,64 +335,48 @@ script:
334 335
   - export TEST_PLATFORM="-e teensy35"
335 336
   - restore_configs
336 337
   - opt_set MOTHERBOARD BOARD_TEENSY35_36
337
-  - cp Marlin/Configuration.h Marlin/Configuration.h.backup
338
-  - cp Marlin/Configuration_adv.h Marlin/Configuration_adv.h.backup
339
-  - cp Marlin/pins_RAMPS.h Marlin/pins_RAMPS.h.backup
338
+  - cp Marlin/src/config/Configuration.h Marlin/src/config/Configuration.h.backup
339
+  - cp Marlin/src/config/Configuration_adv.h Marlin/src/config/Configuration_adv.h.backup
340
+  - cp Marlin/src/pins/pins_RAMPS.h Marlin/src/pins/pins_RAMPS.h.backup
340 341
   #
341 342
   # Test Teensy3.5 with default config
342 343
   #
343 344
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
344 345
   #
345
-  # Test heated bed temperature sensor
346
-  #
347
-  - opt_set TEMP_SENSOR_BED 1
348
-  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
349
-  #
350
-  # Test 2 extruders on basic RAMPS 1.4
351
-  #
352
-  - opt_set EXTRUDERS 2
353
-  - opt_set TEMP_SENSOR_1 1
354
-  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
355
-  #
356
-  # Test PIDTEMPBED
357
-  #
358
-  - restore_configs
359
-  - opt_enable PIDTEMPBED
360
-  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
361
-  #
362
-  # Test a "Fix Mounted" Probe along with Safe Homing
346
+  # Test as many features together as possible
363 347
   #
364 348
   - restore_configs
365
-  - opt_enable FIX_MOUNTED_PROBE Z_SAFE_HOMING
366
-  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
367
-  #
368
-  # ...with AUTO_BED_LEVELING_LINEAR, Z_MIN_PROBE_REPEATABILITY_TEST, and DEBUG_LEVELING_FEATURE
369
-  #
370
-  - opt_enable AUTO_BED_LEVELING_LINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE
349
+  - opt_set EXTRUDERS 2
350
+  - opt_set TEMP_SENSOR_0 1
351
+  - opt_set TEMP_SENSOR_1 5
352
+  - opt_set TEMP_SENSOR_BED 1
353
+  - opt_enable ULTIMAKERCONTROLLER SDSUPPORT
354
+  - opt_enable FILAMENT_WIDTH_SENSOR FILAMENT_LCD_DISPLAY
355
+  - opt_enable FIX_MOUNTED_PROBE Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE
356
+  - opt_enable PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE PIDTEMPBED EEPROM_SETTINGS INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT M100_FREE_MEMORY_WATCHER
357
+  - opt_enable_adv FILAMENT_CHANGE_FEATURE LCD_INFO_MENU ARC_SUPPORT BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES SDCARD_SORT_ALPHA
358
+  - opt_set_adv I2C_SLAVE_ADDRESS 63
371 359
   - opt_set ABL_GRID_POINTS_X 16
372 360
   - opt_set ABL_GRID_POINTS_Y 16
373 361
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
374 362
   #
375
-  # Test a Sled Z Probe
363
+  # Test a Sled Z Probe with Linear leveling
376 364
   #
377 365
   - restore_configs
378 366
   - opt_enable Z_PROBE_SLED
379
-  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
380
-  #
381
-  # ...with AUTO_BED_LEVELING_LINEAR, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, and EEPROM_CHITCHAT
382
-  #
383
-  - opt_enable AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
367
+  - opt_enable AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
384 368
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
385 369
   #
386 370
   # Test a Servo Probe
387 371
   #
388 372
   - restore_configs
389 373
   - opt_enable NUM_SERVOS Z_ENDSTOP_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
374
+  - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
390 375
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
391 376
   #
392 377
   # ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
393 378
   #
394
-  - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
379
+  - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
395 380
   - opt_enable_adv EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES
396 381
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
397 382
   #
@@ -401,14 +386,6 @@ script:
401 386
   - opt_enable MESH_BED_LEVELING MESH_G28_REST_ORIGIN MANUAL_BED_LEVELING ULTIMAKERCONTROLLER
402 387
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
403 388
   #
404
-  # Test EEPROM_SETTINGS, EEPROM_CHITCHAT, M100_FREE_MEMORY_WATCHER,
405
-  #   INCH_MODE_SUPPORT, TEMPERATURE_UNITS_SUPPORT
406
-  #
407
-  - restore_configs
408
-  # - opt_enable M100_FREE_MEMORY_WATCHER // Compiler error!
409
-  - opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT
410
-  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
411
-  #
412 389
   # Mixing Extruder
413 390
   #
414 391
   - restore_configs
@@ -423,7 +400,7 @@ script:
423 400
   #- opt_set TEMP_SENSOR_1 1
424 401
   #- opt_enable USE_XMAX_PLUG
425 402
   #- opt_enable_adv DUAL_X_CARRIAGE
426
-  #- build_marlin_teensy35
403
+  #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
427 404
   #
428 405
   # Test SWITCHING_EXTRUDER
429 406
   #
@@ -435,31 +412,6 @@ script:
435 412
   - opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
436 413
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
437 414
   #
438
-  # Test FILAMENT_CHANGE_FEATURE and LCD_INFO_MENU
439
-  #
440
-  - restore_configs
441
-  - opt_enable ULTIMAKERCONTROLLER
442
-  - opt_enable_adv FILAMENT_CHANGE_FEATURE LCD_INFO_MENU
443
-  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
444
-  #
445
-  # Enable filament sensor
446
-  #
447
-  - restore_configs
448
-  - opt_enable FILAMENT_WIDTH_SENSOR
449
-  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
450
-  #
451
-  # Enable filament sensor with LCD display
452
-  #
453
-  - opt_enable ULTIMAKERCONTROLLER FILAMENT_LCD_DISPLAY
454
-  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
455
-  #
456
-  # Enable BEZIER_CURVE_SUPPORT, EXPERIMENTAL_I2CBUS, and I2C_SLAVE_ADDRESS
457
-  #
458
-  - restore_configs
459
-  - opt_enable_adv BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS
460
-  - opt_set_adv I2C_SLAVE_ADDRESS 63
461
-  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
462
-  #
463 415
   # Enable COREXY
464 416
   #
465 417
   - restore_configs
@@ -479,110 +431,3 @@ script:
479 431
   - pins_set RAMPS X_MAX_PIN -1
480 432
   - opt_set_adv Z2_MAX_PIN 2
481 433
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
482
-  #
483
-  # Test PRINTCOUNTER
484
-  #
485
-  - restore_configs
486
-  - opt_enable PRINTCOUNTER
487
-  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
488
-  #
489
-  # Test NOZZLE_PARK_FEATURE
490
-  #
491
-  - restore_configs
492
-  - opt_enable NOZZLE_PARK_FEATURE
493
-  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
494
-  #
495
-  # Test NOZZLE_CLEAN_FEATURE
496
-  #
497
-  - restore_configs
498
-  - opt_enable NOZZLE_CLEAN_FEATURE
499
-  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
500
-  #
501
-  #
502
-  ######## STANDARD LCD/PANELS ##############
503
-  #
504
-  # ULTRA_LCD
505
-  #
506
-  - restore_configs
507
-  - opt_enable ULTRA_LCD
508
-  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
509
-  #
510
-  # DOGLCD
511
-  #
512
-  - restore_configs
513
-  - opt_enable DOGLCD
514
-  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
515
-  #
516
-  # ULTIMAKERCONTROLLER
517
-  #
518
-  - restore_configs
519
-  - opt_enable ULTIMAKERCONTROLLER
520
-  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
521
-  #
522
-  # MAKRPANEL
523
-  # Needs to use Melzi and Sanguino hardware
524
-  #
525
-  #- restore_configs
526
-  #- opt_enable MAKRPANEL
527
-  #- build_marlin
528
-  #
529
-  # REPRAP_DISCOUNT_SMART_CONTROLLER, SDSUPPORT, and BABYSTEPPING
530
-  #
531
-  - restore_configs
532
-  - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING
533
-  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
534
-  #
535
-  # G3D_PANEL
536
-  #
537
-  - restore_configs
538
-  - opt_enable G3D_PANEL SDSUPPORT
539
-  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
540
-  #
541
-  # REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
542
-  #
543
-  - restore_configs
544
-  - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
545
-  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
546
-  #
547
-  # REPRAPWORLD_KEYPAD
548
-  #
549
-  # Cant find configuration details to get it to compile
550
-  #- restore_configs
551
-  #- opt_enable ULTRA_LCD REPRAPWORLD_KEYPAD REPRAPWORLD_KEYPAD_MOVE_STEP
552
-  #- build_marlin
553
-  #
554
-  # RA_CONTROL_PANEL
555
-  #
556
-  - restore_configs
557
-  - opt_enable RA_CONTROL_PANEL
558
-  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
559
-  #
560
-  ######## I2C LCD/PANELS ##############
561
-  #
562
-  # !!!ATTENTION!!!
563
-  # Most I2C configurations are failing at the moment because they require
564
-  # a different Liquid Crystal library "LiquidTWI2".
565
-  #
566
-  # LCD_I2C_SAINSMART_YWROBOT
567
-  #
568
-  #- restore_configs
569
-  #- opt_enable LCD_I2C_SAINSMART_YWROBOT
570
-  #- build_marlin
571
-  #
572
-  # LCD_I2C_PANELOLU2
573
-  #
574
-  #- restore_configs
575
-  #- opt_enable LCD_I2C_PANELOLU2
576
-  #- build_marlin
577
-  #
578
-  # LCD_I2C_VIKI
579
-  #
580
-  #- restore_configs
581
-  #- opt_enable LCD_I2C_VIKI
582
-  #- build_marlin
583
-  #
584
-  # LCM1602
585
-  #
586
-  - restore_configs
587
-  - opt_enable LCM1602
588
-  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}

+ 26
- 6
README.md View File

@@ -12,18 +12,38 @@ Please test this firmware and let us know if it misbehaves in any way. Volunteer
12 12
 
13 13
 __Not for production use. Use with caution!__
14 14
 
15
-This branch is used to accumulate patches to the latest 2.0.x release version. Periodically this branch will form the basis for the next minor 2.0.x release.
15
+Marlin 2.0 is bringing open source RepRap firmware to the next level with support of much faster 32-bit processor boards.
16
+
17
+This branch is for patches to the latest 2.0.x release version. Periodically this branch will form the basis for the next minor 2.0.x release.
16 18
 
17 19
 Download earlier versions of Marlin on the [Releases page](https://github.com/MarlinFirmware/Marlin/releases).
18 20
 
19
-## Recent Changes
20
-- Add a Hardware Abstraction Layer (HAL) supporting current AVR platforms
21
-- Planning a HAL for Re:Arm
22
-- Planning a HAL for STM32
21
+## Hardware Abstraction Layer (HAL)
22
+
23
+Marlin 2.0 adds a new abstraction layer so that Marlin can build and run on 32-bit boards while still retaining the ability to build and run on 8-bit AVR. In this way, new features can be enhanced for more powerful platforms while still supporting AVR, whereas splitting up the code makes it hard to follow these changes and keep them in sync.
24
+
25
+### Current HALs
26
+
27
+  name|processor|speed|flash|sram|logic|fpu
28
+  ----|---------|-----|-----|----|-----|---
29
+  [Arduino AVR](https://www.arduino.cc/)|ATmega, ATTiny, etc.|16,20MHz|64-256k|2-8k|5V|no
30
+  [Teensy++ 2.0](http://www.microchip.com/wwwproducts/en/AT90USB1286)|[AT90USB1286](http://www.microchip.com/wwwproducts/en/AT90USB1286)|16MHz|128k|8k|5V|no
31
+  [Due](https://www.arduino.cc/en/Guide/ArduinoDue), [RAMPS-FD](http://www.reprap.org/wiki/RAMPS-FD), etc.|[SAM3X8E ARM-Cortex M3](http://www.microchip.com/wwwproducts/en/ATsam3x8e)|84MHz|512k|64+32k|3.3V|no
32
+  [Re-ARM](https://www.kickstarter.com/projects/1245051645/re-arm-for-ramps-simple-32-bit-upgrade)|[LPC1768 ARM-Cortex M3](http://www.nxp.com/products/microcontrollers-and-processors/arm-based-processors-and-mcus/lpc-cortex-m-mcus/lpc1700-cortex-m3/512kb-flash-64kb-sram-ethernet-usb-lqfp100-package:LPC1768FBD100)|100MHz|512k|32+16+16k|3.3-5V|no
33
+  [Teensy 3.5](https://www.pjrc.com/store/teensy35.html)|ARM-Cortex M4|120MHz|512k|192k|3.3-5V|yes
34
+  [Teensy 3.6](https://www.pjrc.com/store/teensy36.html)|ARM-Cortex M4|180MHz|1M|256k|3.3V|yes
35
+
36
+### HALs in Development
37
+
38
+  name|processor|speed|flash|sram|logic|fpu
39
+  ----|---------|-----|-----|----|-----|---
40
+  [STEVAL-3DP001V1](http://www.st.com/en/evaluation-tools/steval-3dp001v1.html)|[STM32F401VE Arm-Cortex M4](http://www.st.com/en/microcontrollers/stm32f401ve.html)|84MHz|512k|64+32k|3.3-5V|yes
41
+  [Smoothieboard](http://reprap.org/wiki/Smoothieboard)|LPC1769 ARM-Cortex M3|120MHz|512k|64k|3.3-5V|no
42
+  [MKS SBASE](http://forums.reprap.org/read.php?13,499322)|LPC1768 ARM-Cortex M3|100MHz|512k|32+16+16k|3.3-5V|no
23 43
 
24 44
 ## Submitting Patches
25 45
 
26
-Proposed patches should be submitted as a Pull Request against this branch ([bugfix-2.0.x](https://github.com/MarlinFirmware/Marlin/tree/bugfix-2.0.x)).
46
+Proposed patches should be submitted as a Pull Request against the ([bugfix-2.0.x](https://github.com/MarlinFirmware/Marlin/tree/bugfix-2.0.x)) branch.
27 47
 
28 48
 - This branch is for fixing bugs and integrating any new features for the duration of the Marlin 2.0.x life-cycle.
29 49
 - Follow the [Coding Standards](http://marlinfw.org/docs/development/coding_standards.html) to gain points with the maintainers.

+ 0
- 3
buildroot/bin/build_marlin_teensy35 View File

@@ -1,3 +0,0 @@
1
-#!/usr/bin/env bash
2
-
3
-arduino --verify --board teensy:avr:teensy35:usb=serial,speed=120,opt=o1std,keys=en-us Marlin/Marlin.ino

+ 1
- 1
buildroot/bin/opt_disable View File

@@ -1,5 +1,5 @@
1 1
 #!/usr/bin/env bash
2 2
 
3 3
 for opt in "$@" ; do
4
-  eval "sed -i 's/\([[:blank:]]*\)\(#define \b${opt}\b\)/\1\/\/\2/g' Marlin/Configuration.h"
4
+  eval "sed -i 's/\([[:blank:]]*\)\(#define \b${opt}\b\)/\1\/\/\2/g' Marlin/src/config/Configuration.h"
5 5
 done

+ 1
- 1
buildroot/bin/opt_disable_adv View File

@@ -1,5 +1,5 @@
1 1
 #!/usr/bin/env bash
2 2
 
3 3
 for opt in "$@" ; do
4
-  eval "sed -i 's/\([[:blank:]]*\)\(#define \b${opt}\b\)/\1\/\/\2/g' Marlin/Configuration_adv.h"
4
+  eval "sed -i 's/\([[:blank:]]*\)\(#define \b${opt}\b\)/\1\/\/\2/g' Marlin/src/config/Configuration_adv.h"
5 5
 done

+ 1
- 1
buildroot/bin/opt_enable View File

@@ -1,5 +1,5 @@
1 1
 #!/usr/bin/env bash
2 2
 
3 3
 for opt in "$@" ; do
4
-  eval "sed -i 's/\/\/[[:blank:]]*\(#define \b${opt}\b\)/\1/g' Marlin/Configuration.h"
4
+  eval "sed -i 's/\/\/[[:blank:]]*\(#define \b${opt}\b\)/\1/g' Marlin/src/config/Configuration.h"
5 5
 done

+ 1
- 1
buildroot/bin/opt_enable_adv View File

@@ -1,5 +1,5 @@
1 1
 #!/usr/bin/env bash
2 2
 
3 3
 for opt in "$@" ; do
4
-  eval "sed -i 's/\/\/[[:blank:]]*\(#define \b${opt}\b\)/\1/g' Marlin/Configuration_adv.h"
4
+  eval "sed -i 's/\/\/[[:blank:]]*\(#define \b${opt}\b\)/\1/g' Marlin/src/config/Configuration_adv.h"
5 5
 done

+ 1
- 1
buildroot/bin/opt_set View File

@@ -1,3 +1,3 @@
1 1
 #!/usr/bin/env bash
2 2
 
3
-eval "sed -i 's/\(#define \b${1}\b\).*$/\1 ${2}/g' Marlin/Configuration.h"
3
+eval "sed -i 's/\(#define \b${1}\b\).*$/\1 ${2}/g' Marlin/src/config/Configuration.h"

+ 1
- 1
buildroot/bin/opt_set_adv View File

@@ -1,3 +1,3 @@
1 1
 #!/usr/bin/env bash
2 2
 
3
-eval "sed -i 's/\(#define \b${1}\b\).*$/\1 ${2}/g' Marlin/Configuration_adv.h"
3
+eval "sed -i 's/\(#define \b${1}\b\).*$/\1 ${2}/g' Marlin/src/config/Configuration_adv.h"

+ 1
- 1
buildroot/bin/pins_set View File

@@ -1,3 +1,3 @@
1 1
 #!/usr/bin/env bash
2 2
 
3
-eval "sed -i 's/\(#define \b${2}\b\).*$/\1 ${3}/g' Marlin/pins_${1}.h"
3
+eval "sed -i 's/\(#define \b${2}\b\).*$/\1 ${3}/g' Marlin/src/pins/pins_${1}.h"

+ 5
- 5
buildroot/bin/restore_configs View File

@@ -1,9 +1,9 @@
1 1
 #!/usr/bin/env bash
2 2
 
3
-cp Marlin/Configuration.h.backup      Marlin/Configuration.h
4
-cp Marlin/Configuration_adv.h.backup  Marlin/Configuration_adv.h
5
-cp Marlin/pins_RAMPS.h.backup         Marlin/pins_RAMPS.h
3
+cp Marlin/src/config/Configuration.h.backup      Marlin/src/config/Configuration.h
4
+cp Marlin/src/config/Configuration_adv.h.backup  Marlin/src/config/Configuration_adv.h
5
+cp Marlin/src/pins/pins_RAMPS.h.backup        	 Marlin/src/pins/pins_RAMPS.h
6 6
 
7
-if [ -f Marlin/_Bootscreen.h ]; then
8
-  rm Marlin/_Bootscreen.h
7
+if [ -f Marlin/src/config/_Bootscreen.h ]; then
8
+  rm Marlin/src/config/_Bootscreen.h
9 9
 fi

+ 5
- 3
buildroot/bin/use_example_configs View File

@@ -1,7 +1,9 @@
1 1
 #!/usr/bin/env bash
2 2
 
3
-eval "cp Marlin/example_configurations/${1}/Configuration* Marlin/"
3
+restore_configs
4 4
 
5
-if [ -f "Marlin/example_configurations/${1}/_Bootscreen.h" ]; then
6
-  cp "Marlin/example_configurations/${1}/_Bootscreen.h" Marlin/
5
+eval "cp Marlin/src/config/examples/${1}/Configuration* Marlin/src/config/"
6
+
7
+if [ -f "Marlin/src/config/examples/${1}/_Bootscreen.h" ]; then
8
+  cp "Marlin/src/config/examples/${1}/_Bootscreen.h" Marlin/src/config/
7 9
 fi

+ 3
- 3
buildroot/share/cmake/CMakeLists.txt View File

@@ -93,11 +93,11 @@ setup_motherboard(${PROJECT_NAME} ${CMAKE_CURRENT_LIST_DIR}/../../../Marlin)
93 93
 
94 94
 #====================================================================#
95 95
 #  Setup all source files                                            #
96
-#  Incude Marlin.ino to compile libs not included in *.cpp files     #
96
+#  Include Marlin.ino to compile libs not included in *.cpp files    #
97 97
 #====================================================================#
98 98
 
99
-file(GLOB SOURCES "../../../Marlin/*.cpp")
100
-set(${PROJECT_NAME}_SRCS "${SOURCES};../../../Marlin/Marlin.ino")
99
+file(GLOB SOURCES "../../../src/*.cpp")
100
+set(${PROJECT_NAME}_SRCS "${SOURCES};../../../src/Marlin.ino")
101 101
 
102 102
 #====================================================================#
103 103
 #  Define the port for uploading code to the Arduino                 #

Loading…
Cancel
Save