Commit graph

12 commits

Author SHA1 Message Date
Jamie McCrae 2c85d9224f version: Replace bespoke application version with new version system
Uses Zephyr's new version infrastruction system for configuring the
version of the application and displaying it.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-05-23 13:39:41 +02:00
Gerard Marull-Paretas be3bfb0ec3 app: use extra_overlay_confs
Using OVERLAY_CONFIG in extra_args is deprecated in favor of
extra_overlay_confs.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2023-05-08 16:34:12 +02:00
Gerard Marull-Paretas aff3056ed5 app: add sample.yaml
Add a sample.yaml so that we can use twister to compile the application
in CI.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-05-04 23:13:19 +09:00
Gerard Marull-Paretas 91d86cd76d app: remove rtt config
RTT is something proprietary, not all boards/programmers have. Let's
make the application simpler.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-05-04 23:13:19 +09:00
Gerard Marull-Paretas 03849926ae app: adjust main definition
Zephyr now requires `int main(void)`. Main must return 0, all other
values are reserved.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-04-14 11:25:03 +02:00
Gerard Marull-Paretas 29fbd1ede8 devicetree: remove usage of deprecated label property
Devicetree label property has been deprecated, so remove its usage.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2022-08-25 23:55:10 -07:00
Gerard Marull-Paretas f234a7ab3d app: remove redundant CONFIG_EXAMPLESENSOR in prj.conf
The option is no longer needed, zephyr,examplesensor driver will
automatically be selected based on DT (and because we enable all of its
dependencies, including CONFIG_SENSOR).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2022-08-02 15:28:49 +02:00
Gerard Marull-Paretas 11585b1765 app, drivers: migrate includes to <zephyr/...>
Zephyr includes are now prefixed with <zephyr/...>. While the old path
can still be used when CONFIG_LEGACY_INCLUDE_PATH=y, it's better to be
prepared for the future.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2022-05-11 12:04:50 +02:00
Gerard Marull-Paretas af7ec8a8ef app: use <kernel.h> include
<zephyr.h> is a proxy to <kernel.h> in practice, so let's use <kernel.h>
instead.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2022-05-11 12:04:50 +02:00
Gerard Marull-Paretas e50d42c801 app: delete foo sample code
The initial idea behind this code was to showcase documentation. It does
not add any special value to the sample, so remove it. A proper library
can be added in the future.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2021-07-29 12:36:13 +02:00
Gerard Marull-Paretas a5e84e0b98 app: provide in-tree board overlay
Provide an overlay to shows how to run the example-application on boards
that are part of the Zephyr tree. Sometimes initial development is
performed on dev-kits, so it can be useful. A different vendor than the
one used for the custom board (Nordic) has been chosen to show
application portability.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2021-05-07 10:04:22 -04:00
Gerard Marull-Paretas d1c935e55c app: initial application skeleton
initial application skeleton demonstrating:

- custom boards
- custom DT bindings
- Out-of-tree drivers

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2021-05-07 10:04:22 -04:00