Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c8e3f0c

Browse filesBrowse files
committed
Support Pi 4 on 64bit kernel
1 parent 5ad468f commit c8e3f0c
Copy full SHA for c8e3f0c

File tree

2 files changed

+3
-4
lines changed
Filter options

2 files changed

+3
-4
lines changed

‎.github/scripts/install-arduino-ide.sh

Copy file name to clipboard
100644100755
Expand all lines: .github/scripts/install-arduino-ide.sh
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if [[ "$OSTYPE" == "linux"* ]]; then
1212
OS_NAME="linux32"
1313
elif [[ "$OSBITS" == "x86_64" ]]; then
1414
OS_NAME="linux64"
15-
elif [[ "$OSBITS" == "armv7l" ]]; then
15+
elif [[ "$OSBITS" == "armv7l" || "$OSBITS" == "aarch64" ]]; then
1616
OS_NAME="linuxarm"
1717
else
1818
OS_NAME="$OSTYPE-$OSBITS"
@@ -214,4 +214,3 @@ function build_sketches() # build_sketches <fqbn> <examples-path> <chunk> <total
214214
done
215215
return 0
216216
}
217-

‎tools/get.py

Copy file name to clipboardExpand all lines: tools/get.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def get_tool(tool):
122122
f.write(r.content)
123123
f.close()
124124
else:
125-
is_ci = os.environ.get('TRAVIS_BUILD_DIR');
125+
is_ci = os.environ.get('GITHUB_WORKSPACE');
126126
if is_ci:
127127
download_file(url, local_path)
128128
else:
@@ -159,7 +159,7 @@ def identify_platform():
159159
sys_name = platform.system()
160160
sys_platform = platform.platform()
161161
print('System: %s, Info: %s' % (sys_name, sys_platform))
162-
if 'Linux' in sys_name and sys_platform.find('arm') > 0:
162+
if 'Linux' in sys_name and (sys_platform.find('arm') > 0 or sys_platform.find('aarch64')):
163163
sys_name = 'LinuxARM'
164164
if 'CYGWIN_NT' in sys_name:
165165
sys_name = 'Windows'

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.