Skip to content

stm32: UART doesn't support IRQ sharing #39565

@ycsin

Description

@ycsin

I'm trying to use the lpuart1 in my g0b1re custom board and it can't compile when usart5 is already enabled.

gen_isr_tables.py: error: multiple registrations at table_index 29 for irq 29 (0x1d)
Existing handler 0x80547a9, new handler 0x80547a9
Has IRQ_CONNECT or IRQ_DIRECT_CONNECT accidentally been invoked on the same irq multiple times?

I tried to enable usart3 and it also won't compile. It seems like the current STM32 UART driver doesn't support uarts sharing the same interrupt?

From the G0B1RE reference manual:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementChanges/Updates/Additions to existing featuresGood first issueGood for a first time contributor to takearea: UARTUniversal Asynchronous Receiver-Transmitterplatform: STM32ST Micro STM32

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions