Browse Source

Support file updates

Scott Lahteine 7 years ago
parent
commit
65996e4235

+ 0
- 1
.gitattributes View File

17
 *.png binary
17
 *.png binary
18
 *.jpg binary
18
 *.jpg binary
19
 *.fon binary
19
 *.fon binary
20
-

+ 5
- 5
.gitignore View File

128
 *.sln
128
 *.sln
129
 *.vcxproj
129
 *.vcxproj
130
 *.vcxproj.filters
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
 #Visual Studio Code
136
 #Visual Studio Code
137
 .vscode
137
 .vscode
138
 
138
 
139
 #cmake
139
 #cmake
140
 CMakeLists.txt
140
 CMakeLists.txt
141
-Marlin/CMakeLists.txt
141
+src/CMakeLists.txt
142
 CMakeListsPrivate.txt
142
 CMakeListsPrivate.txt
143
 
143
 
144
 #CLion
144
 #CLion

+ 37
- 192
.travis.yml View File

10
 
10
 
11
 # Cache PlatformIO packages using Travis CI container-based infrastructure
11
 # Cache PlatformIO packages using Travis CI container-based infrastructure
12
 sudo: false
12
 sudo: false
13
-cache: 
13
+cache:
14
   pip: true
14
   pip: true
15
   directories:
15
   directories:
16
   - "~/.platformio"
16
   - "~/.platformio"
25
   #
25
   #
26
   # Publish the buildroot script folder
26
   # Publish the buildroot script folder
