Samples
The nRF Connect SDK provides samples that specifically target Nordic Semiconductor devices and show how to implement typical use cases with Nordic Semiconductor libraries and drivers.
Samples showcase a single feature or library, while Applications include a variety of libraries to implement a specific use case.
Zephyr also provides a variety of application samples and demos. Documentation for those is available in Zephyr’s Samples and Demos section. For very simple samples, see the Basic Samples. Those samples are a good starting point for understanding how to put together your own application.
Note
All samples in the nRF Connect SDK use Fatal error handler library and are configured to perform a system reset if a fatal error occurs.
This behavior is different from how fatal errors are handled in the Zephyr samples.
You can change the default behavior by updating the configuration option CONFIG_RESET_ON_FATAL_ERROR
.