Skip to content

Commit

Permalink
bump module version for 3.0.0-alpha.1 (3000)
Browse files Browse the repository at this point in the history
  • Loading branch information
avtolstoy committed Dec 24, 2020
1 parent 9d0b4e4 commit e5e8532
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 7 deletions.
34 changes: 34 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,37 @@
## 3.0.0-alpha.1

### BREAKING CHANGES

- [Cellular] Remove `rssi` and `qual` from `Cellular.RSSI()` [#2212](https://github.com/particle-iot/device-os/pull/2212)

### FEATURES

- [Gen 3] OTAv3 protocol [#2199](https://github.com/particle-iot/device-os/pull/2199)
- [Tracker] ESP32 WiFi scanning support [#2250](https://github.com/particle-iot/device-os/pull/2250)
- [Cellular] `SystemPowerFeature::DISABLE_CHARGING` configuration option to enable or disable charging [#2257](https://github.com/particle-iot/device-os/pull/2257)
- `Network.isOn()` and `Network.isOff()` APIs to query the network interface power state [#2205](https://github.com/particle-iot/device-os/pull/2205)
- [Gen 3] BLE legacy pairing [#2237](https://github.com/particle-iot/device-os/pull/2237)
- [Cellular] Query cellular signal while trying to register on a network [#2232](https://github.com/particle-iot/device-os/pull/2232)
- [Tracker] WiFi/GNSS/FuelGauge sleep wake-up sources [#2200](https://github.com/particle-iot/device-os/pull/2200)
- Configure multiple pins as wakeup source at a time [#2228](https://github.com/particle-iot/device-os/pull/2228) [#2231](https://github.com/particle-iot/device-os/pull/2231)

### ENHANCEMENTS

- [Gen 3] Network interface management improvements [#2217](https://github.com/particle-iot/device-os/pull/2217)
- [Gen 3] `SPI.transfer()` support for constant buffers residing in flash [#2196](https://github.com/particle-iot/device-os/pull/2196)
- [Gen 3] Add characteristic discovery to `BleService` [#2203](https://github.com/particle-iot/device-os/pull/2203)
- [Gen 3] BLE Scanned/Connected/Disconnected/Data Received callbacks in C++ style [#2224](https://github.com/particle-iot/device-os/pull/2224)
- [Gen 3] BLE scanning filter [#2223](https://github.com/particle-iot/device-os/pull/2223)
- [Gen 3] BLE API consistency enhancements [#2222](https://github.com/particle-iot/device-os/pull/2222)
- [Electron] Build system parts with LTO enabled [#2235](https://github.com/particle-iot/device-os/pull/2235)
- Add more operators for `BleAddress`, `BleUuid` and `IPAddress`[#2216](https://github.com/particle-iot/device-os/pull/2216)
- Upate MbedTLS to 2.22.0 [#2117](https://github.com/particle-iot/device-os/pull/2117)

### BUGFIXES

- [Gen 2] Fix D0 alternate-function being unconditionally reset when calling `Serial1.end()` [#2256](https://github.com/particle-iot/device-os/pull/2256)
- [Gen 3] Fix an issue with `BLE.scan()` deadlocking [#2220](https://github.com/particle-iot/device-os/pull/2220)

## 2.0.1

### ENHANCEMENTS
Expand Down
6 changes: 3 additions & 3 deletions build/release.sh
@@ -1,7 +1,7 @@
#!/bin/bash
set -o errexit -o pipefail -o noclobber -o nounset

VERSION="2.0.1"
VERSION="3.0.0-alpha.1"

function display_help ()
{
Expand Down Expand Up @@ -196,11 +196,11 @@ function release_binary ()

# Move files into release folder
release_file "$from_name" "$to_name" "bin" "$suffix" "$debug_build" "$use_swd_jtag"
release_file "$from_name" "$to_name" "elf" "$suffix" "$debug_build" "$use_swd_jtag"
release_file "$from_name" "$to_name" "map" "$suffix" "$debug_build" "$use_swd_jtag"
if [ $DEBUG = true ]; then
release_file "$from_name" "$to_name" "elf" "$suffix" "$debug_build" "$use_swd_jtag"
release_file "$from_name" "$to_name" "hex" "$suffix" "$debug_build" "$use_swd_jtag"
release_file "$from_name" "$to_name" "lst" "$suffix" "$debug_build" "$use_swd_jtag"
release_file "$from_name" "$to_name" "map" "$suffix" "$debug_build" "$use_swd_jtag"
fi
}

Expand Down
4 changes: 2 additions & 2 deletions build/version.mk
@@ -1,7 +1,7 @@
VERSION_STRING = 2.0.1
VERSION_STRING = 3.0.0-alpha.1

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

CFLAGS += -DSYSTEM_VERSION_STRING=$(VERSION_STRING)
2 changes: 1 addition & 1 deletion modules/shared/system_module_version.mk
@@ -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 ?= 2011
COMMON_MODULE_VERSION ?= 3000
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
Expand Up @@ -167,7 +167,8 @@ extern "C" {
#define SYSTEM_VERSION_v201ALPHA1 SYSTEM_VERSION_ALPHA(2, 0, 1, 1)
#define SYSTEM_VERSION_v201ALPHA2 SYSTEM_VERSION_ALPHA(2, 0, 1, 2)
#define SYSTEM_VERSION_v201 SYSTEM_VERSION_DEFAULT(2, 0, 1)
#define SYSTEM_VERSION SYSTEM_VERSION_v201
#define SYSTEM_VERSION_v300ALPHA1 SYSTEM_VERSION_ALPHA(3, 0, 0, 1)
#define SYSTEM_VERSION SYSTEM_VERSION_v300ALPHA1

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

typedef struct __attribute__((packed)) SystemVersionInfo
{
Expand Down
1 change: 1 addition & 0 deletions system/system-versions.md
Expand Up @@ -133,6 +133,7 @@
| 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 | 3000 | 3.0.0-alpha.1 | 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 e5e8532

Please sign in to comment.