Browse Source

Add scripts for .travis.yml to append config options

pull/1/head
Scott Lahteine 7 years ago
parent
commit
7465ede058
  1. 2
      .travis.yml
  2. 3
      buildroot/bin/opt_add
  3. 3
      buildroot/bin/opt_add_adv

2
.travis.yml

@ -182,7 +182,7 @@ script:
- opt_set_adv I2C_SLAVE_ADDRESS 63
- opt_enable_adv ADVANCED_PAUSE_FEATURE PARK_HEAD_ON_PAUSE LCD_INFO_MENU
- pins_set RAMPS X_MAX_PIN -1
- opt_set_adv Z2_MAX_PIN 2
- opt_add_adv Z2_MAX_PIN 2
- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
#
# Enable COREXY

3
buildroot/bin/opt_add

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

3
buildroot/bin/opt_add_adv

@ -0,0 +1,3 @@
#!/usr/bin/env bash
eval "echo \"#define ${1} ${2}\" >>Marlin/Configuration_adv.h"
Loading…
Cancel
Save