浏览代码

✅ Update path to Ender-3 S1 configs

Scott Lahteine 2 年前
父节点
当前提交
71368b5fa5
共有 2 个文件被更改,包括 5 次插入4 次删除
  1. 4
    3
      buildroot/bin/use_example_configs
  2. 1
    1
      buildroot/tests/STM32F103RE_creality

+ 4
- 3
buildroot/bin/use_example_configs 查看文件

@@ -13,8 +13,8 @@ CURR=$(git branch 2>/dev/null | grep ^* | sed 's/\* //g')
13 13
 [[ $CURR == "bugfix-2.0.x" ]] && BRANCH=bugfix-2.0.x || BRANCH=bugfix-2.1.x
14 14
 
15 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 18
 EXAMPLES="https://raw.githubusercontent.com/MarlinFirmware/Configurations/$REPO/config/examples"
19 19
 
20 20
 which curl >/dev/null && TOOL='curl -L -s -S -f -o wgot'
@@ -24,7 +24,8 @@ restore_configs
24 24
 
25 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 30
 $TOOL "$EXAMPLES/$RDIR/Configuration.h"     >/dev/null 2>&1 && mv wgot Configuration.h
30 31
 $TOOL "$EXAMPLES/$RDIR/Configuration_adv.h" >/dev/null 2>&1 && mv wgot Configuration_adv.h

+ 1
- 1
buildroot/tests/STM32F103RE_creality 查看文件

@@ -18,7 +18,7 @@ opt_disable DWIN_CREALITY_LCD
18 18
 opt_enable DWIN_CREALITY_LCD_JYERSUI AUTO_BED_LEVELING_BILINEAR PROBE_MANUALLY
19 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 22
 opt_disable DWIN_CREALITY_LCD Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN AUTO_BED_LEVELING_BILINEAR CONFIGURATION_EMBEDDING CANCEL_OBJECTS FWRETRACT
23 23
 opt_enable DWIN_LCD_PROUI INDIVIDUAL_AXIS_HOMING_SUBMENU LCD_SET_PROGRESS_MANUALLY STATUS_MESSAGE_SCROLLING \
24 24
            SOUND_MENU_ITEM PRINTCOUNTER NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE FILAMENT_RUNOUT_SENSOR \

正在加载...
取消
保存