Add scripts for .travis.yml to append config options
This commit is contained in:
parent
e04425281d
commit
7465ede058
3 changed files with 7 additions and 1 deletions
|
@ -182,7 +182,7 @@ script:
|
||||||
- opt_set_adv I2C_SLAVE_ADDRESS 63
|
- opt_set_adv I2C_SLAVE_ADDRESS 63
|
||||||
- opt_enable_adv ADVANCED_PAUSE_FEATURE PARK_HEAD_ON_PAUSE LCD_INFO_MENU
|
- opt_enable_adv ADVANCED_PAUSE_FEATURE PARK_HEAD_ON_PAUSE LCD_INFO_MENU
|
||||||
- pins_set RAMPS X_MAX_PIN -1
|
- 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}
|
- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
||||||
#
|
#
|
||||||
# Enable COREXY
|
# Enable COREXY
|
||||||
|
|
3
buildroot/bin/opt_add
Executable file
3
buildroot/bin/opt_add
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
eval "echo \"#define ${1} ${2}\" >>Marlin/Configuration.h"
|
3
buildroot/bin/opt_add_adv
Executable file
3
buildroot/bin/opt_add_adv
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
eval "echo \"#define ${1} ${2}\" >>Marlin/Configuration_adv.h"
|
Reference in a new issue