Skip to content

stm32f4: UART DMA causes lockup in xtimer_drift test #4716

@jnohlgard

Description

@jnohlgard

Current tests/xtimer_drift in master does not run for me on stm32f4discovery, it hangs after trying to start the first slacker thread.
Disabling DMA in the UART TX by commenting out code seem to make the problem go away.

I suspect there is a race between the main thread using printf/puts right before the thread_create call and the newly created thread also using printf immediately after creation.

Metadata

Metadata

Assignees

Labels

Platform: ARMPlatform: This PR/issue effects ARM-based platformsType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions