Skip to content

Conversation

@Aymane-ST
Copy link

The typedef HardwareSPI SPIClass; couples the API to a specific class name and causes compatibility issues for cores that already define their own SPIClass type (for example STM32duino).

Removing this typedef avoids name collisions.

Existing cores that relied on this typedef can provide their own alias if they need SPIClass globally.

This change keeps the API clean and independent, while letting each core decide how to expose its SPI implementation.

Signed-off-by: Aymane Bahssain <aymane.bahssain@st.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant