Skip to content

I3C: add auto bus resolution, init/IRQ fixes, and memory cleanup#3000

Merged
fpistm merged 14 commits into
stm32duino:mainfrom
Aymane-ST:prod/I3C
Jul 3, 2026
Merged

I3C: add auto bus resolution, init/IRQ fixes, and memory cleanup#3000
fpistm merged 14 commits into
stm32duino:mainfrom
Aymane-ST:prod/I3C

Conversation

@Aymane-ST

Copy link
Copy Markdown
Contributor

This PR improves the I3C library by adding automatic instance selection from SDA/SCL pins, fixing controller initialization and IRQ routing, reducing temporary buffer usage, and aligning clock-source ownership with variant clock configuration.

It also updates examples to use the generic I3C object and removes the temporary stack-size workaround that is no longer needed.

@Aymane-ST Aymane-ST added this to the 3.0.0 milestone Jun 26, 2026
@Aymane-ST Aymane-ST requested a review from fpistm June 26, 2026 14:39
@Aymane-ST Aymane-ST self-assigned this Jun 26, 2026
@Aymane-ST Aymane-ST added enhancement New feature or request fix 🩹 Bug fix labels Jun 26, 2026
@fpistm fpistm requested a review from cparata June 26, 2026 15:13

@cparata cparata left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-project-automation github-project-automation Bot moved this from In progress to Reviewer approved in STM32duino libraries Jun 26, 2026
@Aymane-ST Aymane-ST force-pushed the prod/I3C branch 2 times, most recently from 3c08cd6 to b56ca5e Compare July 1, 2026 06:44
Aymane-ST added 4 commits July 1, 2026 16:00
Signed-off-by: Aymane Bahssain <aymane.bahssain@st.com>
Changing setClock() to return bool

Signed-off-by: Aymane Bahssain <aymane.bahssain@st.com>
Signed-off-by: Aymane Bahssain <aymane.bahssain@st.com>
Signed-off-by: Aymane Bahssain <aymane.bahssain@st.com>
@fpistm fpistm marked this pull request as ready for review July 2, 2026 08:31
@fpistm fpistm requested a review from cparata July 2, 2026 08:32
Aymane-ST added 10 commits July 2, 2026 16:31
Signed-off-by: Aymane Bahssain <aymane.bahssain@st.com>
…e sizes

Signed-off-by: Aymane Bahssain <aymane.bahssain@st.com>
Signed-off-by: Aymane Bahssain <aymane.bahssain@st.com>
…k config

Signed-off-by: Aymane Bahssain <aymane.bahssain@st.com>
Signed-off-by: Aymane Bahssain <aymane.bahssain@st.com>
Signed-off-by: Aymane Bahssain <aymane.bahssain@st.com>
Signed-off-by: Aymane Bahssain <aymane.bahssain@st.com>
Signed-off-by: Aymane Bahssain <aymane.bahssain@st.com>
Signed-off-by: Aymane Bahssain <aymane.bahssain@st.com>

@fpistm fpistm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Thanks for all iterations.

@cparata cparata left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fpistm fpistm merged commit 5bfc2a7 into stm32duino:main Jul 3, 2026
27 checks passed
@github-project-automation github-project-automation Bot moved this from Reviewer approved to Done in STM32duino libraries Jul 3, 2026
@fpistm fpistm deleted the prod/I3C branch July 3, 2026 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request fix 🩹 Bug fix

Projects

Development

Successfully merging this pull request may close these issues.

3 participants