Skip to content

Number of mbedOS mutexes exceeds maximum allowed when compiling with ARMCC #4688

@alekshex

Description

@alekshex

Description

  • Type: Bug
  • Related issue:
    1d4cd0a
    Relates to this definition
  • Priority: Blocker

Bug

Target
K64F

Toolchain:
ARM

Toolchain version:

mbed-cli version:
(mbed --version)

meed-os sha:
latest tag

DAPLink version:

Expected behavior
No assertions occurs in the system

Actual behavior
os is out of available mutex resources, while application uses only 1.
all the rest seem to be consumed by os itself.

Steps to reproduce
Use of file system and serial port communication leads to 'out of mutex resources' in mbedOS
when bin is compiled with ARMCC toolchain.
(please see here:
1d4cd0a)
Current default number of allowed mutex resources (8) is not enough.

Also it is unclear how much mutexes are allowed to be used by user application
and how many are consumed by the os itself.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions