Browse Source

Make opt_set, opt_set_adv, pins_set also enable

pull/1/head
Scott Lahteine 6 years ago
parent
commit
71d06ef1b2
  1. 2
      buildroot/bin/opt_set
  2. 2
      buildroot/bin/opt_set_adv
  3. 2
      buildroot/bin/pins_set
  4. 2
      buildroot/share/tests/megaatmega2560_tests

2
buildroot/bin/opt_set

@ -2,4 +2,4 @@
SED=$(which gsed || which sed)
eval "${SED} -i 's/\(#define \b${1}\b\).*$/\1 ${2}/g' Marlin/Configuration.h"
eval "${SED} -E -i 's/(\/\/)?(#define \b${1}\b).*$/\2 ${2}/g' Marlin/Configuration.h"

2
buildroot/bin/opt_set_adv

@ -2,4 +2,4 @@
SED=$(which gsed || which sed)
eval "${SED} -i 's/\(#define \b${1}\b\).*$/\1 ${2}/g' Marlin/Configuration_adv.h"
eval "${SED} -E -i 's/(\/\/)?(#define \b${1}\b).*$/\2 ${2}/g' Marlin/Configuration_adv.h"

2
buildroot/bin/pins_set

@ -2,4 +2,4 @@
SED=$(which gsed || which sed)
eval "${SED} -i 's/\(#define \b${2}\b\).*$/\1 ${3}/g' Marlin/src/pins/pins_${1}.h"
eval "${SED} -E -i 's/(\/\/)?(#define \b${2}\b).*$/\2 ${3}/g' Marlin/src/pins/pins_${1}.h"

2
buildroot/share/tests/megaatmega2560_tests

@ -90,7 +90,7 @@ opt_enable ULTIMAKERCONTROLLER SDSUPPORT
opt_enable PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE PCA9632
opt_enable_adv BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS
opt_enable_adv ADVANCED_PAUSE_FEATURE ADVANCED_PAUSE_CONTINUOUS_PURGE FILAMENT_LOAD_UNLOAD_GCODES PARK_HEAD_ON_PAUSE LCD_INFO_MENU M114_DETAIL
opt_set_adv PWM_MOTOR_CURRENT {1300,1300,1250}
opt_set_adv PWM_MOTOR_CURRENT "{ 1300, 1300, 1250 }"
opt_set_adv I2C_SLAVE_ADDRESS 63
exec_test $1 $2 "MINIRAMBO for PWM_MOTOR_CURRENT etc"
#

Loading…
Cancel
Save