Переглянути джерело

✅ Update path to Ender-3 S1 configs

Scott Lahteine 3 роки тому
джерело
коміт
71368b5fa5

+ 4
- 3
buildroot/bin/use_example_configs Переглянути файл

13
 [[ $CURR == "bugfix-2.0.x" ]] && BRANCH=bugfix-2.0.x || BRANCH=bugfix-2.1.x
13
 [[ $CURR == "bugfix-2.0.x" ]] && BRANCH=bugfix-2.0.x || BRANCH=bugfix-2.1.x
14
 
14
 
15
 IFS=: read -r PART1 PART2 <<< "$@"
15
 IFS=: read -r PART1 PART2 <<< "$@"
16
-[[ -n $PART2 ]] && { REPO="$PART1" ; RDIR="${PART2// /%20}" ; } \
17
-                || { REPO=$BRANCH  ; RDIR="${PART1// /%20}" ; }
16
+[[ -n $PART2 ]] && { REPO="$PART1" ; UDIR="$PART2" ; } \
17
+                || { REPO=$BRANCH  ; UDIR="$PART1" ; }
18
 EXAMPLES="https://raw.githubusercontent.com/MarlinFirmware/Configurations/$REPO/config/examples"
18
 EXAMPLES="https://raw.githubusercontent.com/MarlinFirmware/Configurations/$REPO/config/examples"
19
 
19
 
20
 which curl >/dev/null && TOOL='curl -L -s -S -f -o wgot'
20
 which curl >/dev/null && TOOL='curl -L -s -S -f -o wgot'
24
 
24
 
25
 cd Marlin
25
 cd Marlin
26
 
26
 
27
-echo "Fetching $RDIR configurations from $REPO..."
27
+RDIR="${UDIR// /%20}"
28
+echo "Fetching $UDIR configurations from $REPO..."
28
 
29
 
29
 $TOOL "$EXAMPLES/$RDIR/Configuration.h"     >/dev/null 2>&1 && mv wgot Configuration.h
30
 $TOOL "$EXAMPLES/$RDIR/Configuration.h"     >/dev/null 2>&1 && mv wgot Configuration.h
30
 $TOOL "$EXAMPLES/$RDIR/Configuration_adv.h" >/dev/null 2>&1 && mv wgot Configuration_adv.h
31
 $TOOL "$EXAMPLES/$RDIR/Configuration_adv.h" >/dev/null 2>&1 && mv wgot Configuration_adv.h

+ 1
- 1
buildroot/tests/STM32F103RE_creality Переглянути файл

18
 opt_enable DWIN_CREALITY_LCD_JYERSUI AUTO_BED_LEVELING_BILINEAR PROBE_MANUALLY
18
 opt_enable DWIN_CREALITY_LCD_JYERSUI AUTO_BED_LEVELING_BILINEAR PROBE_MANUALLY
19
 exec_test $1 $2 "Ender 3 v2 with JyersUI" "$3"
19
 exec_test $1 $2 "Ender 3 v2 with JyersUI" "$3"
20
 
20
 
21
-use_example_configs "Creality/Ender-3 S1"
21
+use_example_configs "Creality/Ender-3 S1/STM32F4"
22
 opt_disable DWIN_CREALITY_LCD Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN AUTO_BED_LEVELING_BILINEAR CONFIGURATION_EMBEDDING CANCEL_OBJECTS FWRETRACT
22
 opt_disable DWIN_CREALITY_LCD Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN AUTO_BED_LEVELING_BILINEAR CONFIGURATION_EMBEDDING CANCEL_OBJECTS FWRETRACT
23
 opt_enable DWIN_LCD_PROUI INDIVIDUAL_AXIS_HOMING_SUBMENU LCD_SET_PROGRESS_MANUALLY STATUS_MESSAGE_SCROLLING \
23
 opt_enable DWIN_LCD_PROUI INDIVIDUAL_AXIS_HOMING_SUBMENU LCD_SET_PROGRESS_MANUALLY STATUS_MESSAGE_SCROLLING \
24
            SOUND_MENU_ITEM PRINTCOUNTER NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE FILAMENT_RUNOUT_SENSOR \
24
            SOUND_MENU_ITEM PRINTCOUNTER NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE FILAMENT_RUNOUT_SENSOR \

Завантаження…
Відмінити
Зберегти