Browse Source

Add scripts for .travis.yml to append config options

Scott Lahteine 6 years ago
parent
commit
50f6c645de
3 changed files with 7 additions and 1 deletions
  1. 1
    1
      .travis.yml
  2. 3
    0
      buildroot/bin/opt_add
  3. 3
    0
      buildroot/bin/opt_add_adv

+ 1
- 1
.travis.yml View File

204
   - opt_set_adv I2C_SLAVE_ADDRESS 63
204
   - opt_set_adv I2C_SLAVE_ADDRESS 63
205
   - opt_enable_adv ADVANCED_PAUSE_FEATURE PARK_HEAD_ON_PAUSE LCD_INFO_MENU
205
   - opt_enable_adv ADVANCED_PAUSE_FEATURE PARK_HEAD_ON_PAUSE LCD_INFO_MENU
206
   - pins_set RAMPS X_MAX_PIN -1
206
   - pins_set RAMPS X_MAX_PIN -1
207
-  - opt_set_adv Z2_MAX_PIN 2
207
+  - opt_add_adv Z2_MAX_PIN 2
208
   - build_marlin
208
   - build_marlin
209
   #
209
   #
210
   # Enable COREXY
210
   # Enable COREXY

+ 3
- 0
buildroot/bin/opt_add View File

1
+#!/usr/bin/env bash
2
+
3
+eval "echo \"#define ${1} ${2}\" >>Marlin/Configuration.h"

+ 3
- 0
buildroot/bin/opt_add_adv View File

1
+#!/usr/bin/env bash
2
+
3
+eval "echo \"#define ${1} ${2}\" >>Marlin/Configuration_adv.h"

Loading…
Cancel
Save