Skip to content

Commit

Permalink
bump module version to 5.1.0 (5004)
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-brust committed Sep 29, 2022
1 parent 2cd402e commit 6133cc2
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 5 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
## 5.1.0

### FEATURES
- [rtl8721x][p2] supports BLE GATT client, BLE central role and pairing APIs [#2542](https://github.com/particle-iot/device-os/pull/2542)

### ENHANCEMENTS
- [rtl872x] Improve ADC accuracy [#2546](https://github.com/particle-iot/device-os/pull/2546)
- [rtl8721x] update rtl872x.tcl script for latest openocd version [#2525](https://github.com/particle-iot/device-os/pull/2525)
- [hal] wifi: add generic 'world' country code as not every country code is exposed through API [#2539](https://github.com/particle-iot/device-os/pull/2539)
- [rtl8721x] Increase power management thread stack size for Tracker M [#2535](https://github.com/particle-iot/device-os/pull/2535)
- [trackerM]Fix MCP23S17 driver to allow mirrored (shared) interrupts [#2533](https://github.com/particle-iot/device-os/pull/2533)

### BUGFIXES
- [rtl872x] usb: make sure CDC line coding struct is packed [#2541](https://github.com/particle-iot/device-os/pull/2541)
- [rtl872x] hal: fix fetching of MAC addresses [#2537](https://github.com/particle-iot/device-os/pull/2537)
- [tests] Fix listening mode tests on trackerM [#2534](https://github.com/particle-iot/device-os/pull/2534)
- [wiring] ApplicationWatchdog: fixes potential 2x timeout required to fire [#2536](https://github.com/particle-iot/device-os/pull/2536)
- [p2][gen3]Fix BLE control request channel sending malformed packets [#2538](https://github.com/particle-iot/device-os/pull/2538)
- [tests/trackerm] Add workaround for TrackerM ota tests [#2544](https://github.com/particle-iot/device-os/pull/2544)

### INTERNAL
- Use new `prtcl` compile/clean commands for internal CI builds [#2543](https://github.com/particle-iot/device-os/pull/2543)
- Improve COAP message logging [#2498](https://github.com/particle-iot/device-os/pull/2498)
- HAL wiring api calls to access exflash read/write functions for OTP flash page [#2540](https://github.com/particle-iot/device-os/pull/2540)

## 5.0.1

### FEATURES
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.1"}
VERSION=${VERSION:="5.1.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.1
VERSION_STRING = 5.1.0

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

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 ?= 5003
COMMON_MODULE_VERSION ?= 5004
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 @@ -195,7 +195,8 @@ extern "C" {
#define SYSTEM_VERSION_v500ALPHA2 SYSTEM_VERSION_ALPHA(5, 0, 0, 2)
#define SYSTEM_VERSION_v500 SYSTEM_VERSION_DEFAULT(5, 0, 0)
#define SYSTEM_VERSION_v501 SYSTEM_VERSION_DEFAULT(5, 0, 1)
#define SYSTEM_VERSION SYSTEM_VERSION_v501
#define SYSTEM_VERSION_v510 SYSTEM_VERSION_DEFAULT(5, 1, 0)
#define SYSTEM_VERSION SYSTEM_VERSION_v510

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

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 @@ -170,6 +170,7 @@
| 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 |
| 2001 | 5003 | 5.0.1 | Argon, Boron, B SoM, B5 SoM, Tracker, Tracker M, E Som X, P2 |
| 2001 | 5004 | 5.1.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

0 comments on commit 6133cc2

Please sign in to comment.