I see the desktop IDE, but its not truly offline, “yet”. Does that mean it is actually in the works to go offline?
And yes I see there is the toolchain that can be installed by my understanding is that is completely CLI based. I prefer GUI as I get easily lost in CLI beyond scripting.
What I’m getting at, is before I purchase and support Particle I want to know if a truly offline solution is being worked on that works seamlessly as the cloud stuff advertises.
Yeah there is an option to use netbeans. its totally offline and i use it to develop when i have no internet for weeks at sea.
search the forums there is an old video for setting it up for the core, and i think someone wrote a little utility to set up all the particle goodness including netbeans, set up for both photon and core.
Well I spent several hours tuesday night trying to follow this and get it to work
After solving a bunch of path issues and installing VS2010 Express... I still can't get the node.js modules to install (particle-cli and the server one).
So with that toolchain I can compile the code but then I need to run my own cloud to send it to the photon? And that would be all CLI based at that point?
Is there somewhere that development on Particle Dev (for offline development) is being tracked? I want to be able to compile and flash the unit wireless from a nice interface.
You can download all the source files and use gcc to compile your code locally, and dfu-util to program your device over USB.
You need a connection to manage your devices’ behaviour with the particle servers, but you can develop totally offline.
I've looked over the second link your provided, but I can't see an explicit statement about offline compiling - although offline development might suggest that (unfortunately).
Yes the wording on that page is very confusing and misleading.
Are there any efforts being made to make particle usable truly offline? Or should I be selling my particles?
Other cloud solutions I use have options to use 100% offline. ex. Bitdefender security software gives you a VM image to run their cloud stuff locally. I don’t understand why particle refuses to do something similar.
You mention offline compilation above and then talk about other cloud solutions. These are two different things. You can run a local cloud on your own computer–this has been available for quite some time. It is not the same as the commercial cloud, but still works great. https://docs.particle.io/guide/getting-started/contributing/photon/#local-cloud
Offline compilation has also always been available, it is just an advanced maneuver since you need to download and setup the ARM gcc toolchain. Many of us use this flow all the time (although I find the web IDE “build” to be fast and convenient). If you are a Windows user, it will be more difficult since the gcc based tools assume a Linux-like environment, but you can provide such an environment without too much extra work. Linux and Mac development are both dead simple to set up.
You mention the web IDE is fast and convenient, and that’s just the thing; the other solutions you mention are not fast and convenient. In fact they are quite the opposite. To my knowledge the local cloud is all CLI based and flashing to the devices is done solely via USB. Further, like you mentioned, getting the offline compilation working under windows is more difficult to the point I have yet to be able to get it to work.
I talk about other cloud solutions in that they can be run 100% locally. Bitdefender as the example I download the VM image and start it up in the hypervisor of my choice and then have full access to all the tools within minutes, exactly the same as their cloud but local.
What’s wrong with the online tools? I am against the cloud in principal. I do not want to be reliant on a third party for any part of the process. From the moment I open the device I do not want to have to connect it to the internet for any purpose. Everything should be able to be done locally, preferably within a single GUI interface. I wanted particle for its integrated wifi, not cloud.
I would try out the dev-local-compiler but it doesn’t get me to flashing the devices. How do I get to that next step? All the guides show using the cloud stuff which I do not want to use.
po-util is a script that I created to simplify offline Particle development for MacOS and Linux. You mentioned that you are on Windows, and unfortunately Windows is not well suited for Particle development.
I would recommend trying po-util on Linux in a virtual machine at the least.
Is there is a step by step guide somewhere to get started with particle using the offline tools? I find bits and pieces scattered and its hard to make sense of it all.
It seems in addition to po-util I would need particle server, not sure how to go about doing that. Also will need to connect via USB initially? Not sure how I pass the particle USB over to a VM.