Skip to content

Commit

Permalink
bump module version to 5.3.0 (5300)
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-brust committed Feb 21, 2023
1 parent a8c5572 commit 2a5539b
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 8 deletions.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
## 5.3.0

### FEATURES
- Static IP configuration support [#2621](https://github.com/particle-iot/device-os/pull/2621)
- Hardware watchdog [#2595](https://github.com/particle-iot/device-os/pull/2595)[#2617](https://github.com/particle-iot/device-os/pull/2617)[#2620](https://github.com/particle-iot/device-os/pull/2620)
- Ethernet GPIO config [#2616](https://github.com/particle-iot/device-os/pull/2616)
- [wiring][gen3] Allow gen3 to select internal ADC reference source [#2619](https://github.com/particle-iot/device-os/pull/2619)

### ENHANCEMENTS
- [rtl872x] Support IO wakeup sources through IO expander.[#2604](https://github.com/particle-iot/device-os/pull/2604)[#2608](https://github.com/particle-iot/device-os/pull/2608)[#2614](https://github.com/particle-iot/device-os/pull/2614)

### BUGFIXES
- [rtl872x] enable factory reset feature [#2612](https://github.com/particle-iot/device-os/pull/2612)
- [rtl872x] Dcache fixes for exflash HAL [#2623](https://github.com/particle-iot/device-os/pull/2623)
- [rtl872x] fix overflow error in HAL_Delay_Microseconds [#2606](https://github.com/particle-iot/device-os/pull/2606)
- [nRF52] BLE plus RTC sleep causes hardfault [#2615](https://github.com/particle-iot/device-os/pull/2615)
- [rtl872x] hal: fix heap allocation issue in interrupt hal and postpone the mode button initialization. [#2624](https://github.com/particle-iot/device-os/pull/2624)
- [rtl872x] bootloader: fix destination address flash page alignment in case of compressed modules [#2628](https://github.com/particle-iot/device-os/pull/2628)

### INTERNAL
- [photon2] Update FQC test with photon 2 pinout [#2610](https://github.com/particle-iot/device-os/pull/2610)
- [test] mailbox support and support for resets within tests [#2611](https://github.com/particle-iot/device-os/pull/2611)
- [bootloader] remove nanopb dependency[#2607](https://github.com/particle-iot/device-os/pull/2607)
- Server key rotation [#2570](https://github.com/particle-iot/device-os/pull/2570)
- Fix GCC platform build [#2613](https://github.com/particle-iot/device-os/pull/2613)[#2618](https://github.com/particle-iot/device-os/pull/2618)
- Ensure thread07 test executes as intended [#2622](https://github.com/particle-iot/device-os/pull/2622)
- [rtl872x] Fix watchdog tests; system/application thread stack size increase [#2626](https://github.com/particle-iot/device-os/pull/2626)
- [test] turn off NCP before testing wiring/watchdog [#2627](https://github.com/particle-iot/device-os/pull/2627)

## 5.2.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:="5.2.0"}
VERSION=${VERSION:="5.3.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.2.0
VERSION_STRING = 5.3.0

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

CFLAGS += -DSYSTEM_VERSION_STRING=$(VERSION_STRING)
13 changes: 9 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 ?= 5200
COMMON_MODULE_VERSION ?= 5300
SYSTEM_PART1_MODULE_VERSION ?= $(COMMON_MODULE_VERSION)

RELEASE_080_MODULE_VERSION_BASE ?= 300
Expand All @@ -14,24 +14,29 @@ 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 ?= 2002
BOOTLOADER_VERSION ?= 2100

ifeq ($(PLATFORM_MCU),rtl872x)
PREBOOTLOADER_MBR_VERSION ?= 2
PREBOOTLOADER_PART1_VERSION ?= 4
PREBOOTLOADER_PART1_VERSION ?= 5
endif

# 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)
ifeq ($(PLATFORM_MCU),rtl872x)
BOOTLOADER_DEPENDENCY = 2100
else # ifeq ($(PLATFORM_MCU),rtl872x)
BOOTLOADER_DEPENDENCY = 2002
endif # ifeq ($(PLATFORM_GEN),3)
else
# Some sensible default
BOOTLOADER_DEPENDENCY = 0
endif

ifeq ($(PLATFORM_MCU),rtl872x)
PREBOOTLOADER_PART1_DEPENDENCY = 4
PREBOOTLOADER_PART1_DEPENDENCY = 5
endif

ifeq ($(PLATFORM_GEN),3)
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 @@ -202,7 +202,8 @@ extern "C" {
#define SYSTEM_VERSION_v501 SYSTEM_VERSION_DEFAULT(5, 0, 1)
#define SYSTEM_VERSION_v510 SYSTEM_VERSION_DEFAULT(5, 1, 0)
#define SYSTEM_VERSION_v520 SYSTEM_VERSION_DEFAULT(5, 2, 0)
#define SYSTEM_VERSION SYSTEM_VERSION_v520
#define SYSTEM_VERSION_v530 SYSTEM_VERSION_DEFAULT(5, 3, 0)
#define SYSTEM_VERSION SYSTEM_VERSION_v530

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

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 @@ -177,6 +177,7 @@
| 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 |
| 2002 | 5200 | 5.2.0 | Argon, Boron, B SoM, B5 SoM, Tracker, Tracker M, E Som X, P2 |
| 2100 | 5300 | 5.3.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 2a5539b

Please sign in to comment.