Skip to content

Conversation

@szczys
Copy link
Contributor

@szczys szczys commented Mar 10, 2025

Merge RD Template tip-of-main to update this reference design ahead of the Golioth Firmware SDK v0.18.0 release.

resolves https://github.com/golioth/devrel-issue-tracker/issues/484

szczys and others added 30 commits May 28, 2024 13:46
See CHANGELOG for details.

Signed-off-by: Mike Szczys <[email protected]>
See CHANGELOG for details

Signed-off-by: Mike Szczys <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
The default Golioth Pipeline for a new project applies to CBOR data and not
JSON data. This updates the data type to use CBOR.

NOTE: By default the pipeline will not include the path with the data. The
RD Template sends to the "sensor" path, but LightDB data will not be shown
under that path unless an inject transform is added.

Signed-off-by: Mike Szczys <[email protected]>
see CHANGELOG for details.

Signed-off-by: Mike Szczys <[email protected]>
Specify application version using VERSION file in application root
directory. This is a standard mechanism provided by Zephyr.

CONFIG_MCUBOOT_IMGTOOL_SIGN_VERSION is automatically set to proper version
according to VERSION file contents.

Signed-off-by: Marcin Niestroj <[email protected]>
Add the default CBOR to LightDB Stream pipeline and directions on how to
use it.

Signed-off-by: Mike Szczys <[email protected]>
libostentus is now a Zephyr driver. Update the module version and change
all API calls to match the driver syntax. Add reset and firmware version
read when app first runs.

Signed-off-by: Mike Szczys <[email protected]>
Signed-off-by: Mike Szczys <[email protected]>
Update to a set of board definitions that use Hardware Model v2 for Zephyr
v3.7.0. Update board overlay files accordingly.

Signed-off-by: Mike Szczys <[email protected]>
See CHANGELOG for details.

Signed-off-by: Mike Szczys <[email protected]>
We need to substitute forward-slash for underscore when naming artifacts
for the new Zephyr board names. The regex approach taken fails when using
sh but will pass when the workflow is instructed to use bash.

Signed-off-by: Mike Szczys <[email protected]>
We use the `template_v#.#.#` to differentiate template tags from tags on
reference designs that fork this repository.

Add the `template_` prefix to the default release number presented when
running the GitHub action to generate a new draft release.

Signed-off-by: Mike Szczys <[email protected]>
Use --sysbuild for all board as recommended. This solves the deprecation
warnings when building for the nRF91 without sysbuild.

Bump the golioth-zephyr-boards module version to incorporate changes
necessary to use sysbuild with aludel_elixir.

Signed-off-by: Mike Szczys <[email protected]>
Nordic recommends that multi-artifact builds (like mcuboot + app in this
repository) use a static partition table. The resolves the build warning:

---------------------------------------------------------------------
--- WARNING: Using a bootloader without pm_static.yml.            ---
--- There are cases where a deployed product can consist of       ---
--- multiple images, and only a subset of these images can be     ---
--- upgraded through a firmware update mechanism. In such cases,  ---
--- the upgradable images must have partitions that are static    ---
--- and are matching the partition map used by the bootloader     ---
--- programmed onto the device.                                   ---
---------------------------------------------------------------------

Signed-off-by: Mike Szczys <[email protected]>
We were previously testing for only the aludel_mini but building for all
boards on every PR will help catch digressions sooner.

Signed-off-by: Mike Szczys <[email protected]>
see CHANGELOG for details

Signed-off-by: Mike Szczys <[email protected]>
Fixes formatting to adhere to .clang-format.

Signed-off-by: Daniel Mangum <[email protected]>
Fixes formatting to adhere to .clang-format.

Signed-off-by: Daniel Mangum <[email protected]>
When using LTE, we may start fetching sensor readings before a connection
is established with Golioth. Readings can be shown on a local display
during this period, but attempting to send to Golioth will fail. This
updates the sensor reading streaming, which is just a counter in this case,
to only attempt to stream readings to Golioth when connected. This mirrors
the behavior of the battery monitor.

Signed-off-by: Daniel Mangum <[email protected]>
Adds a log message indicating the streaming data to Golioth was skipped due
to no connection established.

Signed-off-by: Daniel Mangum <[email protected]>
szczys added 12 commits October 2, 2024 15:38
The new version of upload artifact disallows repeat upload to the same
directory. Instead, artifacts should be uploaded using unique names, then
gathered into a single archive using the merge and pattern parameters.

- Split board name into its own step
- Use board name for build, artifact names, and upload archive name

Signed-off-by: Mike Szczys <[email protected]>
This is based on NCS v2.8.0

- Update async callbacks:
  - Remove golioth_response param
  - Add golioth_status and golioth_coap_rsp_code params
- Replace deprecated CONFIG_EVENTFD_MAX with CONFIG_ZVFS_OPEN_MAX
- Replace deprecated CONFIG_POSIX_MAX_FDS with CONFIG_ZVFS_OPEN_MAX
- Use CONFIG_MBEDTLS_LEGACY_CRYPTO_C to enable support for p-384 curves

Signed-off-by: Mike Szczys <[email protected]>
Prevents a situation where the device blocks all other processes while
trying to constantly read from the sensors.

Signed-off-by: Mike Szczys <[email protected]>
see CHANGELOG for details

Signed-off-by: Mike Szczys <[email protected]>
Add ecdsa to the pip install command. This package is needed since Golioth
Firmware SDK v0.16.0 (probably part of NCS v2.8.0 but unconfirmed).
Unfortunately the Zephyr requirements.txt does not include this package.

Signed-off-by: Mike Szczys <[email protected]>
see CHANGELOG for details

Signed-off-by: Mike Szczys <[email protected]>
This commit converts README.rst to README.md. No substantive changes have
been made.

Signed-off-by: Mike Szczys <[email protected]>
- add overview of functionality
- add a supported hardware overview
- move Golioth Features above Local set up
- Separate Stream from State
- Add Stream example JSON
- Add LightDB State Example JSON
- Clarify LightDB State functionality
- update OTA instructions for Packages/Cohorts/Deployments
- Move pipelines higher in the document
- Reverence the pipelines section from the Stream section
- Move hardware variants lower in the document
- Simplify the hardware variants section
- rename opening section
- make all headings after the first subheadings
- fix mention of LightDB Stream
- properly style admonitions for GitHub
- add section for additional sensors/components
- remove hardware variations sections
- add mention of use cases and link to projects site
- add section for asking questions

Signed-off-by: Mike Szczys <[email protected]>
Signed-off-by: Mike Szczys <[email protected]>
Merge RD Template tip-of-main to update this reference design ahead of the
Golioth Firmware SDK v0.18.0 release.
@szczys szczys merged commit f95eeab into main Mar 11, 2025
3 checks passed
@szczys szczys deleted the merge/template_307e809 branch March 11, 2025 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants