Skip to content

Commit 9ea537f

Browse files
authored
no full clone of hosted mcu repo
1 parent d2967a6 commit 9ea537f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/compile_slave.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ source ./tools/install-esp-idf.sh
1212
if [ $? -ne 0 ]; then exit 1; fi
1313

1414
# use fork until upstream bugs are fixed
15-
git clone https://github.com/Jason2866/esp-hosted-mcu.git
16-
cd esp-hosted-mcu/slave
15+
git clone --depth 1 https://github.com/Jason2866/esp-hosted-mcu.git || {
16+
echo "Failed to clone esp-hosted-mcu"; exit 1; }
17+
cd esp-hosted-mcu/slave || exit 1
1718
mkdir wifi_copro_fw
1819

1920
slave_targets=(

0 commit comments

Comments
 (0)