Skip to content

Enable debugging and fix some clang-tidy issues - #13

Merged
AndyEveritt merged 20 commits into
3.7-devfrom
3.7-docker
Sep 7, 2026
Merged

AndyEveritt merged 20 commits into
3.7-devfrom
3.7-docker

Conversation

@AndyEveritt

Copy link
Copy Markdown
Contributor
  • Adds debug flags to builds when DEBUG_FLAGS is set in a parent make file or environment variable (normally set by RRF Makefile)
  • Fixes some minor clang-tidy issues
  • Allows it to be built for 64 bit linux

Comment thread Makefiles/SAME51_RTOS.mk
ifeq ($(DEBUG),1)
SAME51_RTOS_CXXFLAGS += -O0 -g3
else
SAME51_RTOS_CXXFLAGS += -O2

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why is -O2 removed by default?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This one is accidental. Will fix

Comment thread Makefiles/SAME70.mk Resolved
@AndyEveritt
AndyEveritt merged commit f20da64 into 3.7-dev Sep 7, 2026
1 check passed
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants