Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device OS v5.0.0 Changes #2517

Merged
merged 1 commit into from
Aug 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,58 @@
## 5.0.0

### BREAKING CHANGE

- [esomx] Remove undefined pins from esomx pinmap [#2505](https://github.com/particle-iot/device-os/pull/2466)

### FEATURES
- P2 Support [#2466](https://github.com/particle-iot/device-os/pull/2466)
- Tracker M Support [#2492](https://github.com/particle-iot/device-os/pull/2492) [#2518](https://github.com/particle-iot/device-os/pull/2518) [#2522](https://github.com/particle-iot/device-os/pull/2522)
- [p2] Allow setting WiFi country code and channel plan [#2485](https://github.com/particle-iot/device-os/pull/2485) [#2473](https://github.com/particle-iot/device-os/pull/2473)
- [rtl872x] Implement HAL event group for UART [#2493](https://github.com/particle-iot/device-os/pull/2493)
- [rtl872x] Implement APIs to set/get BLE address [#2508](https://github.com/particle-iot/device-os/pull/2508)

### ENHANCEMENTS
- [p2][wifi] Add more complete WiFi network configuration information for P2 [#2474](https://github.com/particle-iot/device-os/pull/2474)
- [p2][photon2] Add VBAT_MEAS pin and charging indication pin for Photon2 [#2482](https://github.com/particle-iot/device-os/pull/2482)
- [ethernet][p2] Allow ethernet detection on P2 [#2478](https://github.com/particle-iot/device-os/pull/2478)
- Register without waiting for CSD connections [#2404](https://github.com/particle-iot/device-os/pull/2404)

### BUGFIXES
- [p2] usart: flush DMA FIFO data when required [#2477](https://github.com/particle-iot/device-os/pull/2477)
- [gen3] port newlib stdin/stdout/stderr memory leak workaround [#2467](https://github.com/particle-iot/device-os/pull/2467)
- [p2] Flash supports page write and other fixes [#2470](https://github.com/particle-iot/device-os/pull/2470)
- [esomx] map ADC channels to the correct pins [#2495](https://github.com/particle-iot/device-os/pull/2495)
- [rtl872x] Fix millis() rollover [#2501](https://github.com/particle-iot/device-os/pull/2501)
- [p2][gen3] fixes for attachInterrupt() / noInterrupts() / interrupts() APIs [#2503](https://github.com/particle-iot/device-os/pull/2503)
- [rtl872x] hal: fix issue that uart rx dma may hang up. [#2502](https://github.com/particle-iot/device-os/pull/2502)
- [rtl872x] hal: implement i2c sleep and fix the reset APIs [#2497](https://github.com/particle-iot/device-os/pull/2497)
- [p2] attachInterrupt() should not configure input pullup/pulldown/nopull [#2507](https://github.com/particle-iot/device-os/pull/2507)
- [p2] PWM HAL fixes [#2511](https://github.com/particle-iot/device-os/pull/2511)
- Disable direct logging in listening mode [#2512](https://github.com/particle-iot/device-os/pull/2512)
- Ensure task yield and system thread pump in system_delay_pump [#2519](https://github.com/particle-iot/device-os/pull/2519) [#2521](https://github.com/particle-iot/device-os/pull/2521)

### INTERNAL
- [p2] deprecate tinker-fqc app [#2479](https://github.com/particle-iot/device-os/pull/2479) [#2480](https://github.com/particle-iot/device-os/pull/2480) [#2481](https://github.com/particle-iot/device-os/pull/2481)
- Update devtools .bundleignore for P2 SDK files [#2475](https://github.com/particle-iot/device-os/pull/2475)
- Fix GCC platform on some versions of GCC; Fix wiring/api tests for P2; Fix building of wiring/api tests on CI [#2483](https://github.com/particle-iot/device-os/pull/2483)
- [p2] Fix DCache alignment [#2476](https://github.com/particle-iot/device-os/pull/2476)
- [p2] fixes INTERRUPTS_01_isisr_willpreempt_servicedirqn test [#2486](https://github.com/particle-iot/device-os/pull/2486)
- Remove redundant toolchain overrides [#2489](https://github.com/particle-iot/device-os/pull/2489)
- Enable OTA updates on the GCC platform [#2464](https://github.com/particle-iot/device-os/pull/2464)
- Allow overriding the platform ID on the GCC platform [#2462](https://github.com/particle-iot/device-os/pull/2462)
- [workbench] Update workbench buildscripts to 1.11.0 [#2465](https://github.com/particle-iot/device-os/pull/2465)
- [tests] Change PWM pins to better match e-series pinout for E SoM X. Fix other tests [#2463](https://github.com/particle-iot/device-os/pull/2463)
- [tests] Fix broken tone and servo tests for p2 platform, also EEPROM_03 for all. [#2469](https://github.com/particle-iot/device-os/pull/2469)
- [workbench] Stop ignoring device os scripts directory [#2471](https://github.com/particle-iot/device-os/pull/2471)
- [p2] Simplify burn in LED blink, work around System.millis() reset [#2491](https://github.com/particle-iot/device-os/pull/2491)
- [tests][esomx] disable RGB pwm channel(s) when running pwm tests [#2494](https://github.com/particle-iot/device-os/pull/2494)
- [rtl872x] Poll micros instead of rom DelayUs function. Tweak 1ms test [#2499](https://github.com/particle-iot/device-os/pull/2499)
- [ci] branch pattern changes for test-build-system [#2509](https://github.com/particle-iot/device-os/pull/2509)
- [p2] PWM fixture tests [#2511](https://github.com/particle-iot/device-os/pull/2511)
- [test] fixes race condition with wiring/no_fixture TIME_17 [#2513](https://github.com/particle-iot/device-os/pull/2513)
- [services] device tree stubs [#2515](https://github.com/particle-iot/device-os/pull/2515)
- [tests] integration: bump binary-version-reader and device-constants dependency for P2-related module manipulation fixes [#2516](https://github.com/particle-iot/device-os/pull/2516)

## 5.0.0-alpha.2

> ## :warning: Please note this is an internal release, do not use on production devices!
Expand Down
2 changes: 1 addition & 1 deletion build/release.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -o errexit -o pipefail -o noclobber -o nounset

VERSION=${VERSION:="5.0.0-alpha.2"}
VERSION=${VERSION:="5.0.0"}

function display_help ()
{
Expand Down
4 changes: 2 additions & 2 deletions build/version.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
VERSION_STRING = 5.0.0-alpha.2
VERSION_STRING = 5.0.0

# PRODUCT_FIRMWARE_VERSION reported by default
# FIXME: Unclear if this is used, PRODUCT_FIRMWARE_VERSION defaults to 65535 every release
VERSION = 5001
VERSION = 5002

CFLAGS += -DSYSTEM_VERSION_STRING=$(VERSION_STRING)
2 changes: 1 addition & 1 deletion modules/shared/system_module_version.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Skip to next 100 every v0.x.0 release (e.g. 108 for v0.6.2 to 200 for v0.7.0-rc.1)
# Bump by 1 for every prerelease or release with the same v0.x.* base.
COMMON_MODULE_VERSION ?= 5001
COMMON_MODULE_VERSION ?= 5002
SYSTEM_PART1_MODULE_VERSION ?= $(COMMON_MODULE_VERSION)

RELEASE_080_MODULE_VERSION_BASE ?= 300
Expand Down
4 changes: 3 additions & 1 deletion system/inc/system_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ extern "C" {
#define SYSTEM_VERSION_v400BETA1 SYSTEM_VERSION_BETA(4, 0, 0, 1)
#define SYSTEM_VERSION_v500ALPHA1 SYSTEM_VERSION_ALPHA(5, 0, 0, 1)
#define SYSTEM_VERSION_v500ALPHA2 SYSTEM_VERSION_ALPHA(5, 0, 0, 2)
#define SYSTEM_VERSION SYSTEM_VERSION_v500ALPHA2
#define SYSTEM_VERSION_v500 SYSTEM_VERSION_DEFAULT(5, 0, 0)
#define SYSTEM_VERSION SYSTEM_VERSION_v500

/**
* Previously we would set the least significant byte to 0 for the final release, but to make
Expand Down Expand Up @@ -351,6 +352,7 @@ extern "C" {
#define SYSTEM_VERSION_400BETA1
#define SYSTEM_VERSION_500ALPHA1
#define SYSTEM_VERSION_500ALPHA2
#define SYSTEM_VERSION_500

typedef struct __attribute__((packed)) SystemVersionInfo
{
Expand Down
1 change: 1 addition & 0 deletions system/system-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@
| 1101 | 4002 | 4.0.0-beta.1 | Argon, Boron, B SoM, B5 SoM, Tracker, E Som X |
| 2000 | 5000 | 5.0.0-alpha.1 | Argon, Boron, B SoM, B5 SoM, Tracker, E Som X, P2 |
| 2000 | 5001 | 5.0.0-alpha.2 | Argon, Boron, B SoM, B5 SoM, Tracker, E Som X, P2 |
| 2000 | 5002 | 5.0.0 | Argon, Boron, B SoM, B5 SoM, Tracker, Tracker M, E Som X, P2 |

[1] For 0.8.0-rc.1, The v101 bootloader was also released in the Github releases as v200. Thus the next released bootloader in the 0.8.x line should be v201. As of 4/5/2018: 22 device had v200 bootloaders.

Expand Down