Skip to content

Commit ffc4176

Browse files
authored
Merge pull request #14 from golioth/merge/template_v2.8.0
Merge/template v2.8.0
2 parents b40c332 + 9621f87 commit ffc4176

22 files changed

+102
-722
lines changed

.github/workflows/build_zephyr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
BOARD:
1414
required: true
1515
type: string
16-
default: aludel_mini_v1_sparkfun9160_ns
16+
default: nrf9160dk/nrf9160/ns
1717
ARTIFACT:
1818
required: true
1919
type: boolean

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
ZEPHYR_SDK: [0.16.3]
20-
BOARD: ["nrf9160dk/nrf9160/ns","aludel_mini/nrf9160/ns","aludel_elixir/nrf9160/ns"]
20+
BOARD: ["nrf9160dk/nrf9160/ns","aludel_elixir/nrf9160/ns"]
2121

2222
uses: ./.github/workflows/build_zephyr.yml
2323
with:

.github/workflows/test.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,3 @@ jobs:
2222
ZEPHYR_SDK: 0.16.3
2323
BOARD: aludel_elixir/nrf9160/ns
2424
ARTIFACT: false
25-
test_build_aludel_mini:
26-
uses: ./.github/workflows/build_zephyr.yml
27-
with:
28-
ZEPHYR_SDK: 0.16.3
29-
BOARD: aludel_mini/nrf9160/ns
30-
ARTIFACT: false

CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,3 @@ target_sources(app PRIVATE src/app_rpc.c)
1212
target_sources(app PRIVATE src/app_settings.c)
1313
target_sources(app PRIVATE src/app_state.c)
1414
target_sources(app PRIVATE src/app_sensors.c)
15-
16-
add_subdirectory_ifdef(CONFIG_ALUDEL_BATTERY_MONITOR src/battery_monitor)

Kconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,4 @@ config DNS_SERVER1
1313

1414
endif # DNS_RESOLVER
1515

