The Photon uses an ARM Cortex M3 CPU based microcontroller. All of the code is built around the GNU GCC toolchain offered and maintained by ARM. The build requires version 5.3.1 20160307 or newer of ARM GCC and will print an error message if the version is older than this. In order to turn your source code into binaries, you will need a tool called make. Windows users need to explicitly install make on their machines. Make sure you can use it from the terminal window. The entire Particle firmware is contained in this repository. The main user code sits in the application.cpp file under firmware/user/src/ folder. Unless you know what you are doing, refrain from making changes to any other files. After you are done editing the files, you can rebuild the repository by running the make command in the firmware/main/ directory. If you have made changes to any of the other directories, make automatically determines which files need to be rebuilt and builds them for you.

Features

  • Platform neutral services and macros (LED control, debug macros, static assertions)
  • Implements the protocol between the device and the cloud
  • Framework for producing dynamically linked libraries
  • Top-level project to build the firmware for a device
  • Dynamically linked modules for the Photon/PØ/P1
  • Hardware Abstraction Layer interface and an implementation for each supported platform

Project Samples

Project Activity

See All Activity >

Categories

Hardware, Libraries

License

GNU Library or Lesser General Public License version 3.0 (LGPLv3)

Follow Particle Firmware for the Electron, P1

Particle Firmware for the Electron, P1 Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Particle Firmware for the Electron, P1!

Additional Project Details

Operating Systems

Windows

Programming Language

C

Related Categories

C Hardware Platform, C Libraries

Registered

2022-03-25