From c3e7fe6d4f78cfa661d6c99e4ea96560588003ee Mon Sep 17 00:00:00 2001 From: Matthew McGowan Date: Mon, 5 Feb 2018 22:33:26 +0100 Subject: [PATCH] 0.8.0-rc.2 --- CHANGELOG.md | 47 +++++++++++++++++++++++++ build/release.sh | 2 +- build/version.mk | 4 +-- modules/shared/system_module_version.mk | 6 ++-- system/inc/system_version.h | 4 ++- system/system-versions.md | 6 +++- 6 files changed, 61 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 95619da031..cd88b9e8a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,50 @@ +## 0.8.0-rc.2 + +### FEATURES + +- USB request handlers [#1444](https://github.com/particle-iot/firmware/pull/1444) +- Out of heap system event and heap fragmentation detection [#1452](https://github.com/particle-iot/firmware/pull/1452) +- Network and cloud diagnostics [#1424](https://github.com/particle-iot/firmware/pull/1424) +- [Photon/P1] TCPClient: non-blocking, blocking, blocking with timeout writes support [#1485](https://github.com/particle-iot/firmware/pull/1485) +- [Electron] adds UPSV handling to cellular_hal [#1480](https://github.com/particle-iot/firmware/pull/1480) + +### ENHANCEMENTS + +- Serialize access to the CRC peripheral (STM32F2xx) [#1465](https://github.com/particle-iot/firmware/pull/1465) +- System.sleep() wake up reason [#1410](https://github.com/particle-iot/firmware/pull/1410) +- System.sleep(): support for multiple wake up pins [#1405](https://github.com/particle-iot/firmware/pull/1405) +- Disable WKP pin waking device up from `SLEEP_MODE_DEEP` [#1409](https://github.com/particle-iot/firmware/pull/1409) +- [Photon/P1] Increase maximum supported number of simultaneously active TCP connections [#1350](https://github.com/particle-iot/firmware/pull/1350) +- [Photon/P1] WiFi.dnsServerIP()/WiFi.dhcpServerIP() support [#1386](https://github.com/particle-iot/firmware/pull/1386) +- Generalize FuelGauge to also use alternative I2C interfaces. [#1443](https://github.com/particle-iot/firmware/pull/1443) +- Firmware update and access to internal flash via USB requests [#1456](https://github.com/particle-iot/firmware/pull/1456) +- Added docs on local build setup [#1374](https://github.com/particle-iot/firmware/pull/1374) +- Use 'using std::**' instead of define * std::* [#1258](https://github.com/particle-iot/firmware/pull/1258) +- Only remake $(TARGET_BASE).elf el al. if necessary [#1223](https://github.com/particle-iot/firmware/pull/1223) + +### BUGFIXES + +- [Electron] Fix heap bounds build for system part1 [#1478](https://github.com/particle-iot/firmware/pull/1478) +- [Electron] Guard cellular_command() with a global lock [#1415](https://github.com/particle-iot/firmware/pull/1415) +- [Electron] Fix caching of the description CRCs in the backup RAM [#1413](https://github.com/particle-iot/firmware/pull/1413) +- [Electron] connect_cancel() fix [#1464](https://github.com/particle-iot/firmware/pull/1464) +- [Electron] DCD fixes [#1454](https://github.com/particle-iot/firmware/pull/1454) +- [Electron] moves some newlib functions into part1 [#1471](https://github.com/particle-iot/firmware/pull/1471) +- [Core] Fixes I2C slave mode [#1309](https://github.com/particle-iot/firmware/pull/1309) +- [Virtual] Fixes virtual device running with UDP protocol [#1462](https://github.com/particle-iot/firmware/pull/1462) +- Fix usage of an incorrect prerequisite name in program-* targets [#1463](https://github.com/particle-iot/firmware/pull/1463) +- Fixed shadowing of write(const unint_8_t*, sizte_t) in USBKeyboard [#1372](https://github.com/particle-iot/firmware/pull/1372) + +### INTERNAL + +- Fixes some 0.8.0-rc.2 tests [#1476](https://github.com/particle-iot/firmware/pull/1476) +- fixes the unit test build [#1474](https://github.com/particle-iot/firmware/pull/1474) +- IS_CLAIMED request fixes [#1472](https://github.com/particle-iot/firmware/pull/1472) +- Documents low level USB request completion notifications [#1475](https://github.com/particle-iot/firmware/pull/1475) +- [Electron] Flash size optimizations [#1469](https://github.com/particle-iot/firmware/pull/1469) +- Minor refactoring of the USB protocol implementation [#1473](https://github.com/particle-iot/firmware/pull/1473) + + ## 0.7.0-rc.7 ### BUGFIX diff --git a/build/release.sh b/build/release.sh index 36717dd3dc..200c8a5ea7 100755 --- a/build/release.sh +++ b/build/release.sh @@ -1,4 +1,4 @@ -VERSION="0.8.0-rc.1" +VERSION="0.8.0-rc.2" function release_file() { diff --git a/build/version.mk b/build/version.mk index 3ffa3601d9..2653fce578 100644 --- a/build/version.mk +++ b/build/version.mk @@ -1,8 +1,8 @@ -VERSION_STRING = 0.8.0-rc.1 +VERSION_STRING = 0.8.0-rc.2 # PRODUCT_FIRMWARE_VERSION reported by default # FIXME: Unclear if this is used, PRODUCT_FIRMWARE_VERSION defaults to 65535 every release -VERSION = 300 +VERSION = 301 CFLAGS += -DSYSTEM_VERSION_STRING=$(VERSION_STRING) diff --git a/modules/shared/system_module_version.mk b/modules/shared/system_module_version.mk index e421cfcf24..5f644c9c09 100644 --- a/modules/shared/system_module_version.mk +++ b/modules/shared/system_module_version.mk @@ -1,8 +1,8 @@ # 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. -SYSTEM_PART1_MODULE_VERSION ?= 300 -SYSTEM_PART2_MODULE_VERSION ?= 300 -SYSTEM_PART3_MODULE_VERSION ?= 300 +SYSTEM_PART1_MODULE_VERSION ?= 301 +SYSTEM_PART2_MODULE_VERSION ?= 301 +SYSTEM_PART3_MODULE_VERSION ?= 301 RELEASE_080_MODULE_VERSION_BASE ?= 300 RELEASE_070_RC5_MODULE_VERSION ?= 204 diff --git a/system/inc/system_version.h b/system/inc/system_version.h index f674a35f5f..c88f8dcbde 100644 --- a/system/inc/system_version.h +++ b/system/inc/system_version.h @@ -65,7 +65,8 @@ extern "C" { #define SYSTEM_VERSION_v070RC5 0x00070005 #define SYSTEM_VERSION_v070RC6 0x00070006 #define SYSTEM_VERSION_v080RC1 0x00080001 -#define SYSTEM_VERSION SYSTEM_VERSION_v080RC1 +#define SYSTEM_VERSION_v080RC2 0x00080002 +#define SYSTEM_VERSION SYSTEM_VERSION_v080RC2 /** * For Library/App creators. Can be used to ensure features/api's are present. @@ -108,6 +109,7 @@ extern "C" { #define SYSTEM_VERSION_070RC5 #define SYSTEM_VERSION_070RC6 #define SYSTEM_VERSION_080RC1 +#define SYSTEM_VERSION_080RC2 typedef struct __attribute__((packed)) SystemVersionInfo { diff --git a/system/system-versions.md b/system/system-versions.md index 4cf9ffe9ce..08eac721e9 100644 --- a/system/system-versions.md +++ b/system/system-versions.md @@ -43,8 +43,12 @@ | 100 | 203 | 0.7.0-rc.4 | (Core, Photon, P1, Electron) | | 101 | 204 | 0.7.0-rc.5 | (Core, Photon, P1, Electron) | | 101 | 205 | 0.7.0-rc.6 | (Core, Photon, P1, Electron) | -| 101 | 300 | 0.8.0-rc.1 | (Photon, P1, Electron) | +| 101 | 206 | 0.7.0-rc.7 | (Core, Photon, P1, Electron) | +| 101 (200) | 300 | 0.8.0-rc.1 | (Photon, P1, Electron) | +| 101 | 300 | 0.8.0-rc.2 | (Photon, P1, Electron) | +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. To find out the release version of system firmware currently installed, in listening mode,