Skip to content

Commit

Permalink
bump module version to 5.8.2 (5802)
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-brust committed Jul 2, 2024
1 parent 63fcc6b commit 2c323e4
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 13 deletions.
24 changes: 20 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,38 @@

- Protected mode [#2734](https://github.com/particle-iot/device-os/pull/2734)

## 5.8.1
## 5.8.2

### FEATURES

- [Gen 4] [rtl872x] Improve coexistence between Wifi and BLE when both are used simultaneously [#2764](https://github.com/particle-iot/device-os/pull/2764)
- [Gen 4] [rtl872x] [BREAKING CHANGE] Backup RAM is no longer automatically written to flash periodically. Backup RAM will be saved when entering sleep. If users are going to reset, `hal_backup_ram_sync()` should be called first [#2766](https://github.com/particle-iot/device-os/pull/2766)

### ENHANCEMENTS
- [eg91e] [eg91ex] enable 921600 baud rate [#2782](https://github.com/particle-iot/device-os/pull/2782)
- [rtl872x] SPI hal: set sample delay for SPI0@25MHz [#2784](https://github.com/particle-iot/device-os/pull/2784)
- [Gen 4] [msom]ACM Behavior changes [#2738](https://github.com/particle-iot/device-os/pull/2738)
- Update heap5 implementation to latest [6d1d9bff2](https://github.com/particle-iot/device-os/commit/6d1d9bff2a0f39ae2e331686357c593fc18108ed)[07104a8dc2](https://github.com/particle-iot/device-os/commit/07104a8dc26611ec4a312ec113824ffbd9bbed02)

### BUGFIXES

- Fix wifi setup not connecting when in listening mode [#2783](https://github.com/particle-iot/device-os/pull/2783) [#2778](https://github.com/particle-iot/device-os/pull/2778)
- Resumable OTA fixes [#2769](https://github.com/particle-iot/device-os/pull/2769)
- [quectel] fixes PPP resume during warm boot [#2772](https://github.com/particle-iot/device-os/pull/2772)
- [Gen 4] [bootloader] Implement bootloader reset reasons [#2773](https://github.com/particle-iot/device-os/pull/2773)
- [RTL872x] multiple SPI fixes [#2768](https://github.com/particle-iot/device-os/pull/2768)
- [Gen 4] [rtl872x] Reinitialize internal wifi stack if scan or connect fails [#2766](https://github.com/particle-iot/device-os/pull/2766) [#2760](https://github.com/particle-iot/device-os/pull/2760/)
- [Gen 4] [rtl872x] Resolve deadlock with USB serial monitoring on boot in some cases[#2765](https://github.com/particle-iot/device-os/pull/2765)
- [gen3] hal: fix gpio glitch [#2787](https://github.com/particle-iot/device-os/pull/2787)
- [ACM] Dont change cloud connection to preferred network during OTA update [9abfb7c72](https://github.com/particle-iot/device-os/commit/9abfb7c721b7d68b0378eebe2f31483583343b86)
- Avoid malloc/realloc while under ATOMIC_BLOCK in system event subscription [63fcc6b26](https://github.com/particle-iot/device-os/commit/63fcc6b26921fa75cd686972e74aba6e5ba83b0e)
- [gen 4] network: Increase rtlkncp thread stack [29433d38c](https://github.com/particle-iot/device-os/commit/29433d38c567b57dc69f3d364b2080f4711feb0e)

### INTERNAL
- [rtl872x] Display Photon 2 instead of P2, dont allow extended advertising data on rtl platforms [#2779](https://github.com/particle-iot/device-os/pull/2779)
- Add set credentials usb request [#2763](https://github.com/particle-iot/device-os/pull/2763)
- [Gen 4] [rtl872x] Prevent M404/BG95M5 modems from connecting on 2G networks for the time being[#2761](https://github.com/particle-iot/device-os/pull/2761)
- [Gen 4] [rtl872x] Query 2G registration status for M404/BG95M5 modems when querying CGMI [#2761](https://github.com/particle-iot/device-os/pull/2761)

- [Gen 4] Update sdk submoudle ref to fix compiler warnings [#2789](https://github.com/particle-iot/device-os/pull/2789)
- [test] Adjust OTA tests [8ec558e63](https://github.com/particle-iot/device-os/commit/8ec558e63d8545856ff7ac37db1dda1546df8786)

## 5.8.0

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.8.1"}
VERSION=${VERSION:="5.8.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 = 5.8.1
VERSION_STRING = 5.8.2

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

CFLAGS += -DSYSTEM_VERSION_STRING=$(VERSION_STRING)
10 changes: 5 additions & 5 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 ?= 5801
COMMON_MODULE_VERSION ?= 5802
SYSTEM_PART1_MODULE_VERSION ?= $(COMMON_MODULE_VERSION)

RELEASE_080_MODULE_VERSION_BASE ?= 300
Expand All @@ -14,19 +14,19 @@ 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 ?= 2600
BOOTLOADER_VERSION ?= 2601

ifeq ($(PLATFORM_MCU),rtl872x)
PREBOOTLOADER_MBR_VERSION ?= 2
PREBOOTLOADER_PART1_VERSION ?= 7
PREBOOTLOADER_PART1_VERSION ?= 8
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 = 2600
BOOTLOADER_DEPENDENCY = 2601
else # ifeq ($(PLATFORM_MCU),rtl872x)
BOOTLOADER_DEPENDENCY = 2300
endif # ifeq ($(PLATFORM_GEN),3)
Expand All @@ -36,7 +36,7 @@ BOOTLOADER_DEPENDENCY = 0
endif

ifeq ($(PLATFORM_MCU),rtl872x)
PREBOOTLOADER_PART1_DEPENDENCY = 7
PREBOOTLOADER_PART1_DEPENDENCY = 8
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 @@ -216,7 +216,8 @@ extern "C" {
#define SYSTEM_VERSION_v570 SYSTEM_VERSION_DEFAULT(5, 7, 0)
#define SYSTEM_VERSION_v580 SYSTEM_VERSION_DEFAULT(5, 8, 0)
#define SYSTEM_VERSION_v581 SYSTEM_VERSION_DEFAULT(5, 8, 1)
#define SYSTEM_VERSION SYSTEM_VERSION_v581
#define SYSTEM_VERSION_v582 SYSTEM_VERSION_DEFAULT(5, 8, 2)
#define SYSTEM_VERSION SYSTEM_VERSION_v582

/**
* Previously we would set the least significant byte to 0 for the final release, but to make
Expand Down Expand Up @@ -397,6 +398,7 @@ extern "C" {
#define SYSTEM_VERSION_570
#define SYSTEM_VERSION_580
#define SYSTEM_VERSION_581
#define SYSTEM_VERSION_582

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 @@ -191,6 +191,7 @@
| 2500 | 5700 | 5.7.0 | Argon, Boron, B SoM, B5 SoM, Tracker, Tracker M, E Som X, M SoM, P2 |
| 2600 | 5800 | 5.8.0 | Argon, Boron, B SoM, B5 SoM, Tracker, Tracker M, E Som X, M SoM, P2 |
| 2600 | 5801 | 5.8.1 | Argon, Boron, B SoM, B5 SoM, Tracker, Tracker M, E Som X, M SoM, P2 |
| 2601 | 5802 | 5.8.2 | 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 |

[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 2c323e4

Please sign in to comment.