Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
c8e3f0c7
Commit
c8e3f0c7
authored
Oct 01, 2019
by
me-no-dev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support Pi 4 on 64bit kernel
parent
5ad468f9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
.github/scripts/install-arduino-ide.sh
.github/scripts/install-arduino-ide.sh
+1
-2
tools/get.py
tools/get.py
+2
-2
No files found.
.github/scripts/install-arduino-ide.sh
100644 → 100755
View file @
c8e3f0c7
...
@@ -12,7 +12,7 @@ if [[ "$OSTYPE" == "linux"* ]]; then
...
@@ -12,7 +12,7 @@ if [[ "$OSTYPE" == "linux"* ]]; then
OS_NAME
=
"linux32"
OS_NAME
=
"linux32"
elif
[[
"
$OSBITS
"
==
"x86_64"
]]
;
then
elif
[[
"
$OSBITS
"
==
"x86_64"
]]
;
then
OS_NAME
=
"linux64"
OS_NAME
=
"linux64"
elif
[[
"
$OSBITS
"
==
"armv7l"
]]
;
then
elif
[[
"
$OSBITS
"
==
"armv7l"
||
"
$OSBITS
"
==
"aarch64"
]]
;
then
OS_NAME
=
"linuxarm"
OS_NAME
=
"linuxarm"
else
else
OS_NAME
=
"
$OSTYPE
-
$OSBITS
"
OS_NAME
=
"
$OSTYPE
-
$OSBITS
"
...
@@ -214,4 +214,3 @@ function build_sketches() # build_sketches <fqbn> <examples-path> <chunk> <total
...
@@ -214,4 +214,3 @@ function build_sketches() # build_sketches <fqbn> <examples-path> <chunk> <total
done
done
return
0
return
0
}
}
tools/get.py
View file @
c8e3f0c7
...
@@ -122,7 +122,7 @@ def get_tool(tool):
...
@@ -122,7 +122,7 @@ def get_tool(tool):
f
.
write
(
r
.
content
)
f
.
write
(
r
.
content
)
f
.
close
()
f
.
close
()
else
:
else
:
is_ci
=
os
.
environ
.
get
(
'
TRAVIS_BUILD_DIR
'
);
is_ci
=
os
.
environ
.
get
(
'
GITHUB_WORKSPACE
'
);
if
is_ci
:
if
is_ci
:
download_file
(
url
,
local_path
)
download_file
(
url
,
local_path
)
else
:
else
:
...
@@ -159,7 +159,7 @@ def identify_platform():
...
@@ -159,7 +159,7 @@ def identify_platform():
sys_name
=
platform
.
system
()
sys_name
=
platform
.
system
()
sys_platform
=
platform
.
platform
()
sys_platform
=
platform
.
platform
()
print
(
'System: %s, Info: %s'
%
(
sys_name
,
sys_platform
))
print
(
'System: %s, Info: %s'
%
(
sys_name
,
sys_platform
))
if
'Linux'
in
sys_name
and
sys_platform
.
find
(
'arm'
)
>
0
:
if
'Linux'
in
sys_name
and
(
sys_platform
.
find
(
'arm'
)
>
0
or
sys_platform
.
find
(
'aarch64'
))
:
sys_name
=
'LinuxARM'
sys_name
=
'LinuxARM'
if
'CYGWIN_NT'
in
sys_name
:
if
'CYGWIN_NT'
in
sys_name
:
sys_name
=
'Windows'
sys_name
=
'Windows'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment