Skip to content

Commit

Permalink
bump module version to 6.2.0 (6200)
Browse files Browse the repository at this point in the history
  • Loading branch information
technobly committed Oct 10, 2024
1 parent 4c8dacc commit 889b301
Show file tree
Hide file tree
Showing 8 changed files with 67 additions and 9 deletions.
53 changes: 52 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,55 @@
## 6.2.0

### BREAKING CHANGES

- make `SYSTEM_THREAD(ENABLED)` the default, add deprecation warning on `SYSTEM_THREAD()` macro use [#2834](https://github.com/particle-iot/device-os/pull/2834)
- Removed deprecated HAL API wrappers after a set of renamings in Device OS 4.x LTS [#2834](https://github.com/particle-iot/device-os/pull/2834)

### FEATURES

- Extend `Particle.publish()` and `Particle.subscribe()`` APIs to support events content types [#2804](https://github.com/particle-iot/device-os/pull/2804)
- Tether API + ModemManager support [#2832](https://github.com/particle-iot/device-os/pull/2832)
- Supports M.2 breakout board and Muon [#2809](https://github.com/particle-iot/device-os/pull/2809)

### ENHANCEMENTS

- [gen3] make sure that extended system-part1 is compatible with older bootloaders as well as 6.1.2 [#2831](https://github.com/particle-iot/device-os/pull/2831)
- Improves `delay()` behavior [#2828](https://github.com/particle-iot/device-os/pull/2828)
- [photon2] ethernet: use 12.5MHz as the default SPI clock rate for W5500 [#2835](https://github.com/particle-iot/device-os/pull/2835)
- [Gen 4] Adds detailed WiFi access point disconnect reason logging [#2805](https://github.com/particle-iot/device-os/pull/2805)
- [ACM] Perform cloud ping or reachability test on network events; non-blocking background reachability test [#2811](https://github.com/particle-iot/device-os/pull/2811)
- [Gen 3] BLE: increase a number of retries for service discovery in central role [#2801](https://github.com/particle-iot/device-os/pull/2801)
- [Gen 3] BLE: suspend scanning while in connected state and restore scanning after a disconnect (SoftDevice limitation) [#2801](https://github.com/particle-iot/device-os/pull/2801)
- [cellular][r510] unmask bands for global use [#2803](https://github.com/particle-iot/device-os/pull/2803)
- BLE: streamlines `BLE.scan()` behavior to be blocking irrespective of timeout, but allows other BLE operations to be performed [#2796](https://github.com/particle-iot/device-os/pull/2796)
- BLE: streamlines `BLE.stopScanning()` behavior to be blocking when not called from BLE callback and guarantees scanning to be stopped on return [#2796](https://github.com/particle-iot/device-os/pull/2796)
- [Gen 4] BLE: improves locking in a number of BLE API calls [#2813](https://github.com/particle-iot/device-os/pull/2813)
- [Gen 3] Muon/M.2 breakout support enabled for Gen 3 SoMs [#2808](https://github.com/particle-iot/device-os/pull/2808)

### BUGFIXES
- [Gen 3] BLE: fixes a race condition in connected state reporting in central and peripheral roles [#2801](https://github.com/particle-iot/device-os/pull/2801)
- [Gen 4] i2c: use transactions for fuelgauge and pmic on platforms with single i2c bus to avoid cutting into compound application I2C transmissions [#2822](https://github.com/particle-iot/device-os/pull/2822)
- Reduce latency of the system loop [#2797](https://github.com/particle-iot/device-os/pull/2797)
- Work around a bug in lfs_remove() while recursive traversing directories [#2798](https://github.com/particle-iot/device-os/pull/2798)
- [Gen 4] set sleep timer upper bounds [#2810](https://github.com/particle-iot/device-os/pull/2810)
- [Gen 4] Fixes potential deadlock in WiFi and BLE stacks [#2805](https://github.com/particle-iot/device-os/pull/2805)
- [Gen 4] fixes DMA enabled USART flush [#2800](https://github.com/particle-iot/device-os/pull/2800)
- [Gen 4] Fixes `BLE.stopScanning()` deadlock when called from inside BLE callback [#2796](https://github.com/particle-iot/device-os/pull/2796)
- [Gen 4] i2c: clear I2C tx buffer before each transmission [#2819](https://github.com/particle-iot/device-os/pull/2819)
- fixes `USART::available()` after waking from sleep [#2816](https://github.com/particle-iot/device-os/pull/2816)
- [Gen 4] fixes BLE race condition while scanning [#2818](https://github.com/particle-iot/device-os/pull/2818)
- [Gen 4] usb: fix an issue with USB re-attach after sleep [#2824](https://github.com/particle-iot/device-os/pull/2824) [#2823](https://github.com/particle-iot/device-os/pull/2823)
- [Gen 4] prebootloader: fix STOP/ULP sleep with disabled KM0 RTOS, get correct wake-up reason [#2825](https://github.com/particle-iot/device-os/pull/2825)
- Fixes I2C hal issues [#2826](https://github.com/particle-iot/device-os/pull/2826)

### INTERNAL

- Remove access_token query param from Device OS makefile [#2833](https://github.com/particle-iot/device-os/pull/2833)
- Add serial loopback to test runner [#2816](https://github.com/particle-iot/device-os/pull/2816)
- [tests] Support integration tests on gen4 after device-constants update [#2814](https://github.com/particle-iot/device-os/pull/2814)
- Adds fixture tests [#2823](https://github.com/particle-iot/device-os/pull/2823)
- [tests] ACM prefer feature, adjust logging [#2795](https://github.com/particle-iot/device-os/pull/2795)

## 6.1.2

### FEATURES
Expand Down Expand Up @@ -62,7 +114,6 @@
### FEATURES
- Supports M.2 breakout board and Muon [#2809](https://github.com/particle-iot/device-os/pull/2809)


### ENHANCEMENTS
- [Gen 4] Adds detailed WiFi access point disconnect reason logging [#2805](https://github.com/particle-iot/device-os/pull/2805)
- [ACM] Perform cloud ping or reachability test on network events; non-blocking background reachability test [#2811](https://github.com/particle-iot/device-os/pull/2811)
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.2"}
VERSION=${VERSION:="6.2.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 = 6.1.2
VERSION_STRING = 6.2.0

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

CFLAGS += -DSYSTEM_VERSION_STRING=$(VERSION_STRING)
2 changes: 2 additions & 0 deletions hal/src/b5som/hal_platform_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#define HAL_PLATFORM_RADIO_ANTENNA_EXTERNAL (1)
#define HAL_PLATFORM_MAX_CLOUD_CONNECT_TIME (9*60*1000)

#define HAL_PLATFORM_IF_INIT_POSTPONE (1)

#define PRODUCT_SERIES "boron"

#if HAL_PLATFORM_ETHERNET
Expand Down
2 changes: 2 additions & 0 deletions hal/src/boron/hal_platform_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@
#define HAL_PLATFORM_ETHERNET_WIZNETIF_INT_PIN_DEFAULT (D22)
#endif // HAL_PLATFORM_ETHERNET

#define HAL_PLATFORM_IF_INIT_POSTPONE (1)

#endif // PLATFORM_ID != PLATFORM_BORON

#if PLATFORM_ID == PLATFORM_ESOMX
Expand Down
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 ?= 6102
COMMON_MODULE_VERSION ?= 6200
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 ?= 3002
BOOTLOADER_VERSION ?= 3100

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 = 3001
BOOTLOADER_DEPENDENCY = 3100
else # ifeq ($(PLATFORM_MCU),rtl872x)
BOOTLOADER_DEPENDENCY = 3002
BOOTLOADER_DEPENDENCY = 3100
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 @@ -222,7 +222,8 @@ extern "C" {
#define SYSTEM_VERSION_v610 SYSTEM_VERSION_DEFAULT(6, 1, 0)
#define SYSTEM_VERSION_v611 SYSTEM_VERSION_DEFAULT(6, 1, 1)
#define SYSTEM_VERSION_v612 SYSTEM_VERSION_DEFAULT(6, 1, 2)
#define SYSTEM_VERSION SYSTEM_VERSION_v612
#define SYSTEM_VERSION_v620 SYSTEM_VERSION_DEFAULT(6, 2, 0)
#define SYSTEM_VERSION SYSTEM_VERSION_v620

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

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 @@ -197,6 +197,7 @@
| 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 |
| 3002 | 6102 | 6.1.2 | Argon, Boron, B SoM, B5 SoM, Tracker, E Som X |
| 3100 | 6200 | 6.2.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 889b301

Please sign in to comment.