Skip to content

Commit 3dd3d49

Browse files
committed
bump module version for 1.3.1 (v1321), bump bootloader version (v401), update CHANGELOG.md, update upgrade-downgrade script
1 parent e58b5eb commit 3dd3d49

File tree

3 files changed

+91
-0
lines changed

3 files changed

+91
-0
lines changed

CHANGELOG.md

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,94 @@
3838
- `wiring/no_fixture` test adjustments for Gen 2 and Gen 3 platforms [#1898](https://github.com/particle-iot/device-os/pull/1898)
3939
- Coveralls test coverage reports generated by Travis [#1896](https://github.com/particle-iot/device-os/pull/1896)
4040

41+
## 1.3.1
42+
43+
>**Note:** If your Gen 2 Photon/P1 or Gen 3 device does not have a Cloud connection, it is recommended to update system firmware, and then the bootloader via CLI with `particle flash --serial bootloader.bin` (bootloaders found in Github release).
44+
>
45+
>This release contains v401 bootloaders.
46+
47+
### FEATURES
48+
49+
- [gen 3] Nordic SoftDevice update support [#1816](https://github.com/particle-iot/device-os/pull/1816)
50+
- [gen 3] API for selecting BLE antenna for BLE radio [#1847](https://github.com/particle-iot/device-os/pull/1847)
51+
- [gen 3] API for setting/getting BLE device name [#1847](https://github.com/particle-iot/device-os/pull/1847)
52+
- [gen 3] API for setting BLE device address [#1847](https://github.com/particle-iot/device-os/pull/1847)
53+
- [gen 3] API for manually discovering peer device's BLE services and characteristics [#1847](https://github.com/particle-iot/device-os/pull/1847)
54+
- [gen 3] API for fetching discovered peer's services and characteristics [#1847](https://github.com/particle-iot/device-os/pull/1847)
55+
- [gen 3] API in BlePeerDevice for establishing BLE connection without scanning required [#1847](https://github.com/particle-iot/device-os/pull/1847)
56+
- [gen 3] API for manually subscribing/unsubscribing peer characteristic's notification [#1847](https://github.com/particle-iot/device-os/pull/1847)
57+
- [gen 3] API for disconnecting all on-going BLE connections [#1847](https://github.com/particle-iot/device-os/pull/1847)
58+
- [gen 3] BLE support [#1740](https://github.com/particle-iot/device-os/pull/1740)
59+
- [gen 3] NFC support [#1606](https://github.com/particle-iot/device-os/pull/1606)
60+
61+
### ENHANCEMENTS
62+
63+
- [Boron/BSoM] power: Increases charging current to 900mA when powered through VIN (VUSB) pin [#1846](https://github.com/particle-iot/device-os/pull/1846)
64+
- Cancel network connection when processing a USB request that resets the device [#1830](https://github.com/particle-iot/device-os/pull/1830)
65+
- Particle.connected() should return true only after handshake messages are acknowledged [#1825](https://github.com/particle-iot/device-os/pull/1825)
66+
- [gen 3] USB state tracking enhancements [#1871](https://github.com/particle-iot/device-os/pull/1871)
67+
- [gen 3] Adds timeouts to I2C HAL operations [#1875](https://github.com/particle-iot/device-os/pull/1875)
68+
- [gen 3] Refactors BLE event dispatching [#1847](https://github.com/particle-iot/device-os/pull/1847)
69+
- [gen 3] Decreases BLE runtime RAM consumption [#1847](https://github.com/particle-iot/device-os/pull/1847)
70+
- [gen 3] Supports up to 23 local characteristics, 20 of them are available for user application [#1847](https://github.com/particle-iot/device-os/pull/1847)
71+
- [gen 3] Supports up to 3 central links [#1847](https://github.com/particle-iot/device-os/pull/1847)
72+
- [gen 3] More convenient methods provided in BleUuid class [#1847](https://github.com/particle-iot/device-os/pull/1847)
73+
- ensures AT interface is responsive [#1886](https://github.com/particle-iot/device-os/pull/1886)
74+
- [enhancement] Cache cellular diagnostics [#1810](https://github.com/particle-iot/device-os/pull/1810)
75+
- [enhancement] allow the bootloader to be flashed over DFU [#1788](https://github.com/particle-iot/device-os/pull/1788)
76+
77+
### BUG FIXES
78+
79+
- [Gen 3] Fixes heap and application static RAM overlap introduced in 1.3.0-rc.1 [#1898](https://github.com/particle-iot/device-os/pull/1898)
80+
- Fixes tinker build errors when building with `LOG_SERIAL=y` [#1898](https://github.com/particle-iot/device-os/pull/1898)
81+
- Fixes dynalib alignment issue when compiling relatively large applications potentially due to an unconfirmed bug in GCC by moving the dynalib into a separate section (`.dynalib`) [#1894](https://github.com/particle-iot/device-os/pull/1894)
82+
- [Gen 3] Fixes incorrect handling of `MODULE_INFO_FLAG_DROP_MODULE_INFO` in the bootloader [#1897](https://github.com/particle-iot/device-os/pull/1897)
83+
- [Gen 3] Adds a dummy suffix to the NCP and SoftDevice modules' module info with unique SHA to cause the communication layer to detect the change in SYSTEM DESCRIBE after NCP or SoftDevice update [#1897](https://github.com/particle-iot/device-os/pull/1897)
84+
- Fixes a regression introduced in 1.1.0 where the system layer was always sending its handshake messages even if the session was resumed causing increased data usage [#1905](https://github.com/particle-iot/device-os/pull/1905)
85+
- Properly seeds `rand()` in multiple threads including system thread. Fixes ephemeral port allocation in LwIP on Gen 3 platforms [#1905](https://github.com/particle-iot/device-os/pull/1905)
86+
- Control requests that reset the device (e.g. `particle usb dfu`) no longer cause unnecessary reconnection to the cloud [#1905](https://github.com/particle-iot/device-os/pull/1905)
87+
- Initialize user module in monolithic builds [#1905](https://github.com/particle-iot/device-os/pull/1905)
88+
- fixes RSSI regression on G350 (2G) devices [#1841](https://github.com/particle-iot/device-os/pull/1841)
89+
- [electron, gen3] Temporarily increase IDLE task priority whenever a thread exits (calls vTaskDelete) to resolve a memory leak that resulted in device being stuck "blinking green" until reset in some cases. [#1862](https://github.com/particle-iot/device-os/pull/1862)
90+
- [gen 3] Fixes mesh pub/sub socket consuming all packet buffers [#1839](https://github.com/particle-iot/device-os/pull/1839)
91+
- [Photon/P1] Bootloader correctly re-imports the DCT functions from system firmware after its modification through DFU [#1868](https://github.com/particle-iot/device-os/pull/1868)
92+
- [gen 3] `Mesh.off()` disconnects the cloud. Resolves an issue with `loop()` not being executed in `SEMI_AUTOMATIC` mode after `Mesh.off()` [#1857](https://github.com/particle-iot/device-os/pull/1857)
93+
- [Argon] Fixes the issue being unable to reset the device through RST pin by changing the ESPEN mode to `OUTPUT_OPEN_DRAIN` [#1870](https://github.com/particle-iot/device-os/pull/1870)
94+
- [Electron/LTE] devices drop Cloud connection every time user firmware opens and closes a TCP socket [ch34976]() [#1854](https://github.com/particle-iot/device-os/pull/1854)
95+
- [gen 2] Fixes an issue with clock stretching in I2C slave mode with underrun reads with certain I2C masters (e.g. Gen 3 devices) [#1829](https://github.com/particle-iot/device-os/pull/1829)
96+
- Fix to ensure device resets after bootloader update [#1873](https://github.com/particle-iot/device-os/pull/1873)
97+
- Fixes boot issue for Core introduced in 1.2.1-rc.3 [#1873](https://github.com/particle-iot/device-os/pull/1873)
98+
- [gen 3] Resolved a HardFault after USB cable is unplugged under certain conditions [#1871](https://github.com/particle-iot/device-os/pull/1871)
99+
- [gen 3] BLE advertising parameters didn't apply, issue #1874 [#1847](https://github.com/particle-iot/device-os/pull/1847)
100+
- [gen 3] BLE scanning parameters didn't apply, issue #1859 and #1855 [#1847](https://github.com/particle-iot/device-os/pull/1847)
101+
- [gen 3] Local characteristic notification causes SOS: [#1847](https://github.com/particle-iot/device-os/pull/1847)
102+
- [gen 3] BLE address order reversed [#1847](https://github.com/particle-iot/device-os/pull/1847)
103+
- [gcc] fixes virtual platform exception on startup [#1878](https://github.com/particle-iot/device-os/pull/1878)
104+
- Add two-digit mnc diagnostic flag [#1804](https://github.com/particle-iot/device-os/pull/1807)
105+
- BLE fixes from 1.3.0-alpha.1 [#1817](https://github.com/particle-iot/device-os/pull/1817)
106+
- NFC Context parameter is missing and NFC.update() will remove callback, fixes from 1.3.0-alpha.1 [#1818](https://github.com/particle-iot/device-os/pull/1818)
107+
- [lte] cellular fixes [#1824](https://github.com/particle-iot/device-os/pull/1824)
108+
- fixes #1811 - increases the number of event handlers to 6 [#1822](https://github.com/particle-iot/device-os/pull/1822)
109+
- [gen 3] fixes memory usage diagnostics (reported negative values in safe mode) [#1819](https://github.com/particle-iot/device-os/pull/1819)
110+
- System.disableUpdates() operates asynchronously [#1801](https://github.com/particle-iot/device-os/pull/1801)
111+
- [gen 3] [bsom] Building platform BSOM results flash overflow. [#1802](https://github.com/particle-iot/device-os/pull/1802)
112+
- [gen 3] [hal] fixes early wakeup by RTC from STOP sleep mode [#1803](https://github.com/particle-iot/device-os/pull/1803)
113+
114+
### INTERNAL
115+
116+
- Adjusts on-device tests [#1898](https://github.com/particle-iot/device-os/pull/1898)
117+
- Add coverage to CMake unit-tests [#1860](https://github.com/particle-iot/device-os/pull/1860)
118+
- Pull test implementation out of source file [#1867](https://github.com/particle-iot/device-os/pull/1867)
119+
- [gen 3] Changes WKP pin to A7 for SoM platforms to avoid an overlap with Ethernet chip on EVB ESPEN mode to `OUTPUT_OPEN_DRAIN` [#1837](https://github.com/particle-iot/device-os/pull/1837)
120+
- [hal] Fixes WIFIEN pin mode for ASoM [#1889](https://github.com/particle-iot/device-os/pull/1889)
121+
- Refactor/move catch test [#1869](https://github.com/particle-iot/device-os/pull/1869)
122+
- fixes to communications public interface [#1863](https://github.com/particle-iot/device-os/pull/1863)
123+
- Refactors platform pinmap to be in platform-specific headers [#1838](https://github.com/particle-iot/device-os/pull/1838)
124+
- Improve compatibility with recent versions of GCC [#1806](https://github.com/particle-iot/device-os/pull/1806)
125+
- Set path to Boost libraries [#1872](https://github.com/particle-iot/device-os/pull/1872)
126+
- [docs] Updates `spark_publish_vitals` and build scripts documentation. [#1800](https://github.com/particle-iot/device-os/pull/1800)
127+
- [docs] update the test documentation [#1683](https://github.com/particle-iot/device-os/pull/1683)
128+
41129
## 1.3.1-rc.1
42130

43131
>**Note:** If your Gen 2 device does not have a Cloud connection, it is recommended to update system firmware, and then the bootloader via CLI with `particle flash --serial bootloader.bin` (bootloaders found in Github release). Gen 3 devices should not need an updated bootloader this release.

system/inc/system_version.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ extern "C" {
133133
#define SYSTEM_VERSION_v130ALPHA1 SYSTEM_VERSION_ALPHA(1, 3, 0, 1)
134134
#define SYSTEM_VERSION_v130RC1 SYSTEM_VERSION_RC(1, 3, 0, 1)
135135
#define SYSTEM_VERSION_v131RC1 SYSTEM_VERSION_RC(1, 3, 1, 1)
136+
#define SYSTEM_VERSION_v131 SYSTEM_VERSION_DEFAULT(1, 3, 1)
136137
#define SYSTEM_VERSION_v140RC1 SYSTEM_VERSION_RC(1, 4, 0, 1)
137138
#define SYSTEM_VERSION SYSTEM_VERSION_v140RC1
138139

@@ -232,6 +233,7 @@ extern "C" {
232233
#define SYSTEM_VERSION_130ALPHA1
233234
#define SYSTEM_VERSION_130RC1
234235
#define SYSTEM_VERSION_131RC1
236+
#define SYSTEM_VERSION_131
235237
#define SYSTEM_VERSION_140RC1
236238

237239
typedef struct __attribute__((packed)) SystemVersionInfo

system/system-versions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@
9999
| 311 | 1300 | 1.3.0-alpha.1 | Core, Photon, P1, Electron, Xenon, Argon, Boron, X SoM, A SoM, B SoM |
100100
| 311 | 1301 | 1.3.0-rc.1 | Core, Photon, P1, Electron, Xenon, Argon, Boron, X SoM, A SoM, B SoM |
101101
| 400 | 1320 | 1.3.1-rc.1 | Core, Photon, P1, Electron, Xenon, Argon, Boron, X SoM, A SoM, B SoM |
102+
| 401 | 1321 | 1.3.1 | Core, Photon, P1, Electron, Xenon, Argon, Boron, X SoM, A SoM, B SoM |
102103
| 500 | 1400 | 1.4.0-rc.1 | Core, Photon, P1, Electron, Xenon, Argon, Boron, X SoM, A SoM, B SoM |
103104

104105
[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.

0 commit comments

Comments
 (0)