Skip to content

Commit 566bddc

Browse files
authored
Merge pull request #2 from golioth/cdwilson/modbus-vibration-monitor
Add Modbus Vibration Monitor reference design
2 parents b6e2182 + 3ccfdb5 commit 566bddc

21 files changed

+950
-254
lines changed

.github/workflows/build_zephyr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
6161
- name: Build with West
6262
run: |
63-
west build -p -b ${{ inputs.BOARD }} app -- -DCONFIG_MCUBOOT_IMGTOOL_SIGN_VERSION=\"0.0.0\"
63+
west build -p -b ${{ inputs.BOARD }} app
6464
6565
- name: Prepare artifacts
6666
if: inputs.ARTIFACT == true && inputs.TAG != ''

CHANGELOG.md

Lines changed: 3 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- Copyright (c) 2023 Golioth, Inc. -->
1+
<!-- Copyright (c) 2024 Golioth, Inc. -->
22
<!-- SPDX-License-Identifier: Apache-2.0 -->
33

44
# Changelog
@@ -7,64 +7,6 @@ All notable changes to this project will be documented in this file.
77
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
88
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

10-
## [template_v1.2.0] - 2023-11-08
10+
## [Unreleased]
1111

12-
### Added
13-
- GitHub workflow to create draft release and add compiled binaries to it.
14-
15-
### Changed
16-
- Update to most recent Golioth Zephyr SDK release v0.8.0 which uses:
17-
- nRF Connect SDK v2.5.0(NCS)
18-
- Zephyr v3.5.0
19-
- Upgrade `golioth/golioth-zephyr-boards` dependency to [`v1.0.1`](https://github.com/golioth/golioth-zephyr-boards/tree/v1.0.1)
20-
- Dependencies use https instead of ssh GitHub URLs
21-
- libostentus removed from code base and included as a Zephyr module
22-
23-
### Fixed
24-
- Fix build error when `CONFIG_LIB_OSTENTUS=n` on the `aludel_mini_v1_sparkfun9160` board.
25-
26-
## [template_v1.1.0] - 2023-08-18
27-
28-
### Breaking Changes
29-
- Golioth services (RPC, Settings, etc.) now use zcbor instead of qcbor
30-
- golioth-zephyr-boards repo now included as a module
31-
- Remove `golioth-boards` directory
32-
- Remove `golioth-boards` from .gitignore
33-
- Remove `zephyr/module.yml`
34-
- zephyr-network-info repo no included as a module
35-
- Remove `src/network_info` directory
36-
- Remove `network_info/` from .gitignore
37-
- Remove `add_subdirectory(src/network_info)` from CMakeLists.txt
38-
39-
### Changed
40-
- update to most recent Golioth Zephyr SDK release v0.7.1 which uses:
41-
- nRF Connect SDK v2.4.1 (NCS)
42-
- Zephyr v3.3.99-ncs1-1
43-
- update DFU flash.c/flash.h files
44-
- update board config for nrf9160dk_nrf9160_ns and aludel_mini_v1_sparkfun9160_ns
45-
- update LTE link control: Disable samples/common link control and use in-app link control to start
46-
connection asynchronously
47-
48-
### Fixed
49-
- main.c: return int from main()
50-
- battery_monitor.c: use void as initialization param
51-
- main.c: use LOG_ERR() instead of printk() for button errors
52-
53-
## [template_v1.0.1] - 2023-07-14
54-
55-
### Fixed
56-
- Turn on Golioth LED when connected
57-
- Correctly reset `desired` endpoints when `example_int1` is changed by itself
58-
- Fix deadlock behavior when running `set_log_level` RPC multiple times
59-
- Add missing license info
60-
- Removed unused dependencies
61-
- Code formatting
62-
- Typos
63-
- Document forking/merging recommendations
64-
65-
## [template_v1.0.0] - 2023-07-11
66-
67-
### Added
68-
- Initial release
69-
- Support for aludel_mini_v1_sparkfun9160 (custom Golioth board)
70-
- Support for nrf9160dk_nrf9160_ns (commercially available)
12+
- Initial release.

CMakeLists.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
# Copyright (c) 2022-2023 Golioth, Inc.
1+
# Copyright (c) 2022-2024 Golioth, Inc.
22
# SPDX-License-Identifier: Apache-2.0
33

44
cmake_minimum_required(VERSION 3.20.0)
55

6+
if((BOARD STREQUAL nrf9160dk_nrf9160) OR (BOARD STREQUAL nrf9160dk_nrf9160_ns))
7+
set(SHIELD "arduino_uno_click")
8+
endif()
9+
610
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
711

8-
project(rd_template)
12+
project(modbus_vibration_monitor)
913

1014
target_sources(app PRIVATE src/main.c)
1115
target_sources(app PRIVATE src/app_rpc.c)
@@ -14,5 +18,6 @@ target_sources(app PRIVATE src/app_state.c)
1418
target_sources(app PRIVATE src/app_work.c)
1519
target_sources(app PRIVATE src/dfu/app_dfu.c)
1620
target_sources_ifdef(CONFIG_BOOTLOADER_MCUBOOT app PRIVATE src/dfu/flash.c)
21+
target_sources(app PRIVATE src/qm30vt2.c)
1722

1823
add_subdirectory_ifdef(CONFIG_ALUDEL_BATTERY_MONITOR src/battery_monitor)

0 commit comments

Comments
 (0)