Looks like the spark team did a super job on the firmware. I just got around building the core-firmware source locally and installed all the dev tools. Great instruction and awesome code! Congrats!
Can someone give me a hint on what do I need to do to build my own spark apps locally? Like the ones I build using the web IDE?
Also, can someone point me to a map of the Spark Source? I am looking for a way to hack the spark not need to connect to the spark cloud to run my user app but do connect to WiFi.
Thanks in advance!
Try adding this to the top of your application:
There will be easier ways to turn these connections on and off in the future:
Thanks for the answers.
Although for building locally, the plugin sounds great. I would love to know how to this directly with make. Is there information somewhere on how to do our own local builds directly with make that result in an uploadable binary?
There are a bunch of ways to get setup locally:
Official nuts and bolts local toolchain setup:
This file has been truncated.
# Particle Firmware for the Electron, P1, Photon and Core.
This is the main source code repository of the Particle firmware libraries.
# Getting Started
To get started building firmware locally, see [Getting Started](docs/gettingstarted.md).
- [Latest Release](http://github.com/spark/firmware/releases/)
## Build System
Here is a video link i made showing all the steps needed to compile locally on windows. The IDE is Netbeans v7.4. You can compile and download to the spark core all within the IDE. You dont need the command line for anything anymore. The IDE even...
Reading time: 6 mins 🕑
Likes: 36 ❤
Instructions to install PARTICLE-CLI on Windows *please install to the default directory as they are hardcoded to read them and changing the PATHS require more work and complicate matters for the 1st time *All installations must be the same system...
Reading time: 1 mins 🕑
Likes: 12 ❤
1.) Install node.js from http://nodejs.org/download/ [Version 0.10.x would be good] 2.) Once that is completed, launch your “terminal” run the command sudo npm install -g particle-cli 3.) Once the installation is completed, you test that...
Reading time: 46 mins 🕑
Likes: 58 ❤
Thanks… I think there’s something I am missing… Sorry I am a newbie…
I had downloaded all the tools and where able to compile the firmware without a problem. Now… If I am to compile my own code (my INO files) the ones I use on the cloud IDE, do I have to recompile the whole firmware again? If yes… Where would my setup() and mainloop be for my code? What file will the user would have to be?
Or is there something I am missing…
Thanks for your help!
i got it… Its in the application.cpp file!!!
Sorry for banging too much… I just found out what I was looking for!
Thanks for your help! Really do!
this link explains in very good way and details how to install your working place,
but not working exactly in the same way like you do at the web ide.