For example in the 1.5.x release line, there are 1.5.0, 1.5.1, and 1.5.2 versions. Version numberingĭevice OS releases follow semantic versioning ("semver") guidelines with numbering. Because of the more limited function set and smaller attack surface, recommended updates for security reasons are rare. You must manually opt into each update, and updates are generally not required. Unlike computer operating systems like Windows or Mac, Device OS will never be automatically updated under your application. This normally requires a few reboot cycles that happen automatically. However, at boot, the device will discover this and go into safe mode (breathing magenta), and the cloud will send down the missing binaries. For example, if the device has 1.5.2 and you target your user firmware for 2.0.0, the user firmware would not initially be able to run because the Device OS version is too old. If you flash user firmware that requires a newer version of Device OS than is currently installed on the device, the device will automatically upgrade. For example, if your user firmware targets 1.5.0, it will work not only on 1.5.0, but also 1.5.2, and 2.0.0. Programing new user firmware replaces the previous user firmware.Įach user firmware binary specifies the minimum version of Device OS that it is compatible with, referred to as the target version. Unlike desktop and laptop computers, Particle devices only run a single user application at a time. Separating the two makes upgrading the smaller user firmware quick and easy allowing for rapid test and debug cycles, even when programming firmware over cellular networks. The user firmware is the part specific to your product or application and is typically the code you've written in C/C++. Device OS contains the code necessary to communicate with the hardware on the device (including cellular or Wi-Fi radios), as well as the Particle cloud. Most applications consist of two parts: Device OS ("system firmware") and the user application ("user firmware").
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |