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-pico
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-pico
Commits
f1170e9d
Unverified
Commit
f1170e9d
authored
Jan 31, 2024
by
Earle F. Philhower, III
Committed by
GitHub
Jan 31, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Apple M1 installation, add to CI (#1975)
parent
1bf41bcc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
12 deletions
+18
-12
.github/workflows/pull-request.yml
.github/workflows/pull-request.yml
+5
-1
package/package_pico_index.template.json
package/package_pico_index.template.json
+13
-6
tests/common.sh
tests/common.sh
+0
-5
No files found.
.github/workflows/pull-request.yml
View file @
f1170e9d
...
@@ -144,7 +144,10 @@ jobs:
...
@@ -144,7 +144,10 @@ jobs:
# Single build under macOS to ensure the Mac toolchain is good.
# Single build under macOS to ensure the Mac toolchain is good.
build-mac
:
build-mac
:
name
:
Mac
name
:
Mac
runs-on
:
macOS-12
strategy
:
matrix
:
os
:
[
macOS-12
,
macOS-14
]
runs-on
:
${{ matrix.os }}
steps
:
steps
:
-
uses
:
actions/checkout@v3
-
uses
:
actions/checkout@v3
with
:
with
:
...
@@ -165,6 +168,7 @@ jobs:
...
@@ -165,6 +168,7 @@ jobs:
mod
:
500
mod
:
500
rem
:
1
rem
:
1
run
:
|
run
:
|
uname -a
cd pico-sdk
cd pico-sdk
git submodule update --init
git submodule update --init
cd ..
cd ..
...
...
package/package_pico_index.template.json
View file @
f1170e9d
...
@@ -285,7 +285,7 @@
...
@@ -285,7 +285,7 @@
"name"
:
"pqt-picotool"
,
"name"
:
"pqt-picotool"
,
"systems"
:
[
"systems"
:
[
{
{
"host"
:
"a
arch
64-apple-darwin"
,
"host"
:
"a
rm
64-apple-darwin"
,
"url"
:
"https://github.com/earlephilhower/pico-quick-toolchain/releases/download/2.2.0/aarch64-apple-darwin20.4.picotool-f6fe6b7.240127.tar.gz"
,
"url"
:
"https://github.com/earlephilhower/pico-quick-toolchain/releases/download/2.2.0/aarch64-apple-darwin20.4.picotool-f6fe6b7.240127.tar.gz"
,
"archiveFileName"
:
"aarch64-apple-darwin20.4.picotool-f6fe6b7.240127.tar.gz"
,
"archiveFileName"
:
"aarch64-apple-darwin20.4.picotool-f6fe6b7.240127.tar.gz"
,
"checksum"
:
"SHA-256:40a07809925f642be73d221898dea76fb1e79556c2c5adff9e59c998b1416019"
,
"checksum"
:
"SHA-256:40a07809925f642be73d221898dea76fb1e79556c2c5adff9e59c998b1416019"
,
...
@@ -347,7 +347,7 @@
...
@@ -347,7 +347,7 @@
"name"
:
"pqt-openocd"
,
"name"
:
"pqt-openocd"
,
"systems"
:
[
"systems"
:
[
{
{
"host"
:
"a
arch
64-apple-darwin"
,
"host"
:
"a
rm
64-apple-darwin"
,
"url"
:
"https://github.com/earlephilhower/pico-quick-toolchain/releases/download/2.2.0/aarch64-apple-darwin20.4.openocd-4d87f6dca.240127.tar.gz"
,
"url"
:
"https://github.com/earlephilhower/pico-quick-toolchain/releases/download/2.2.0/aarch64-apple-darwin20.4.openocd-4d87f6dca.240127.tar.gz"
,
"archiveFileName"
:
"aarch64-apple-darwin20.4.openocd-4d87f6dca.240127.tar.gz"
,
"archiveFileName"
:
"aarch64-apple-darwin20.4.openocd-4d87f6dca.240127.tar.gz"
,
"checksum"
:
"SHA-256:548c6f6c84bde688b54b5014f99e15490d2afc50c4f3e777015583f12efab5de"
,
"checksum"
:
"SHA-256:548c6f6c84bde688b54b5014f99e15490d2afc50c4f3e777015583f12efab5de"
,
...
@@ -457,6 +457,13 @@
...
@@ -457,6 +457,13 @@
"checksum"
:
"SHA-256:01a5bf1fa264c6f04cfaadf4c6e9f6caaacb6833ef40104dfbe953fcdb9bca1c"
,
"checksum"
:
"SHA-256:01a5bf1fa264c6f04cfaadf4c6e9f6caaacb6833ef40104dfbe953fcdb9bca1c"
,
"size"
:
"25494144"
"size"
:
"25494144"
},
},
{
"host"
:
"arm64-apple-darwin"
,
"url"
:
"https://github.com/earlephilhower/pico-quick-toolchain/releases/download/1.0.1-base/python3-macosx-portable.tar.gz"
,
"archiveFileName"
:
"python3-macosx-portable.tar.gz"
,
"checksum"
:
"SHA-256:01a5bf1fa264c6f04cfaadf4c6e9f6caaacb6833ef40104dfbe953fcdb9bca1c"
,
"size"
:
"25494144"
},
{
{
"host"
:
"x86_64-pc-linux-gnu"
,
"host"
:
"x86_64-pc-linux-gnu"
,
"url"
:
"https://github.com/earlephilhower/pico-quick-toolchain/releases/download/1.0.1-base/python3-via-env.tar.gz"
,
"url"
:
"https://github.com/earlephilhower/pico-quick-toolchain/releases/download/1.0.1-base/python3-via-env.tar.gz"
,
...
@@ -471,7 +478,7 @@
...
@@ -471,7 +478,7 @@
"name"
:
"pqt-gcc"
,
"name"
:
"pqt-gcc"
,
"systems"
:
[
"systems"
:
[
{
{
"host"
:
"a
arch
64-apple-darwin"
,
"host"
:
"a
rm
64-apple-darwin"
,
"url"
:
"https://github.com/earlephilhower/pico-quick-toolchain/releases/download/2.2.0/aarch64-apple-darwin20.4.arm-none-eabi-d04e724.240127.tar.gz"
,
"url"
:
"https://github.com/earlephilhower/pico-quick-toolchain/releases/download/2.2.0/aarch64-apple-darwin20.4.arm-none-eabi-d04e724.240127.tar.gz"
,
"archiveFileName"
:
"aarch64-apple-darwin20.4.arm-none-eabi-d04e724.240127.tar.gz"
,
"archiveFileName"
:
"aarch64-apple-darwin20.4.arm-none-eabi-d04e724.240127.tar.gz"
,
"checksum"
:
"SHA-256:f70431e62a1d64b43d8730911be6b6f18ece3b91a216ce6c40d5318ad263756f"
,
"checksum"
:
"SHA-256:f70431e62a1d64b43d8730911be6b6f18ece3b91a216ce6c40d5318ad263756f"
,
...
@@ -533,7 +540,7 @@
...
@@ -533,7 +540,7 @@
"name"
:
"pqt-elf2uf2"
,
"name"
:
"pqt-elf2uf2"
,
"systems"
:
[
"systems"
:
[
{
{
"host"
:
"a
arch
64-apple-darwin"
,
"host"
:
"a
rm
64-apple-darwin"
,
"url"
:
"https://github.com/earlephilhower/pico-quick-toolchain/releases/download/2.2.0/aarch64-apple-darwin20.4.elf2uf2-6a7db34.240127.tar.gz"
,
"url"
:
"https://github.com/earlephilhower/pico-quick-toolchain/releases/download/2.2.0/aarch64-apple-darwin20.4.elf2uf2-6a7db34.240127.tar.gz"
,
"archiveFileName"
:
"aarch64-apple-darwin20.4.elf2uf2-6a7db34.240127.tar.gz"
,
"archiveFileName"
:
"aarch64-apple-darwin20.4.elf2uf2-6a7db34.240127.tar.gz"
,
"checksum"
:
"SHA-256:3fb12aa0d39bb03520a46ff5e3d0dbd0eb0df31843056f5dcd8b6fffa1d7ff86"
,
"checksum"
:
"SHA-256:3fb12aa0d39bb03520a46ff5e3d0dbd0eb0df31843056f5dcd8b6fffa1d7ff86"
,
...
@@ -595,7 +602,7 @@
...
@@ -595,7 +602,7 @@
"name"
:
"pqt-pioasm"
,
"name"
:
"pqt-pioasm"
,
"systems"
:
[
"systems"
:
[
{
{
"host"
:
"a
arch
64-apple-darwin"
,
"host"
:
"a
rm
64-apple-darwin"
,
"url"
:
"https://github.com/earlephilhower/pico-quick-toolchain/releases/download/2.2.0/aarch64-apple-darwin20.4.pioasm-6a7db34.240127.tar.gz"
,
"url"
:
"https://github.com/earlephilhower/pico-quick-toolchain/releases/download/2.2.0/aarch64-apple-darwin20.4.pioasm-6a7db34.240127.tar.gz"
,
"archiveFileName"
:
"aarch64-apple-darwin20.4.pioasm-6a7db34.240127.tar.gz"
,
"archiveFileName"
:
"aarch64-apple-darwin20.4.pioasm-6a7db34.240127.tar.gz"
,
"checksum"
:
"SHA-256:b325fdf8c2e7712e821049c68fc29dfac80bc492fb03c0fb3597de272ff42deb"
,
"checksum"
:
"SHA-256:b325fdf8c2e7712e821049c68fc29dfac80bc492fb03c0fb3597de272ff42deb"
,
...
@@ -657,7 +664,7 @@
...
@@ -657,7 +664,7 @@
"name"
:
"pqt-mklittlefs"
,
"name"
:
"pqt-mklittlefs"
,
"systems"
:
[
"systems"
:
[
{
{
"host"
:
"a
arch
64-apple-darwin"
,
"host"
:
"a
rm
64-apple-darwin"
,
"url"
:
"https://github.com/earlephilhower/pico-quick-toolchain/releases/download/2.2.0/aarch64-apple-darwin20.4.mklittlefs-6e2fa17.240127.tar.gz"
,
"url"
:
"https://github.com/earlephilhower/pico-quick-toolchain/releases/download/2.2.0/aarch64-apple-darwin20.4.mklittlefs-6e2fa17.240127.tar.gz"
,
"archiveFileName"
:
"aarch64-apple-darwin20.4.mklittlefs-6e2fa17.240127.tar.gz"
,
"archiveFileName"
:
"aarch64-apple-darwin20.4.mklittlefs-6e2fa17.240127.tar.gz"
,
"checksum"
:
"SHA-256:ad46da0560569a97edd11490829479e70aa3c53b4525c5a8f6ae154f2d41c0bb"
,
"checksum"
:
"SHA-256:ad46da0560569a97edd11490829479e70aa3c53b4525c5a8f6ae154f2d41c0bb"
,
...
...
tests/common.sh
View file @
f1170e9d
...
@@ -178,11 +178,6 @@ function install_ide()
...
@@ -178,11 +178,6 @@ function install_ide()
unzip
-q
${
core_path
}
/tools/dist/arduino-windows.zip
unzip
-q
${
core_path
}
/tools/dist/arduino-windows.zip
mv
arduino-
${
idever
}
arduino-distrib
mv
arduino-
${
idever
}
arduino-distrib
elif
[
"
$MACOSX
"
=
"1"
]
;
then
elif
[
"
$MACOSX
"
=
"1"
]
;
then
# MACOS only has next-to-obsolete Python2 installed. Install Python 3 from python.org
wget
-q
https://www.python.org/ftp/python/3.7.4/python-3.7.4-macosx10.9.pkg
sudo
installer
-pkg
python-3.7.4-macosx10.9.pkg
-target
/
# Install the Python3 certificates, because SSL connections fail w/o them and of course they aren't installed by default.
(
cd
"/Applications/Python 3.7/"
&&
sudo
"./Install Certificates.command"
)
# Hack to place arduino-builder in the same spot as sane OSes
# Hack to place arduino-builder in the same spot as sane OSes
test
-r
${
core_path
}
/tools/dist/arduino-macos.zip
||
wget
-q
-O
${
core_path
}
/tools/dist/arduino-macos.zip
"
${
ideurl
}
-macosx.zip"
test
-r
${
core_path
}
/tools/dist/arduino-macos.zip
||
wget
-q
-O
${
core_path
}
/tools/dist/arduino-macos.zip
"
${
ideurl
}
-macosx.zip"
unzip
-q
${
core_path
}
/tools/dist/arduino-macos.zip
unzip
-q
${
core_path
}
/tools/dist/arduino-macos.zip
...
...
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