Skip to content

[BUG] Recent STM32 serial changes cause crashes #21903

Open

Description

@darrylring

Description / Steps to reproduce the issue

Some recent fixes for #20969 added a critical section to a function which is called before the scheduler is running.

For the Cortex-M33/M55 based STM32 families, this change was: 706e098

stm32serial_setformat is called from both stm32serial_setup (called from arm_earlyserialinit, before the scheduler is running) and stm32serial_ioctl.

On which OS does this issue occur?

[OS: Linux]

What is the version of your OS?

7.3.4-arch1-1

NuttX Version

master

Issue Architecture

[Arch: arm]

Issue Area

[Area: Drivers]

Host information

No response

Verification

  • I have verified before submitting the report.

Activity

  1. added
    Type: Bug
    on Nov 16, 2026
  2. added
    Arch: arm
    Area: Drivers
    OS: Linux
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Arch: armArea: DriversOS: LinuxType: Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions