Skip to content

Issue when a pin has multiple signals for an ALT mode #54

Description

@MathisDeroo

Hi,

I'm currently trying to generate the PAC for MCXA2xx and MCXA5xx devices, based on the json files created.
However on these devices, pins have a analog mode that is selected via ALT0. That means, ALT0 can have multiple signals routed as for P2_3 on MCXA577; ANALOG = ADC0_A3/ADC1_A4/CMP0_INN5/DAC1_OUT/TSI0_CH33 and ALT0 = P2_3.

When running the generator, following issue is triggered :

Completed successfully
2026-03-10T16:34:50.703973Z ERROR generator: Error for output Generating metadata

Caused by:
    pin P2_3 has more than one signal defined for alt mode 0
Error: Failed to generate chips true
error: process didn't exit successfully: `target\debug\generator.exe MCXA577` (exit code: 1)

Can you help modifying the generator to consider that a single pin can be routed to multiple signals ?

Thanks

Metadata

Metadata

Assignees

No one assigned

    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