Skip to content

Commit

Permalink
bump module version to 4.0.0-alpha.2 (4001)
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-brust committed Jun 23, 2022
1 parent ecd8bef commit 38d4581
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .buildpackrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export BUILDPACK_VARIATION=manifest
export RELEASE_PLATFORMS=( )

# Platforms for which this firmware is considered experimental
export PRERELEASE_PLATFORMS=( argon boron bsom b5som tracker )
export PRERELEASE_PLATFORMS=( argon boron bsom b5som tracker esomx )
# Note: a single platform should be only in release or prerelease list. If
# added to both it will be considered a prerelease

Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
## 4.0.0-alpha.2

> ## :warning: Please note this is in internal release, do not use on production devices!
### FEATURES
- [esomx] Adds support for new platform esomx [#2443](https://github.com/particle-iot/device-os/pull/2443) [#2459](https://github.com/particle-iot/device-os/pull/2459)
- [E404X] Determine flash part at runtime [#2456](https://github.com/particle-iot/device-os/pull/2456)
- [gen3][quectel] Adds support for BG95-M1, BG95-MF, BG77, and EG91-NAX [#2458](https://github.com/particle-iot/device-os/pull/2458)

### BUGFIXES
- [gen3] hal: fix power leak on Boron [#2452](https://github.com/particle-iot/device-os/pull/2452)

### INTERNAL

- [workbench] update-device-os-workbench-manifest-json [#2457](https://github.com/particle-iot/device-os/pull/2457)
- [ci] test-build-system-tune-timeouts [#2455](https://github.com/particle-iot/device-os/pull/2455)

## 4.0.0-alpha.1

> ## :warning: Please note this is in 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:="4.0.0-alpha.1"}
VERSION=${VERSION:="4.0.0-alpha.2"}

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 = 4.0.0-alpha.1
VERSION_STRING = 4.0.0-alpha.2

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

CFLAGS += -DSYSTEM_VERSION_STRING=$(VERSION_STRING)
6 changes: 3 additions & 3 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 vx.N.x release (e.g. 11 for v0.6.2 to 100 for v0.7.0-rc.1),
# Bump by 1 for every prerelease or release with the same vx.N.* base.
COMMON_MODULE_VERSION ?= 4000
COMMON_MODULE_VERSION ?= 4001
SYSTEM_PART1_MODULE_VERSION ?= $(COMMON_MODULE_VERSION)

RELEASE_080_MODULE_VERSION_BASE ?= 300
Expand All @@ -14,13 +14,13 @@ USER_PART_MODULE_VERSION ?= 6
# Skip to next 100 every vx.N.x 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 vx.N.x release.
# Bump by 1 for every updated bootloader image for a release with the same vx.N.* base.
BOOTLOADER_VERSION ?= 1100
BOOTLOADER_VERSION ?= 1101

# The version of the bootloader that the system firmware requires
# 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_GEN),3)
BOOTLOADER_DEPENDENCY = 1100
BOOTLOADER_DEPENDENCY = 1101
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 @@ -189,7 +189,8 @@ extern "C" {
#define SYSTEM_VERSION_v330RC1 SYSTEM_VERSION_RC(3, 3, 0, 1)
#define SYSTEM_VERSION_v330 SYSTEM_VERSION_DEFAULT(3, 3, 0)
#define SYSTEM_VERSION_v400ALPHA1 SYSTEM_VERSION_ALPHA(4, 0, 0, 1)
#define SYSTEM_VERSION SYSTEM_VERSION_v400ALPHA1
#define SYSTEM_VERSION_v400ALPHA2 SYSTEM_VERSION_ALPHA(4, 0, 0, 2)
#define SYSTEM_VERSION SYSTEM_VERSION_v400ALPHA2

/**
* Previously we would set the least significant byte to 0 for the final release, but to make
Expand Down Expand Up @@ -343,6 +344,7 @@ extern "C" {
#define SYSTEM_VERSION_330RC1
#define SYSTEM_VERSION_330
#define SYSTEM_VERSION_400ALPHA1
#define SYSTEM_VERSION_400ALPHA2

typedef struct __attribute__((packed)) SystemVersionInfo
{
Expand Down
2 changes: 2 additions & 0 deletions system/system-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@
| 1100 | 3300 | 3.3.0-rc.1 | Photon, P1, Electron, Argon, Boron, B SoM, B5 SoM, Tracker |
| 1100 | 3301 | 3.3.0 | Photon, P1, Electron, Argon, Boron, B SoM, B5 SoM, Tracker |
| 1100 | 4000 | 4.0.0-alpha.1 | Argon, Boron, B SoM, B5 SoM, Tracker |
| 1101 | 4001 | 4.0.0-alpha.2 | 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 38d4581

Please sign in to comment.