Skip to content

Conversation

@iabdalkader
Copy link

@iabdalkader iabdalkader commented Nov 17, 2025

Add debug config overlay to easily build debug images.

Usage: ./extra/build.sh <board> --debug

The build includes extra/debug.conf which enables:

  • Debug mode with assertions and verbose output
  • Debug-level logging (level 4)
  • Stack overflow detection
  • Thread monitoring
  • Debug optimizations (-Og)

Note: I think we should disable the logging module by default for production builds, what good is it for the user? It's just taking space and processing.

Add debug config overlay to easily build debug images.

Usage: ./extra/build.sh <board> --debug

The build includes extra/debug.conf which enables:

- Debug mode with assertions and verbose output
- Debug-level logging (level 4)
- Stack overflow detection
- Thread monitoring
- Debug optimizations (-Og)

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
@iabdalkader iabdalkader requested a review from pillo79 November 18, 2025 08:12
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.

1 participant