In March I installed with that command line. No issue
~$ pio platform install file://wizio-pico-main.zip
Platform Manager: Installing file://wizio-pico-main.zip
Unpacking [####################################] 100%
Platform Manager: wizio-pico @ 1.0.9 has been installed!
Tool Manager: Installing git+https://github.com/Wiz-IO/framework-wizio-pico.git
git version 2.30.2
Klone nach ‘/home/kalle/.platformio/.cache/tmp/pkg-installing-heub_0v9’ …
remote: Enumerating objects: 1065, done.
remote: Counting objects: 100% (1065/1065), done.
remote: Compressing objects: 100% (799/799), done.
remote: Total 1065 (delta 226), reused 926 (delta 210), pack-reused 0
Empfange Objekte: 100% (1065/1065), 2.81 MiB | 6.37 MiB/s, fertig.
Löse Unterschiede auf: 100% (226/226), fertig.
Tool Manager: framework-wizio-pico @ 1.0.9+sha.6205459 has been installed!
Tool Manager: Installing platformio/toolchain-gccarmnoneeabi @ ~1.70201.0
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: toolchain-gccarmnoneeabi @ 1.70201.0 has been installed!
Tool Manager: Installing git+https://github.com/Wiz-IO/tool-wizio-pico.git
git version 2.30.2
Klone nach ‘/home/kalle/.platformio/.cache/tmp/pkg-installing-31u5z8v_’ …
remote: Enumerating objects: 20, done.
remote: Counting objects: 100% (20/20), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 20 (delta 0), reused 2 (delta 0), pack-reused 0
Empfange Objekte: 100% (20/20), 1.21 MiB | 5.29 MiB/s, fertig.
Tool Manager: tool-wizio-pico @ 1.0.0+sha.3a504e1 has been installed!
The platform ‘file://wizio-pico-main.zip’ has been successfully installed!
The rest of the packages will be installed later depending on your build environment.
8 month later trying to install on a fresh Linux machine, I am stuck …
~$ pio pkg install https://github.com/Wiz-IO/wizio-pico
Usage: pio pkg install [OPTIONS]
Try 'pio pkg install -h' for help.
Error: Got unexpected extra argument (https://github.com/Wiz-IO/wizio-pico)
~$ pio pkg install file://wizio-pico-main.zip
Usage: pio pkg install [OPTIONS]
Try 'pio pkg install -h' for help.
Error: Got unexpected extra argument (file://wizio-pico-main.zip)
Thx - KH
pio platform install XYZ
is equivalent to pio pkg install -g -p XYZ
. You’re missing the ‘global’ and ‘platform’ flag.
1 Like
This here
~$ pio pkg install -g -p file://wizio-pico-main.zip
Platform Manager: Installing file://wizio-pico-main.zip
Unpacking [####################################] 100%
Platform Manager: wizio-pico@1.1.1 has been installed!
Tool Manager: Installing git+link
Error: Please install Git client from link
creates a new folder ~$ .platformio/platforms/wizio-pico/
but the rest is missing.
With
~$ pio pkg install -g -p link
Platform Manager: Installing git+link
Error: Please install Git client from link
I also see that ERROR message.
And trying to
~/Anwendungen/platformio_projects/oXs_on_RP2040-main$ pio run
Processing raspberry-mstrens (platform: wizio-pico; board: raspberry-pi-pico; framework: baremetal)
--------------------------------------------------------------------------------
Tool Manager: Installing git+*link*
Error: Please install Git client from *link*
I don’t get it working …
br KH
PS. Had to remove the links, this board tells me.
WizIO
November 28, 2022, 5:46pm
#4
},
"boot2": {
"package": "framework-wizio-pico",
"script": "builder/frameworks/boot2.py"
}
},
"packages": {
"framework-wizio-pico": {
"type": "framework",
"version": "https://github.com/Wiz-IO/framework-wizio-pico.git"
},
"toolchain-gccarmnoneeabi": {
"owner": "platformio",
"type": "toolchain",
"version": "~1.70201.0"
},
"tool-wizio-pico": {
"type": "uploader",
"version": "https://github.com/Wiz-IO/tool-wizio-pico.git"
},
change version to version from package.json
{
"name": "framework-wizio-pico",
"description": "Framework for Raspberry Pi Pico 2021 Georgi Angelov",
"url": "https://github.com/Wiz-IO/framework-wizio-pico",
"system": "*",
"version": "1.1.1"
}
Hope, I understood …
Unpacked ‘wizio-pico-main.zip’
Modified ‘package.json’. Changed the two marked lines
version “GitHub - Wiz-IO/tool-wizio-pico ” to “1.1.1”
Repacked wizio-pico-main.zip
~$ pio pkg install -g -p file://wizio-pico-main.zip
Platform Manager: Installing file://wizio-pico-main.zip
Unpacking [####################################] 100%
Platform Manager: wizio-pico@1.1.1 has been installed!
Tool Manager: Installing framework-wizio-pico @ 1.1.1
Error: Could not find the package with ‘framework-wizio-pico @ 1.1.1’ requirements for your system ‘linux_x86_64’
br - KH
That won’t work because the framework-wizio-pico is not listed in the registry .
Just install git through your packet manager, you’ll need many times as a developer. E.g., on debian-derived distributions, execute sudo apt install git
.
Then the original
pio pkg install -g -p https://github.com/Wiz-IO/wizio-pico.git
should go through without problems. I would not recommend to mess around with the platform.json
to try and redirect some packages to local files, install everything as originally intended.
Max, that did it!
The installation, I did in March, was on my Debian host, where ‘git’ was installed before, but this try was on a fresh Debian guest in a VM. Installing ‘git’ there did it!
Thx a lot and br - KH
WizIO
November 29, 2022, 6:55am
#8
if compiler is installed
download 4 platform gits and unzip it
(.platformio/platforms)
(.platformio/packages)
and edit versions from .platformio/platforms/wizio-pico/platform.json
"packages": {
"framework-wizio-pico": {
"type": "framework",
"Xversion": "https://github.com/Wiz-IO/framework-wizio-pico.git",
"version":"1.1.1"
},
"toolchain-gccarmnoneeabi": {
"owner": "platformio",
"type": "toolchain",
"version": "~1.70201.0"
},
"tool-wizio-pico": {
"type": "uploader",
"Xversion": "https://github.com/Wiz-IO/tool-wizio-pico.git",
"version":"1.0.0"
},
"tool-pico-openocd": {
"optional": true,
"type": "debugger",
"Xversion": "https://github.com/Wiz-IO/tool-pico-openocd",
"version":"0.10.0"
}