Skip to content

Add CMSIS RTOS2 wrapper (based on 2.3.0 API version).#68

Open
dmitrykos wants to merge 4 commits intomainfrom
cmsis
Open

Add CMSIS RTOS2 wrapper (based on 2.3.0 API version).#68
dmitrykos wants to merge 4 commits intomainfrom
cmsis

Conversation

@dmitrykos
Copy link
Copy Markdown
Collaborator

@dmitrykos dmitrykos commented Apr 6, 2026

Also:

  • Improve ISR compatibility for stk::sync classes.
  • Improve performance of stk::sync classes.
  • Modify GetTid() to return TID_ISR_N + ISR # value if called inside ISR (this allows stk::sync::Mutex usage inside ISR).
  • Add stk::memory::BlockMemoryPool new API which is used for osMemoryPool API of CMSIS RTOS2 directly.
  • Add sync::MessageQueue and sync::MessageQueueT<> wrapper.

Work in progress.

Improve ISR compatibility for stk::sync classes.
Improve performance of stk::sync classes.
Modify GetTid() to return TID_ISR + ISR # value if called inside ISR.
@dmitrykos dmitrykos self-assigned this Apr 6, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 6, 2026

LCOV of commit 5bc7287 during Code Coverage - Generic #483

Summary coverage rate:
  lines......: 97.1% (1114 of 1147 lines)
  functions..: 46.6% (1491 of 3199 functions)
  branches...: no data found

Files changed coverage rate: n/a

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

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 6, 2026

MemBrowse Memory Report

stm32f0-sleep

  • FLASH: .text +452 B (+2.4%, 19,196 B / 65,536 B, total: 29% used)

stm32f1-sleep

  • FLASH: .text +444 B (+2.5%, 18,297 B / 131,072 B, total: 14% used)

stm32f4-sleep

  • FLASH: .text +452 B (+2.4%, 19,133 B / 1,048,576 B, total: 2% used)

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

LCOV of commit 259e721 during Code Coverage - Generic #484

Summary coverage rate:
  lines......: 97.1% (1114 of 1147 lines)
  functions..: 46.5% (1488 of 3199 functions)
  branches...: no data found

Files changed coverage rate: n/a

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

Use BlockMemoryPool for CMSIS RTOS2 interface to implement osMemoryPool functionality.
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

LCOV of commit 23acc7e during Code Coverage - Generic #485

Summary coverage rate:
  lines......: 97.1% (1114 of 1147 lines)
  functions..: 46.5% (1488 of 3199 functions)
  branches...: no data found

Files changed coverage rate: n/a

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

@github-actions
Copy link
Copy Markdown

LCOV of commit 2519791 during Code Coverage - Generic #486

Summary coverage rate:
  lines......: 96.5% (1112 of 1152 lines)
  functions..: 46.5% (1488 of 3200 functions)
  branches...: no data found

Files changed coverage rate: n/a

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

@github-actions
Copy link
Copy Markdown

LCOV of commit 901d105 during Code Coverage - Generic #487

Summary coverage rate:
  lines......: 95.8% (1112 of 1161 lines)
  functions..: 46.0% (1488 of 3232 functions)
  branches...: no data found

Files changed coverage rate: n/a

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

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