Skip to content

Develop/nn#18

Merged
00lllooolll00 merged 2 commits into
masterfrom
develop/nn
Apr 8, 2026
Merged

Develop/nn#18
00lllooolll00 merged 2 commits into
masterfrom
develop/nn

Conversation

@00lllooolll00

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings April 7, 2026 15:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces a compile-time feature flag for the ek_evoke (event-driven scheduler) module so it can be cleanly enabled/disabled via ek_conf.h, and updates repository ignore rules to exclude Codex metadata.

Changes:

  • Add EK_EVOKE_ENABLE module switch in ek_conf.h.
  • Gate ek_evoke header/source compilation on EK_USE_RTOS == 0 && EK_EVOKE_ENABLE == 1.
  • Ignore .codex in .gitignore (and clarify the related comment).

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
L2_Core/utils/src/ek_evoke.c Wrap implementation compilation with EK_EVOKE_ENABLE in addition to EK_USE_RTOS.
L2_Core/utils/inc/ek_evoke.h Wrap API exposure with EK_EVOKE_ENABLE in addition to EK_USE_RTOS.
ek_conf.h Define EK_EVOKE_ENABLE and document it in the module switches list.
.gitignore Add .codex to ignored entries and adjust the header comment.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 16 to 20
#include "ek_conf.h"

#if EK_USE_RTOS == 0
#if EK_USE_RTOS == 0 && EK_EVOKE_ENABLE == 1

# include "ek_def.h"

Copilot AI Apr 7, 2026

Copy link

Choose a reason for hiding this comment

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

Header doc/@note currently states the module is available when EK_USE_RTOS == 0, but this header is now additionally gated by EK_EVOKE_ENABLE == 1. Please update the top-of-file notes (or add a new one) so the documentation matches the new compile-time condition.

Copilot uses AI. Check for mistakes.
@00lllooolll00 00lllooolll00 merged commit f287c31 into master Apr 8, 2026
12 checks passed
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