Intro
A shout out to the youngman @nrobinson2000 who designed po-util. I have taught computer programming for 30 years and I have only taught 2 students that are of similar capability.
Any tech company should start paying this University student now, in the hope that he helps you later when you need it, as some big company is going to grab him Nathan he graduates in a few years.
Why po-util
Short answer: Because nothing else works for me.
Long answer: It is really hard to install things at school and to get students to install things on their home computers. (Even on my teacher laptop I have to ask the tech department to install software and they might get to it sometime that term.)
Teaching how to use software like Eclipse or Visual Studio takes an entire term and then there isn’t much time left to teach the course.
I prefer Cloud solutions since the students can work the same at school as at home. I am having some issues installing po-util on a few of my computers, but it is working great on my pro-account for Cloud9 (My Profession Development account will not pay for computers but it will pay for my cloud yearly fees, about $200 )
Why a local build (When I say local build I really mean full control of what you are putting on your purchased firmware.)
I want to be able to use and teach all the OpenThread abilities, not just the ones allowed by the Particle Cloud
my po-util install
curl -V
node -v
npm -v
git --version
If any of these command die, then install the software with the following po-util will try to install them but if the installation dies if does not necessarily tell you about the issue
This is my full installation and setup list:
For cloud9 Pro you would need to also do this
sudo rm -rf /.dockerenv
sudo rm -rf ~/.nvm
Normally on linux do not do the above 2 commands
For the normal ubuntu installation do the following.
Updated as of Jan 10th, 2019 version 0.6.6 or po-util
sudo apt install curl
bash <(curl -sL get.po-util.com)
po init argon myProjectName
cd myProjectName
## monolithic Build of Mesh Devices (full load of firmware to device)
po config mesh-develop
po setup-mesh
MODULAR=n po argon build
## normal building of Mesh Devices
## po config v0.8.0-rc.27
## po argon build
particle cloud login
## enter your particle userName then password
## see if your Argon is flashing cyan and online
particle list
## flash your code to the Argon over the air
po argon ota myArgonName
## actually nowI am preferring to use DFU mode since it acknowledges success
## on cloud9 I download the .bin and then use particle-cli to do the command
## on a local machine just run this
## dfu mode flashing yellow hold mode button tap reset about 5 seconds past flashing purple safe mode.
particle flash --usb myArgonName.firmware.bin
I need to test the above but that is what I remember