Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: fatal_error: Don't enable fatal handler by default globally
Enabling custom fatal error handler globally can be problematic for sdk-zephyr samples built in NCS context, as they may define their own handlers, causing linker error. As there's no elegant way to handle that on the sample side, other than noup patches in sdk-zephyr, disable the RESET_ON_FATAL_ERROR config by default. As an alternative for NCS, the config will now be implied by NCS_SAMPLES_DEFAULTS config, which is exclusive for NCS samples only. Signed-off-by: Robert Lubos <[email protected]>
- Loading branch information