Skip to content

Comments

drivers: i2c: Fix BFLB I2C again again#102033

Merged
MaureenHelm merged 1 commit intozephyrproject-rtos:mainfrom
VynDragon:fix_bflb_i2c_again_again
Jan 13, 2026
Merged

drivers: i2c: Fix BFLB I2C again again#102033
MaureenHelm merged 1 commit intozephyrproject-rtos:mainfrom
VynDragon:fix_bflb_i2c_again_again

Conversation

@VynDragon
Copy link
Contributor

Maybe the last time? associated issue outlines details

Maybe the last time? associated issue outlines details

Signed-off-by: Camille BAUD <mail@massdriver.space>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 9, 2026

Copy link
Contributor

@josuah josuah left a comment

Choose a reason for hiding this comment

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

Still puzzled to see this driver being affected by the compiler reordering everything.

Maybe there is some other bug somewhere, I remember you saying the disassembly was shuffling things a lot and that volatile everything was not a complete fix. But it could also be a compiler design choice or plain bug, so if this is possible to fix it at the driver level in the meantime it's good IMHO.

Context is, IIRC Zephyr SDK 0.17.4.

@hamoodmohameed16-source

This comment was marked as off-topic.

@hamoodmohameed16-source

This comment was marked as off-topic.

@MaureenHelm MaureenHelm merged commit 03eab92 into zephyrproject-rtos:main Jan 13, 2026
31 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Recurrent compiler optimization related failure of BFLB I2C driver

7 participants