16-
rsource "src/battery_monitor/Kconfig"
17-
1816
source "Kconfig.zephyr"

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ images](https://github.com/golioth/reference-design-ac-power-monitor/releases).
2525

2626
- Nordic nRF9160-DK
2727
- Golioth Aludel Elixir
28-
- Golioth Aludel Mini
2928

3029
### Additional Sensors/Components
3130

@@ -48,8 +47,8 @@ This app implements:
4847

4948
### Settings Service
5049

51-
The following settings should be set in the Device Settings menu of the
52-
[Golioth Console](https://console.golioth.io).
50+
The following settings should be set in [the Device Settings menu of the
51+
Golioth Console](https://console.golioth.io/device-settings).
5352

5453
- `LOOP_DELAY_S`
5554
Adjusts the delay between sensor readings. Set to an integer value
@@ -66,8 +65,8 @@ The following settings should be set in the Device Settings menu of the
6665

6766
### Remote Procedure Call (RPC) Service
6867

69-
The following RPCs can be initiated in the Remote Procedure Call menu of
70-
the [Golioth Console](https://console.golioth.io).
68+
The following RPCs can be initiated in the Remote Procedure Call tab of
69+
each device in the [Golioth Console](https://console.golioth.io).
7170

7271
- `get_network_info`
7372
Query and return network information.
@@ -150,8 +149,6 @@ should ever write to that path.
150149
}
151150
}```
152151

153-
## Building the application
154-
155152
### OTA Firmware Update
156153

157154
This application includes the ability to perform Over-the-Air (OTA)
@@ -243,7 +240,9 @@ folder. The `build` and `deps` directories being one level higher
243240
prevents the repo from cataloging all of the changes to the dependencies
244241
and the build (so no `.gitignore` is needed).
245242

246-
### Nordic nRF9160 DK
243+
Prior to building, update `VERSION` file to reflect the firmware version
244+
number you want to assign to this build. Then run the following commands
245+
to build and program the firmware onto the device.
247246

248247
> [!WARNING]
249248
> You must perform a pristine build (use `-p` or remove the `build`

boards/aludel_elixir_ns.conf

Lines changed: 3 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,8 @@
11
# Copyright (c) 2024 Golioth, Inc.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
# General config
5-
CONFIG_HEAP_MEM_POOL_SIZE=4096
6-
CONFIG_NEWLIB_LIBC=y
7-
8-
# Networking
9-
CONFIG_NET_SOCKETS_OFFLOAD=y
10-
CONFIG_NET_IPV6=y
11-
CONFIG_NET_IPV6_NBR_CACHE=n
12-
CONFIG_NET_IPV6_MLD=n
13-
14-
# Increase native TLS socket implementation, so that it is chosen instead of
15-
# offloaded nRF91 sockets
16-
CONFIG_NET_SOCKETS_TLS_PRIORITY=35
17-
18-
# Modem library
19-
CONFIG_NRF_MODEM_LIB=y
20-
21-
# LTE connectivity with network connection manager
22-
CONFIG_NRF_MODEM_LIB_NET_IF=y
23-
CONFIG_NRF_MODEM_LIB_NET_IF_AUTO_START=y
24-
CONFIG_NRF_MODEM_LIB_NET_IF_AUTO_CONNECT=n
25-
CONFIG_NET_CONNECTION_MANAGER=y
26-
CONFIG_NET_CONNECTION_MANAGER_MONITOR_STACK_SIZE=1024
27-
28-
# Add Logs for LTE Link Handler
29-
CONFIG_GOLIOTH_SAMPLE_NRF91_LTE_MONITOR=y
30-
31-
# Disable options y-selected by NCS for no good reason
32-
CONFIG_MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED=n
33-
CONFIG_MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED=n
34-
35-
# Add Network Info Support
36-
CONFIG_MODEM_INFO=y
37-
38-
# Generate MCUboot compatible images
39-
CONFIG_BOOTLOADER_MCUBOOT=y
40-
41-
# Use Golioth Ostentus Faceplate
42-
CONFIG_LIB_OSTENTUS=y
4+
# Battery Support
5+
CONFIG_ALUDEL_BATTERY_MONITOR=y
436

7+
# Turn on regulator to power click headers
448
CONFIG_REGULATOR=y

boards/aludel_mini_nrf9160_ns.conf

Lines changed: 0 additions & 42 deletions
This file was deleted.

boards/aludel_mini_nrf9160_ns.overlay

Lines changed: 0 additions & 30 deletions
This file was deleted.

prj.conf

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ CONFIG_GOLIOTH_STREAM=y
1616
CONFIG_GOLIOTH_SAMPLE_COMMON=y
1717

1818
# Configure Golioth SDK dependencies
19-
CONFIG_EVENTFD_MAX=14
19+
CONFIG_ZVFS_EVENTFD_MAX=14
20+
CONFIG_ZVFS_OPEN_MAX=23
2021
CONFIG_LOG_PROCESS_THREAD_STACK_SIZE=1536
2122
CONFIG_MBEDTLS_ENABLE_HEAP=y
2223
CONFIG_MBEDTLS_HEAP_SIZE=10240
23-
CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=2048
24-
CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=2048
2524
CONFIG_NETWORKING=y
2625
CONFIG_NET_IPV4=y
27-
CONFIG_POSIX_MAX_FDS=23
26+
CONFIG_COAP_EXTENDED_OPTIONS_LEN=y
27+
CONFIG_COAP_EXTENDED_OPTIONS_LEN_VALUE=39
2828

2929
# Application
3030
CONFIG_MAIN_STACK_SIZE=4096
@@ -45,13 +45,12 @@ CONFIG_REBOOT=y
4545
# The rest of the runtime credentials config
4646
CONFIG_SETTINGS=y
4747
CONFIG_SETTINGS_RUNTIME=y
48-
CONFIG_GOLIOTH_SAMPLE_SETTINGS=y
4948
CONFIG_GOLIOTH_SAMPLE_SETTINGS_AUTOLOAD=y
5049
CONFIG_GOLIOTH_SAMPLE_SETTINGS_SHELL=y
5150

5251
# Misc.
5352
CONFIG_JSON_LIBRARY=y
54-
CONFIG_NETWORK_INFO=y
53+
5554
# Longer response length needed for network info
5655
CONFIG_GOLIOTH_RPC_MAX_RESPONSE_LEN=512
5756
CONFIG_I2C=y

0 commit comments

Comments
 (0)