Skip to content

Commit 41ce3a8

Browse files
committed
pretify some debug
1 parent 800358c commit 41ce3a8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/scripts/install-arduino-core-esp32.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if [ ! -d "$ARDUINO_ESP32_PATH" ]; then
1818
fi
1919

2020
cd esp32 && \
21-
echo "Updating submodules..." && \
21+
echo "Updating Submodules..." && \
2222
git submodule update --init --recursive > /dev/null 2>&1
2323
if [ $? -ne 0 ]; then echo "ERROR: Submodule update failed"; exit 1; fi
2424

@@ -32,7 +32,7 @@ if [ ! -d "$ARDUINO_ESP32_PATH" ]; then
3232
if [ $? -ne 0 ]; then echo "ERROR: Install failed"; exit 1; fi
3333
fi
3434

35-
echo "Downloading the tools and the toolchain..."
35+
echo "Installing Platform Tools..."
3636
cd tools && python get.py
3737
if [ $? -ne 0 ]; then echo "ERROR: Download failed"; exit 1; fi
3838
cd $script_init_path

tools/get.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,11 @@ def identify_platform():
153153
bits = 64
154154
sys_name = platform.system()
155155
sys_platform = platform.platform()
156-
print('System: %s, Info: %s' % (sys_name, sys_platform))
157156
if 'Linux' in sys_name and (sys_platform.find('arm') > 0 or sys_platform.find('aarch64') > 0):
158157
sys_name = 'LinuxARM'
159158
if 'CYGWIN_NT' in sys_name:
160159
sys_name = 'Windows'
160+
print('System: %s, Bits: %d, Info: %s' % (sys_name, bits, sys_platform))
161161
return arduino_platform_names[sys_name][bits]
162162

163163
if __name__ == '__main__':
@@ -167,4 +167,4 @@ def identify_platform():
167167
mkdir_p(dist_dir)
168168
for tool in tools_to_download:
169169
get_tool(tool)
170-
print('Done')
170+
print('Platform Tools Installed')

0 commit comments

Comments
 (0)