Skip to content

Commit

Permalink
bump module version to 5.0.1 (5003)
Browse files Browse the repository at this point in the history
  • Loading branch information
keeramis committed Sep 1, 2022
1 parent 88b1c66 commit 055f889
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 8 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## 5.0.1

### FEATURES
- Added APIs for hardware configuration for reading OTP format [#2526](https://github.com/particle-iot/device-os/pull/2526)
- [trackerM] Update demux driver and pinmap to support more latest hardware

### BUGFIXES
- Secures DCT initialization from getting interrupted between creating DCT file and filling it with 0xff to default state [#2530](https://github.com/particle-iot/device-os/pull/2530)
- [trackerM] Fix hal dynalib tables [#2523](https://github.com/particle-iot/device-os/pull/2523)

### INTERNAL
- [trackerM] Fix interrupt based tests [#2527](https://github.com/particle-iot/device-os/pull/2527)

## 5.0.0

### BREAKING CHANGE
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"}
VERSION=${VERSION:="5.0.1"}

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
VERSION_STRING = 5.0.1

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

CFLAGS += -DSYSTEM_VERSION_STRING=$(VERSION_STRING)
8 changes: 4 additions & 4 deletions 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 ?= 5002
COMMON_MODULE_VERSION ?= 5003
SYSTEM_PART1_MODULE_VERSION ?= $(COMMON_MODULE_VERSION)

RELEASE_080_MODULE_VERSION_BASE ?= 300
Expand All @@ -14,7 +14,7 @@ USER_PART_MODULE_VERSION ?= 6
# Skip to next 100 every v0.x.0 release (e.g. 11 for v0.6.2 to 100 for v0.7.0-rc.1),
# but only if the bootloader has changed since the last v0.x.0 release.
# Bump by 1 for every updated bootloader image for a release with the same v0.x.* base.
BOOTLOADER_VERSION ?= 2000
BOOTLOADER_VERSION ?= 2001

ifeq ($(PLATFORM_MCU),rtl872x)
PREBOOTLOADER_MBR_VERSION ?= 2
Expand All @@ -25,9 +25,9 @@ endif
# NOTE: this will force the device into safe mode until this dependency is met, which is why
# this version usually lags behind the current bootloader version, to avoid non-mandatory updates.
ifeq ($(PLATFORM_MCU),rtl872x)
BOOTLOADER_DEPENDENCY = 2000
BOOTLOADER_DEPENDENCY = 2001
else ifeq ($(PLATFORM_GEN),3)
BOOTLOADER_DEPENDENCY = 1101
BOOTLOADER_DEPENDENCY = 1102
else
# Some sensible default
BOOTLOADER_DEPENDENCY = 0
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 @@ -194,7 +194,8 @@ extern "C" {
#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_v500 SYSTEM_VERSION_DEFAULT(5, 0, 0)
#define SYSTEM_VERSION SYSTEM_VERSION_v500
#define SYSTEM_VERSION_v501 SYSTEM_VERSION_DEFAULT(5, 0, 1)
#define SYSTEM_VERSION SYSTEM_VERSION_v501

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

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 @@ -169,6 +169,7 @@
| 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 |
| 2001 / 1102 | 5003 | 5.0.1 | 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 055f889

Please sign in to comment.