Skip to content

Refactor implementation to comply with MISRA rules.#77

Merged
dmitrykos merged 1 commit into
mainfrom
port
May 30, 2026
Merged

Refactor implementation to comply with MISRA rules.#77
dmitrykos merged 1 commit into
mainfrom
port

Conversation

@dmitrykos

Copy link
Copy Markdown
Collaborator
  • Rename IKernel::EState to IKernel::EKernelState and its members from STATE_ to KSTATE_ to resolve ambiguity with task state.
  • Make EnumerateTasks, EnumerateKernelTasks safe by using stk::ArrayView wrapper for arrays.

@dmitrykos dmitrykos self-assigned this May 30, 2026
@dmitrykos dmitrykos added the enhancement New feature or request label May 30, 2026
@github-actions

github-actions Bot commented May 30, 2026

Copy link
Copy Markdown

MemBrowse Memory Report

stm32f0-sleep

  • FLASH: .text +188 B (+1.0%, 19,800 B / 65,536 B, total: 30% used)

stm32f1-sleep

  • FLASH: .text +196 B (+1.0%, 18,921 B / 131,072 B, total: 14% used)

stm32f4-sleep

  • FLASH: .text +196 B (+1.0%, 19,749 B / 1,048,576 B, total: 2% used)

@dmitrykos dmitrykos force-pushed the port branch 3 times, most recently from e01dd17 to c2a324f Compare May 30, 2026 19:57
@SuperTinyKernel-RTOS SuperTinyKernel-RTOS deleted a comment from github-actions Bot May 30, 2026
@SuperTinyKernel-RTOS SuperTinyKernel-RTOS deleted a comment from github-actions Bot May 30, 2026
@github-actions

Copy link
Copy Markdown

LCOV of commit c2a324f during Code Coverage - Generic #562

Summary coverage rate:
  lines......: 99.8% (1289 of 1291 lines)
  functions..: 44.4% (1617 of 3641 functions)
  branches...: no data found

Files changed coverage rate: n/a

⛔ The code coverage is too low: 99.85. Expected at least 100.

Rename IKernel::EState to IKernel::EKernelState and its members from STATE_ to KSTATE to resolve  ambiguity with task state.
Make EnumerateTasks, EnumerateKernelTasks safe by using ArrayView wrapper for arrays.
@github-actions

Copy link
Copy Markdown

LCOV of commit db8f5d3 during Code Coverage - Generic #563

Summary coverage rate:
  lines......: 100.0% (1289 of 1289 lines)
  functions..: 44.4% (1617 of 3641 functions)
  branches...: no data found

Files changed coverage rate: n/a

@dmitrykos dmitrykos merged commit ef404f9 into main May 30, 2026
51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant