Skip to content

Commit

Permalink
bump module version for 2.1.0 (2101)
Browse files Browse the repository at this point in the history
  • Loading branch information
avtolstoy committed Apr 28, 2021
1 parent 3d0b09d commit c218a0a
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 7 deletions.
45 changes: 45 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,48 @@
## 2.1.0

### FEATURES

- [Cellular] Send modem firmware version to the cloud as part of the system describe message [#2265](https://github.com/particle-iot/device-os/pull/2265)
- `Network.isOn()` and `Network.isOff()` APIs to query the network interface power state [#2205](https://github.com/particle-iot/device-os/pull/2205)
- [Electron] Proactively attempt to recover from a number of failed cellular registration states [#2301](https://github.com/particle-iot/device-os/pull/2301)

### ENHANCEMENTS

- [Cellular] Update ICCID/IMSI to APN map with a new Kore ICCID prefix [#2276](https://github.com/particle-iot/device-os/pull/2276)
- [B5 SoM / Quectel] Improve warm and cold boot behavior [#2300](https://github.com/particle-iot/device-os/pull/2300)
- Update Workbench dependencies [#2299](https://github.com/particle-iot/device-os/pull/2299)
- Improve I2C reset procedure to be less destructive and issue STOP condition as soon as possible [#2303](https://github.com/particle-iot/device-os/pull/2303)
- [Cellular] Perform PMIC/FuelGauge/RTC I2C bus reset on boot to avoid accidental writes after a non-graceful reset [#2303](https://github.com/particle-iot/device-os/pull/2303)
- [Argon] Reduce cloud keep-alive timeout to 25 seconds from 30 seconds [#2304](https://github.com/particle-iot/device-os/pull/2304)
- [Electron] Build system parts with LTO enabled [#2235](https://github.com/particle-iot/device-os/pull/2235)
- Upate MbedTLS to 2.22.0 [#2117](https://github.com/particle-iot/device-os/pull/2117)
- [Gen 3] Ethernet FeatherWing power state management [#2258](https://github.com/particle-iot/device-os/pull/2258)

### BUGFIXES

- [Electron] Fix unintended modem reset after an ongoing network registartion attempt is actively cancelled by the application [#2307](https://github.com/particle-iot/device-os/pull/2307)
- Correctly restore network interface power state after waking up from `STOP` or `ULTRA_LOW_POWER` sleep modes [#2308](https://github.com/particle-iot/device-os/pull/2308)
- [Gen 2] Fix D0 alternate-function being unconditionally reset when calling `Serial1.end()` [#2256](https://github.com/particle-iot/device-os/pull/2256)
- [Boron / B SoM] Fix external SIM getting stuck in initialization [#2263](https://github.com/particle-iot/device-os/pull/2263)
- [BLE] Return `false` in `BlePeerDevice::getCharacteristicByDescription()` if expected characteristic was not found [#2266](https://github.com/particle-iot/device-os/pull/2266)
- [Gen 3] Fix UART DMA RX transfer size issues causing DMA writes outside of the RX buffer [#2264](https://github.com/particle-iot/device-os/pull/2264)
- [Gen 3] Fix `ChannelStream::waitEvent()` timeout calculation [#2267](https://github.com/particle-iot/device-os/pull/2267)
- [Gen 3] Use `PIN_INVALID` when initializing SPI peripheral to avoid overriding the pin mode of the default CS pin on reinitialization [#2275](https://github.com/particle-iot/device-os/pull/2275)
- [Electron] Increase `AT+COPS` timeout to 5 minutes [#2281](https://github.com/particle-iot/device-os/pull/2281)
- [Electron] Fix Sleep 2.0 APIs taking up to 10 minutes to power-off the cellular modem while it's attempting network registration [#2284](https://github.com/particle-iot/device-os/pull/2284)
- [B5 SoM / Tracker] Fix warm boot sometimes requiring modem reset [#2289](https://github.com/particle-iot/device-os/pull/2289)
- Fix `Particle.unsubscribe()` not preserving system subscriptions [#2293](https://github.com/particle-iot/device-os/pull/2293)
- Querying the value of an empty string variable causes an error [#2297](https://github.com/particle-iot/device-os/pull/2297)
- [Gen 3] Add workaround for Nordic nRF52840 anomaly 219 (TWIM: I2C timing spec is violated at 400 kHz) [#2303](https://github.com/particle-iot/device-os/pull/2303)
- [Gen 3] Fix micros/millis/unixtime becoming non-monotonic [2a4fcb82b](https://github.com/particle-iot/device-os/commit/2a4fcb82b0968300b8a0227f665ffe94203f9f38) [#2303](https://github.com/particle-iot/device-os/pull/2303)
- Fix the issue that the Particle.disconnect() doesn't clear the auto-connect flag [#2306](https://github.com/particle-iot/device-os/pull/2306)

### INTERNAL

- [ci] Remove build directory after finishing the build job [#2311](https://github.com/particle-iot/device-os/pull/2311)
- Startup SLO automated tests [#2277](https://github.com/particle-iot/device-os/pull/2277) [#2274](https://github.com/particle-iot/device-os/pull/2274)
- Allow clearing session data and running custom setup code in integration tests [#2280](https://github.com/particle-iot/device-os/pull/2280)

## 2.1.0-rc.1

### 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="2.1.0-rc.1"
VERSION="2.1.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 = 2.1.0-rc.1
VERSION_STRING = 2.1.0

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

CFLAGS += -DSYSTEM_VERSION_STRING=$(VERSION_STRING)
2 changes: 1 addition & 1 deletion 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 ?= 2100
COMMON_MODULE_VERSION ?= 2101
SYSTEM_PART1_MODULE_VERSION ?= $(COMMON_MODULE_VERSION)
SYSTEM_PART2_MODULE_VERSION ?= $(COMMON_MODULE_VERSION)
SYSTEM_PART3_MODULE_VERSION ?= $(COMMON_MODULE_VERSION)
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 @@ -168,7 +168,8 @@ extern "C" {
#define SYSTEM_VERSION_v201ALPHA2 SYSTEM_VERSION_ALPHA(2, 0, 1, 2)
#define SYSTEM_VERSION_v201 SYSTEM_VERSION_DEFAULT(2, 0, 1)
#define SYSTEM_VERSION_v210RC1 SYSTEM_VERSION_RC(2, 1, 0, 1)
#define SYSTEM_VERSION SYSTEM_VERSION_v210RC1
#define SYSTEM_VERSION_v210 SYSTEM_VERSION_DEFAULT(2, 1, 0)
#define SYSTEM_VERSION SYSTEM_VERSION_v210

/**
* Previously we would set the least significant byte to 0 for the final release, but to make
Expand Down Expand Up @@ -301,6 +302,7 @@ extern "C" {
#define SYSTEM_VERSION_201ALPHA2
#define SYSTEM_VERSION_201
#define SYSTEM_VERSION_210RC1
#define SYSTEM_VERSION_210

typedef struct __attribute__((packed)) SystemVersionInfo
{
Expand Down
2 changes: 1 addition & 1 deletion system/src/system_sleep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ LOG_SOURCE_CATEGORY("system.sleep");
#include "system_network_manager.h"

using namespace particle;
using namespace particle::system;

#undef LOG_COMPILE_TIME_LEVEL
#define LOG_COMPILE_TIME_LEVEL LOG_LEVEL_ALL
Expand Down Expand Up @@ -75,6 +74,7 @@ network_status_t system_sleep_network_suspend(network_interface_index index) {
}
#endif
#if PLATFORM_GEN == 3
using namespace particle::system;
if_t iface;
if (!if_get_by_index(index, &iface)) {
if (NetworkManager::instance()->isInterfacePowerState(iface, IF_POWER_STATE_UP) ||
Expand Down
3 changes: 2 additions & 1 deletion system/system-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@
| 1004 | 2009 | 2.0.1-alpha.1 | Photon, P1, Electron, Argon, Boron, B SoM, B5 SoM, Tracker |
| 1005 | 2010 | 2.0.1-alpha.2 | Photon, P1, Electron, Argon, Boron, B SoM, B5 SoM, Tracker |
| 1005 | 2011 | 2.0.1 | Photon, P1, Electron, Argon, Boron, B SoM, B5 SoM, Tracker |
| 1005 | 2100 | 2.1.0 | Photon, P1, Electron, Argon, Boron, B SoM, B5 SoM, Tracker |
| 1005 | 2100 | 2.1.0-rc.1 | Photon, P1, Electron, Argon, Boron, B SoM, B5 SoM, Tracker |
| 1005 | 2101 | 2.1.0 | Photon, P1, Electron, Argon, Boron, B SoM, B5 SoM, Tracker |

[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 c218a0a

Please sign in to comment.