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

modules: Remove error module #113

Merged
merged 1 commit into from
May 29, 2024

Conversation

simensrostad
Copy link
Collaborator

Remove error module:

  • Update SEND_FATAL_ERROR() to throw assertion if called.
  • Subscribe to FATAL ERROR channel in LED module.
  • Show RED on fatal error.
  • Update LED toggle and simple config API to use blue instead of red. Red should be reserved for fatal errors.
  • Minor cleanup in prj.conf.

Remove error module:
 - Update SEND_FATAL_ERROR() to throw assertion if called.
 - Subscribe to FATAL ERROR channel in LED module.
 - Show RED on fatal error.
 - Update LED toggle and simple config API to use blue instead of red.
   Red should be reserved for fatal errors.
 - Minor cleanup in prj.conf.

Signed-off-by: Simen S. Røstad <[email protected]>
Copy link

@simensrostad simensrostad merged commit 854241a into hello-nrfcloud:main May 29, 2024
4 checks passed
# CONFIG_LOG_MODE_DEFERRED allows logging from multiple threads simultaneously without creating
# splintered log entries, at the cost of needing a buffer for storing logs.
CONFIG_LOG=y
CONFIG_NCS_SAMPLES_DEFAULTS=y
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using this kconfig hides that we have asserts and logging enabled. Do we want to hide that instead of explicitly configure each of them?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree. Its best to explicitly state the configurations.

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.

2 participants