Skip to content
This repository was archived by the owner on Dec 18, 2025. It is now read-only.

RTOS2 - memory block pools vs byte pools? #1652

@apullin

Description

@apullin

It seems like the RTOS2 interface does not have a way to make a distinction between alloc from block pools (currently covered) and byte pools? Many RTOS's do treat these objects differently. For example, ThreadX provides both.

I presently have to port something that extensively uses both. Maybe there already is a known workaround for this?
Hopefully, I am not overlooking something obvious ... ?

(although the one public implementation for CMSIS-RTOS2 for ThreadX I can find appears to just not implement any of the osMemoryPool* functions )

For now, my plan is to add some extensions to a cmsis_os2_ex.h header with a naming like osMemoryBytePool....

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions