Skip to content

Commit

Permalink
bump system module version to 6101 (6.1.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
avtolstoy committed Jun 20, 2024
1 parent c91fc65 commit 50015fb
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 6.1.1

### FEATURES

- Allow temporarily disabling device protection [#2770](https://github.com/particle-iot/device-os/pull/2770)

## 6.1.0

### 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:="6.1.0"}
VERSION=${VERSION:="6.1.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 = 6.1.0
VERSION_STRING = 6.1.1

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

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 ?= 6100
COMMON_MODULE_VERSION ?= 6101
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 ?= 3000
BOOTLOADER_VERSION ?= 3001

ifeq ($(PLATFORM_MCU),rtl872x)
PREBOOTLOADER_MBR_VERSION ?= 2
Expand All @@ -26,9 +26,9 @@ endif
# this version usually lags behind the current bootloader version, to avoid non-mandatory updates.
ifeq ($(PLATFORM_GEN),3)
ifeq ($(PLATFORM_MCU),rtl872x)
BOOTLOADER_DEPENDENCY = 3000
BOOTLOADER_DEPENDENCY = 3001
else # ifeq ($(PLATFORM_MCU),rtl872x)
BOOTLOADER_DEPENDENCY = 3000
BOOTLOADER_DEPENDENCY = 3001
endif # ifeq ($(PLATFORM_GEN),3)
else
# Some sensible default
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 @@ -218,7 +218,8 @@ extern "C" {
#define SYSTEM_VERSION_v581 SYSTEM_VERSION_DEFAULT(5, 8, 1)
#define SYSTEM_VERSION_v600 SYSTEM_VERSION_DEFAULT(6, 0, 0)
#define SYSTEM_VERSION_v610 SYSTEM_VERSION_DEFAULT(6, 1, 0)
#define SYSTEM_VERSION SYSTEM_VERSION_v610
#define SYSTEM_VERSION_v611 SYSTEM_VERSION_DEFAULT(6, 1, 1)
#define SYSTEM_VERSION SYSTEM_VERSION_v611

/**
* Previously we would set the least significant byte to 0 for the final release, but to make
Expand Down Expand Up @@ -401,6 +402,7 @@ extern "C" {
#define SYSTEM_VERSION_581
#define SYSTEM_VERSION_600
#define SYSTEM_VERSION_610
#define SYSTEM_VERSION_611

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 @@ -193,6 +193,7 @@
| 2600 | 5801 | 5.8.1 | Argon, Boron, B SoM, B5 SoM, Tracker, Tracker M, E Som X, M SoM, P2 |
| 3000 | 6000 | 6.0.0 | Argon, Boron, B SoM, B5 SoM, Tracker, Tracker M, E Som X, M SoM, P2 |
| 3000 | 6100 | 6.1.0 | Argon, Boron, B SoM, B5 SoM, Tracker, Tracker M, E Som X, M SoM, P2 |
| 3001 | 6101 | 6.1.1 | Argon, Boron, B SoM, B5 SoM, Tracker, E Som X |

[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 50015fb

Please sign in to comment.