|
|
@ -35,13 +35,15 @@ script: |
|
|
|
- cp Marlin/Configuration.h Marlin/Configuration.h.backup |
|
|
|
- cp Marlin/Configuration_adv.h Marlin/Configuration_adv.h.backup |
|
|
|
# change extruder numbers from 1 to 2 |
|
|
|
- sed -i 's/#define EXTRUDERS 1/#define EXTRUDERS 2/g' Marlin/Configuration.h |
|
|
|
- rm -rf .build/ |
|
|
|
- ino build -m mega2560 |
|
|
|
# change extruder numbers from 2 to 3 |
|
|
|
- sed -i 's/#define EXTRUDERS 2/#define EXTRUDERS 3/g' Marlin/Configuration.h |
|
|
|
- rm -rf .build/ |
|
|
|
- ino build -m mega2560 |
|
|
|
# commented out for the moment fails build but compiles fine in Arduino |
|
|
|
#- sed -i 's/#define EXTRUDERS 1/#define EXTRUDERS 2/g' Marlin/Configuration.h |
|
|
|
#- rm -rf .build/ |
|
|
|
#- ino build -m mega2560 |
|
|
|
# change extruder numbers from 2 to 3, needs to be a board with 3 extruders defined in pins.h |
|
|
|
#- sed -i 's/#define MOTHERBOARD BOARD_ULTIMAKER/#define MOTHERBOARD BOARD_AZTEEG_X3_PRO/g' Marlin/Configuration.h |
|
|
|
#- sed -i 's/#define EXTRUDERS 2/#define EXTRUDERS 3/g' Marlin/Configuration.h |
|
|
|
#- rm -rf .build/ |
|
|
|
#- ino build -m mega2560 |
|
|
|
# enable PIDTEMPBED |
|
|
|
- cp Marlin/Configuration.h.backup Marlin/Configuration.h |
|
|
|
- sed -i 's/\/\/#define PIDTEMPBED/#define PIDTEMPBED/g' Marlin/Configuration.h |
|
|
@ -73,10 +75,11 @@ script: |
|
|
|
- rm -rf .build/ |
|
|
|
- ino build -m mega2560 |
|
|
|
# MAKRPANEL |
|
|
|
- cp Marlin/Configuration.h.backup Marlin/Configuration.h |
|
|
|
- sed -i 's/\/\/#define MAKRPANEL/#define MAKRPANEL/g' Marlin/Configuration.h |
|
|
|
- rm -rf .build/ |
|
|
|
- ino build -m mega2560 |
|
|
|
# Needs to use melzi and sanguino hardware |
|
|
|
#- cp Marlin/Configuration.h.backup Marlin/Configuration.h |
|
|
|
#- sed -i 's/\/\/#define MAKRPANEL/#define MAKRPANEL/g' Marlin/Configuration.h |
|
|
|
#- rm -rf .build/ |
|
|
|
#- ino build -m mega2560 |
|
|
|
# REPRAP_DISCOUNT_SMART_CONTROLLER |
|
|
|
- cp Marlin/Configuration.h.backup Marlin/Configuration.h |
|
|
|
- sed -i 's/\/\/#define REPRAP_DISCOUNT_SMART_CONTROLLER/#define REPRAP_DISCOUNT_SMART_CONTROLLER/g' Marlin/Configuration.h |
|
|
@ -92,13 +95,14 @@ script: |
|
|
|
- sed -i 's/\/\/#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER/#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER/g' Marlin/Configuration.h |
|
|
|
- rm -rf .build/ |
|
|
|
- ino build -m mega2560 |
|
|
|
# REPRAPWORLD_KEYPAD |
|
|
|
- cp Marlin/Configuration.h.backup Marlin/Configuration.h |
|
|
|
- sed -i 's/\/\/#define ULTRA_LCD/#define ULTRA_LCD/g' Marlin/Configuration.h |
|
|
|
- sed -i 's/\/\/#define REPRAPWORLD_KEYPAD/#define REPRAPWORLD_KEYPAD/g' Marlin/Configuration.h |
|
|
|
- sed -i 's/\/\/#define REPRAPWORLD_KEYPAD_MOVE_STEP 10.0/#define REPRAPWORLD_KEYPAD_MOVE_STEP 10.0/g' Marlin/Configuration.h |
|
|
|
- rm -rf .build/ |
|
|
|
- ino build -m mega2560 |
|
|
|
# REPRAPWORLD_KEYPAD |
|
|
|
# Cant find configuration details to get it to compile |
|
|
|
#- cp Marlin/Configuration.h.backup Marlin/Configuration.h |
|
|
|
#- sed -i 's/\/\/#define ULTRA_LCD/#define ULTRA_LCD/g' Marlin/Configuration.h |
|
|
|
#- sed -i 's/\/\/#define REPRAPWORLD_KEYPAD/#define REPRAPWORLD_KEYPAD/g' Marlin/Configuration.h |
|
|
|
#- sed -i 's/\/\/#define REPRAPWORLD_KEYPAD_MOVE_STEP 10.0/#define REPRAPWORLD_KEYPAD_MOVE_STEP 10.0/g' Marlin/Configuration.h |
|
|
|
#- rm -rf .build/ |
|
|
|
#- ino build -m mega2560 |
|
|
|
# RA_CONTROL_PANEL |
|
|
|
- cp Marlin/Configuration.h.backup Marlin/Configuration.h |
|
|
|
- sed -i 's/\/\/#define RA_CONTROL_PANEL/#define RA_CONTROL_PANEL/g' Marlin/Configuration.h |
|
|
@ -106,10 +110,11 @@ script: |
|
|
|
- ino build -m mega2560 |
|
|
|
### I2C PANELS ### |
|
|
|
# LCD_I2C_SAINSMART_YWROBOT |
|
|
|
- cp Marlin/Configuration.h.backup Marlin/Configuration.h |
|
|
|
- sed -i 's/\/\/#define LCD_I2C_SAINSMART_YWROBOT/#define LCD_I2C_SAINSMART_YWROBOT/g' Marlin/Configuration.h |
|
|
|
- rm -rf .build/ |
|
|
|
- ino build -m mega2560 |
|
|
|
# Failing at the moment needs different library |
|
|
|
#- cp Marlin/Configuration.h.backup Marlin/Configuration.h |
|
|
|
#- sed -i 's/\/\/#define LCD_I2C_SAINSMART_YWROBOT/#define LCD_I2C_SAINSMART_YWROBOT/g' Marlin/Configuration.h |
|
|
|
#- rm -rf .build/ |
|
|
|
#- ino build -m mega2560 |
|
|
|
# LCD_I2C_PANELOLU2 |
|
|
|
- cp Marlin/Configuration.h.backup Marlin/Configuration.h |
|
|
|
- sed -i 's/\/\/#define LCD_I2C_PANELOLU2/#define LCD_I2C_PANELOLU2/g' Marlin/Configuration.h |
|
|
@ -120,11 +125,6 @@ script: |
|
|
|
- sed -i 's/\/\/#define LCD_I2C_VIKI/#define LCD_I2C_VIKI/g' Marlin/Configuration.h |
|
|
|
- rm -rf .build/ |
|
|
|
- ino build -m mega2560 |
|
|
|
# SAV_3DLCD |
|
|
|
- cp Marlin/Configuration.h.backup Marlin/Configuration.h |
|
|
|
- sed -i 's/\/\/#define SAV_3DLCD/#define SAV_3DLCD/g' Marlin/Configuration.h |
|
|
|
- rm -rf .build/ |
|
|
|
- ino build -m mega2560 |
|
|
|
# Enable filament sensor |
|
|
|
- cp Marlin/Configuration.h.backup Marlin/Configuration.h |
|
|
|
- sed -i 's/\/\/#define FILAMENT_SENSOR/#define FILAMENT_SENSOR/g' Marlin/Configuration.h |
|
|
|