Skip to content

UARTSerial() and mutexes in interrupts #4537

Closed
@RobMeades

Description

@RobMeades

Description

  • Type: Bug
  • Priority: Blocker

With the introduction of #4389, UARTSerial() hits the Mutex not allowed in ISR context trap.

Expected behavior
Transmit serial bytes.

Actual behavior
The call stack is as below, basically UARTSerial()’s tx_irq() is calling SerialBase:writeable() which has a mutex in it.

call_stack

Steps to reproduce
Use the new CellularInterface, which uses UARTSerial() to talk to the cellular modem.

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