Skip to content

Commit

Permalink
Bump firmware version to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
eberseth committed Sep 30, 2023
1 parent 195f694 commit 00d4700
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 3 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
## v2

### COMPATIBILTY

Must be built using device OS v4.0.2 or greater.

### FEATURES

- Added Modbus RTU client library
- Added configurable Modbus polling for three devices

### ENHANCEMENTS

- Updated compile actions to build with the latest device OS releases for 4.x and 5.x
- Included *.def file patterns for cloud compiles to pick up Memfault includes

### BUGFIXES

- Fixed an outdated reset pin assignment to an interrupt pin


## v1

### COMPATIBILTY
Expand Down
6 changes: 5 additions & 1 deletion config-schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://particle.io/draft-07/schema#",
"$id": "https://github.com/particle-iot/monitor-edge/releases/tag/v1",
"$id": "https://github.com/particle-iot/monitor-edge/releases/tag/v2",
"type": "object",
"title": "Configuration schema for the Monitor Edge firmware from Particle",
"$comment": "the $id field doesn't strictly mean that this schema only works with that release of monitor-edge, rather, this means that the schema here was created for that version of monitor-edge, and will work on earlier and later versions until a new schema is required. This means that schema v10 will work with firmware v11, as long as there's no added features in v11 not already mentioned here",
Expand All @@ -15,6 +15,7 @@
"title": "Modbus RS-485",
"description": "Configuration for Modbus RTU with RS-485.",
"default": {},
"minimumFirmwareVersion": 2,
"properties": {
"baud": {
"$id": "#/properties/modbus_rs485/baud",
Expand Down Expand Up @@ -63,6 +64,7 @@
"title": "Modbus Polling 1",
"description": "Configuration for polling a Modbus server ID.",
"default": {},
"minimumFirmwareVersion": 2,
"properties": {
"enable": {
"$id": "#/properties/modbus1/enable",
Expand Down Expand Up @@ -196,6 +198,7 @@
"title": "Modbus Polling 2",
"description": "Configuration for polling a Modbus server ID.",
"default": {},
"minimumFirmwareVersion": 2,
"properties": {
"enable": {
"$id": "#/properties/modbus2/enable",
Expand Down Expand Up @@ -329,6 +332,7 @@
"title": "Modbus Polling 3",
"description": "Configuration for polling a Modbus server ID.",
"default": {},
"minimumFirmwareVersion": 2,
"properties": {
"enable": {
"$id": "#/properties/modbus3/enable",
Expand Down
2 changes: 1 addition & 1 deletion lib/monitor-one/src/tracker_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#endif

#ifndef EDGE_PRODUCT_VERSION
#define EDGE_PRODUCT_VERSION (1)
#define EDGE_PRODUCT_VERSION (2)
#endif

#if ( (SYSTEM_VERSION < SYSTEM_VERSION_ALPHA(5, 0, 0, 1)) && (PLATFORM_ID == PLATFORM_TRACKER) )
Expand Down
2 changes: 1 addition & 1 deletion project.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=monitor-edge
version=1.0.0
version=2.0.0
license=Apache License, Version 2.0
sentence=Particle Monitor One reference application
url=https://www.particle.io/particle-tracking-system/
Expand Down

0 comments on commit 00d4700

Please sign in to comment.