Browse Source

Add scripts for .travis.yml to append config options

Scott Lahteine 7 years ago
parent
commit
7465ede058
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

182
   - opt_set_adv I2C_SLAVE_ADDRESS 63
182
   - opt_set_adv I2C_SLAVE_ADDRESS 63
183
   - opt_enable_adv ADVANCED_PAUSE_FEATURE PARK_HEAD_ON_PAUSE LCD_INFO_MENU
183
   - opt_enable_adv ADVANCED_PAUSE_FEATURE PARK_HEAD_ON_PAUSE LCD_INFO_MENU
184
   - pins_set RAMPS X_MAX_PIN -1
184
   - pins_set RAMPS X_MAX_PIN -1
185
-  - opt_set_adv Z2_MAX_PIN 2
185
+  - opt_add_adv Z2_MAX_PIN 2
186
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
186
   - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
187
   #
187
   #
188
   # Enable COREXY
188
   # 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