I hope the title does not upset anyone, but I have spend way too much time trying to be able to do this. There are posts all over the place on issues regarding this, and steps to do them all vary. It would be much better if either Particle gave a sticky post on the proper way to do these step by step, providing all the links and even an example for say to compile a hello world example and flash a photon with it. - Sorry if I sound a bit pissy about it all, Its just that things should be made allot clearer, and why there is no single source install like Particle Dev to include all this I just don’t know.
When I try to follow the directions here:
There are few issues that are confusing (at least to me) on that page.
#1) GCC for ARM Cortex processors.
It says “The build requires version 4.9.3 20150529 or newer of ARM GCC…” When it tried the latest version I get a whole new set of errors. Which one is the right one to use ?
Go to the link provided and what exactly do you want me to download there? I count 7 things to download.
#3) Device Firmware Upgrade Utilities
What Am I downloading here, I got the DFU from searching in the forums here, but the doc should be updated with proper link.
clear direction here
clear direction here
#6 Command line tools
This one is really messed up. It says: “On Windows, you’ll need to install MinGW and have it in your path to make available some of the typical *nix command line tools.”
So what about a download link for it ? Ok, I’ll let Google be my guide, that takes me here:
Now what on this page should we get under the downloads section?
This further down on the guide, it says “The tool crc32 is also needed:” OK? so how and where do I get it?
If you say “•available in MinGW on Windows” then why mention it at all if its included in MinGW ?
So, there are some good posts about doing it different ways like this one here:
Toolchain for Windows Installer
I tried this years ago and it worked great, Thank you buy the way for offering such a nice thing to all of us. But the problem today is that it does not work with the latest version of ARM GCC, at least on my PC.
So, what I would like to do is make a video showing all the steps on a clean install of Win7 or 10 with all its updates,
But until I am able to get it all working I of course cannot do it. I want to make this as painless as possible for anyone who wants to do this.
P.S. to the writer/s of the instructions, please don’t take me as saying anything bad about it, lets just clear it up and help make it all better for people.