27
   - chmod +x ${TRAVIS_BUILD_DIR}/buildroot/bin/*
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
 install:
30
 install:
31
   - pip install -U platformio
31
   - pip install -U platformio
36
   - cd ${TRAVIS_BUILD_DIR}
36
   - cd ${TRAVIS_BUILD_DIR}
37
   #
37
   #
38
   # Generate custom version include
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
 script:
42
 script:
43
   #
43
   #
44
   # Backup Configuration.h, Configuration_adv.h, and pins_RAMPS.h
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
   # Build with the default configurations
50
   # Build with the default configurations
51
   #
51
   #
52
+  - restore_configs
52
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
53
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
53
   #
54
   #
54
   # Test 2 extruders (one MAX6675) and heated bed on basic RAMPS 1.4
55
   # Test 2 extruders (one MAX6675) and heated bed on basic RAMPS 1.4
60
   - opt_set TEMP_SENSOR_0 -2
61
   - opt_set TEMP_SENSOR_0 -2
61
   - opt_set TEMP_SENSOR_1 1
62
   - opt_set TEMP_SENSOR_1 1
62
   - opt_set TEMP_SENSOR_BED 1
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
   - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT EEPROM_SETTINGS
65
   - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT EEPROM_SETTINGS
65
   - opt_enable BLINKM PCA9632 RGB_LED NEOPIXEL_RGBW_LED
66
   - opt_enable BLINKM PCA9632 RGB_LED NEOPIXEL_RGBW_LED
66
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
67
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
68
   #
69
   #
69
   # ...with AUTO_BED_LEVELING_LINEAR, Z_MIN_PROBE_REPEATABILITY_TEST, and DEBUG_LEVELING_FEATURE
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
   - opt_enable_adv FWRETRACT MAX7219_DEBUG
73
   - opt_enable_adv FWRETRACT MAX7219_DEBUG
73
   - opt_set ABL_GRID_POINTS_X 16
74
   - opt_set ABL_GRID_POINTS_X 16
74
   - opt_set ABL_GRID_POINTS_Y 16
75
   - opt_set ABL_GRID_POINTS_Y 16
77
   # Test a simple build of AUTO_BED_LEVELING_UBL
78
   # Test a simple build of AUTO_BED_LEVELING_UBL
78
   #
79
   #
79
   - restore_configs
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
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
83
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
83
   #
84
   #
84
   # Test a Sled Z Probe
85
   # Test a Sled Z Probe
85
   # ...with AUTO_BED_LEVELING_LINEAR, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, and EEPROM_CHITCHAT
86
   # ...with AUTO_BED_LEVELING_LINEAR, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, and EEPROM_CHITCHAT
86
   #
87
   #
87
   - restore_configs
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
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
90
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
90
   #
91
   #
91
   # Test a Servo Probe
92
   # Test a Servo Probe
94
   - restore_configs
95
   - restore_configs
95
   - opt_enable NUM_SERVOS Z_ENDSTOP_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
96
   - opt_enable NUM_SERVOS Z_ENDSTOP_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
96
   - opt_set NUM_SERVOS 1
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
   - opt_enable_adv EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES AUTOTEMP G38_PROBE_TARGET
99
   - opt_enable_adv EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES AUTOTEMP G38_PROBE_TARGET
99
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
100
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
100
   #
101
   #
111
   - restore_configs
112
   - restore_configs
112
   - opt_set MOTHERBOARD BOARD_MINIRAMBO
113
   - opt_set MOTHERBOARD BOARD_MINIRAMBO
113
   - opt_enable PROBE_MANUALLY AUTO_BED_LEVELING_BILINEAR LCD_BED_LEVELING ULTIMAKERCONTROLLER
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
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
116
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
116
   #
117
   #
117
   # Test 5 extruders on AZTEEG_X3_PRO (can use any board with >=5 extruders defined)
118
   # Test 5 extruders on AZTEEG_X3_PRO (can use any board with >=5 extruders defined)
292
   #
293
   #
293
   # Delta Config (generic) + ABL bilinear + PROBE_MANUALLY
294
   # Delta Config (generic) + ABL bilinear + PROBE_MANUALLY
294
   - use_example_configs delta/generic
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
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
297
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
297
   #
298
   #
298
   # Delta Config (generic) + UBL + ALLEN_KEY + OLED_PANEL_TINYBOY2 + EEPROM_SETTINGS
299
   # Delta Config (generic) + UBL + ALLEN_KEY + OLED_PANEL_TINYBOY2 + EEPROM_SETTINGS
299
   #
300
   #
300
   - use_example_configs delta/generic
301
   - use_example_configs delta/generic
301
   - opt_disable DISABLE_MIN_ENDSTOPS
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
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
304
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
304
   #
305
   #
305
   # Delta Config (FLSUN AC because it's complex)
306
   # Delta Config (FLSUN AC because it's complex)
315
   # SCARA with TMC2130
316
   # SCARA with TMC2130
316
   #
317
   #
317
   - use_example_configs SCARA
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
   - opt_enable_adv HAVE_TMC2130 X_IS_TMC2130 Y_IS_TMC2130 Z_IS_TMC2130
320
   - opt_enable_adv HAVE_TMC2130 X_IS_TMC2130 Y_IS_TMC2130 Z_IS_TMC2130
320
   - opt_enable_adv AUTOMATIC_CURRENT_CONTROL STEALTHCHOP HYBRID_THRESHOLD SENSORLESS_HOMING
321
   - opt_enable_adv AUTOMATIC_CURRENT_CONTROL STEALTHCHOP HYBRID_THRESHOLD SENSORLESS_HOMING
321
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
322
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
334
   - export TEST_PLATFORM="-e teensy35"
335
   - export TEST_PLATFORM="-e teensy35"
335
   - restore_configs
336
   - restore_configs
336
   - opt_set MOTHERBOARD BOARD_TEENSY35_36
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
   # Test Teensy3.5 with default config
342
   # Test Teensy3.5 with default config
342
   #
343
   #
343
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
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
   - restore_configs
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
   - opt_set ABL_GRID_POINTS_X 16
359
   - opt_set ABL_GRID_POINTS_X 16
372
   - opt_set ABL_GRID_POINTS_Y 16
360
   - opt_set ABL_GRID_POINTS_Y 16
373
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
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
   - restore_configs
365
   - restore_configs
378
   - opt_enable Z_PROBE_SLED
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
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
368
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
385
   #
369
   #
386
   # Test a Servo Probe
370
   # Test a Servo Probe
387
   #
371
   #
388
   - restore_configs
372
   - restore_configs
389
   - opt_enable NUM_SERVOS Z_ENDSTOP_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
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
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
375
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
391
   #
376
   #
392
   # ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
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
   - opt_enable_adv EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES
380
   - opt_enable_adv EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES
396
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
381
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
397
   #
382
   #
401
   - opt_enable MESH_BED_LEVELING MESH_G28_REST_ORIGIN MANUAL_BED_LEVELING ULTIMAKERCONTROLLER
386
   - opt_enable MESH_BED_LEVELING MESH_G28_REST_ORIGIN MANUAL_BED_LEVELING ULTIMAKERCONTROLLER
402
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
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
   # Mixing Extruder
389
   # Mixing Extruder
413
   #
390
   #
414
   - restore_configs
391
   - restore_configs
423
   #- opt_set TEMP_SENSOR_1 1
400
   #- opt_set TEMP_SENSOR_1 1
424
   #- opt_enable USE_XMAX_PLUG
401
   #- opt_enable USE_XMAX_PLUG
425
   #- opt_enable_adv DUAL_X_CARRIAGE
402
   #- opt_enable_adv DUAL_X_CARRIAGE
426
-  #- build_marlin_teensy35
403
+  #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
427
   #
404
   #
428
   # Test SWITCHING_EXTRUDER
405
   # Test SWITCHING_EXTRUDER
429
   #
406
   #
435
   - opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
412
   - opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
436
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
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
   # Enable COREXY
415
   # Enable COREXY
464
   #
416
   #
465
   - restore_configs
417
   - restore_configs
479
   - pins_set RAMPS X_MAX_PIN -1
431
   - pins_set RAMPS X_MAX_PIN -1
480
   - opt_set_adv Z2_MAX_PIN 2
432
   - opt_set_adv Z2_MAX_PIN 2
481
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
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
 
12
 
13
 __Not for production use. Use with caution!__
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
 Download earlier versions of Marlin on the [Releases page](https://github.com/MarlinFirmware/Marlin/releases).
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
 ## Submitting Patches
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
 - This branch is for fixing bugs and integrating any new features for the duration of the Marlin 2.0.x life-cycle.
48
 - This branch is for fixing bugs and integrating any new features for the duration of the Marlin 2.0.x life-cycle.
29
 - Follow the [Coding Standards](http://marlinfw.org/docs/development/coding_standards.html) to gain points with the maintainers.
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
-#!/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
 #!/usr/bin/env bash
1
 #!/usr/bin/env bash
2
 
2
 
3
 for opt in "$@" ; do
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
 done
5
 done

+ 1
- 1
buildroot/bin/opt_disable_adv View File

1
 #!/usr/bin/env bash
1
 #!/usr/bin/env bash
2
 
2
 
3
 for opt in "$@" ; do
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
 done
5
 done

+ 1
- 1
buildroot/bin/opt_enable View File

1
 #!/usr/bin/env bash
1
 #!/usr/bin/env bash
2
 
2
 
3
 for opt in "$@" ; do
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
 done
5
 done

+ 1
- 1
buildroot/bin/opt_enable_adv View File

1
 #!/usr/bin/env bash
1
 #!/usr/bin/env bash
2
 
2
 
3
 for opt in "$@" ; do
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
 done
5
 done

+ 1
- 1
buildroot/bin/opt_set View File

1
 #!/usr/bin/env bash
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
 #!/usr/bin/env bash
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
 #!/usr/bin/env bash
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
 #!/usr/bin/env bash
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
 fi
9
 fi

+ 5
- 3
buildroot/bin/use_example_configs View File

1
 #!/usr/bin/env bash
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
 fi
9
 fi

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

93
 
93
 
94
 #====================================================================#
94
 #====================================================================#
95
 #  Setup all source files                                            #
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
 #  Define the port for uploading code to the Arduino                 #
103
 #  Define the port for uploading code to the Arduino                 #

Loading…
Cancel
Save