Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SDK version #15

Merged
merged 45 commits into from
Dec 30, 2024
Merged

Update SDK version #15

merged 45 commits into from
Dec 30, 2024

Conversation

MarkoPura
Copy link
Contributor

No description provided.

szczys and others added 30 commits May 28, 2024 13:46
Signed-off-by: Mike Szczys <mike@golioth.io>
See CHANGELOG for details.

Signed-off-by: Mike Szczys <mike@golioth.io>
Signed-off-by: Mike Szczys <mike@golioth.io>
See CHANGELOG for details

Signed-off-by: Mike Szczys <mike@golioth.io>
Signed-off-by: Mike Szczys <mike@golioth.io>
Signed-off-by: Chris Wilson <chris@cgnd.dev>
Signed-off-by: Chris Wilson <chris@cgnd.dev>
Signed-off-by: Chris Wilson <chris@cgnd.dev>
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 <mike@golioth.io>
Signed-off-by: Mike Szczys <mike@golioth.io>
see CHANGELOG for details.

Signed-off-by: Mike Szczys <mike@golioth.io>
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 <m.niestroj@emb.dev>
Add the default CBOR to LightDB Stream pipeline and directions on how to
use it.

Signed-off-by: Mike Szczys <mike@golioth.io>
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 <mike@golioth.io>
Signed-off-by: Mike Szczys <mike@golioth.io>
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 <mike@golioth.io>
Signed-off-by: Mike Szczys <mike@golioth.io>
See CHANGELOG for details.

Signed-off-by: Mike Szczys <mike@golioth.io>
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 <mike@golioth.io>
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 <mike@golioth.io>
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 <mike@golioth.io>
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 <mike@golioth.io>
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 <mike@golioth.io>
see CHANGELOG for details

Signed-off-by: Mike Szczys <mike@golioth.io>
Fixes formatting to adhere to .clang-format.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
Fixes formatting to adhere to .clang-format.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
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 <georgedanielmangum@gmail.com>
Adds a log message indicating the streaming data to Golioth was skipped due
to no connection established.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
Signed-off-by: Mike Szczys <mike@golioth.io>
Signed-off-by: Mike Szczys <mike@golioth.io>
szczys and others added 14 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 <mike@golioth.io>
Signed-off-by: Marko Puric <marko@golioth.io>
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 <mike@golioth.io>
Prevents a situation where the device blocks all other processes while
trying to constantly read from the sensors.

Signed-off-by: Mike Szczys <mike@golioth.io>
see CHANGELOG for details

Signed-off-by: Mike Szczys <mike@golioth.io>
Signed-off-by: Marko Puric <marko@golioth.io>
Signed-off-by: Marko Puric <marko@golioth.io>
Signed-off-by: Marko Puric <marko@golioth.io>
Signed-off-by: Marko Puric <marko@golioth.io>
Signed-off-by: Marko Puric <marko@golioth.io>
Signed-off-by: Marko Puric <marko@golioth.io>
Signed-off-by: Marko Puric <marko@golioth.io>
Signed-off-by: Marko Puric <marko@golioth.io>
release tempalte_2.5.0

Signed-off-by: Marko Puric <marko@golioth.io>
@MarkoPura MarkoPura requested a review from szczys December 20, 2024 10:09
@MarkoPura MarkoPura marked this pull request as ready for review December 20, 2024 10:11
Signed-off-by: Marko Puric <marko@golioth.io>
@MarkoPura MarkoPura merged commit 27827cd into main Dec 30, 2024
2 checks passed
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.

5 participants