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>
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>
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>
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>
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>