There are fatal code problems in fsl_flexio_i2c_master.c (FSL_FLEXIO_I2C_MASTER_DRIVER_VERSION is 2.5.0). If I set I2C_RETRY_TIMES in my preprocessor defines to a non-zero value, I get multiple compiler errors, all declaring that "waitTimes" is undefined. There is also a warning about a declaration of "waitTimes" being unused. It appears that this build configuration was never tested prior to release.
The solution/workaround is to declare waitTimes in appropriate locations and to remove the unused location. I have attached a fixed version of the C file; please review and merge into your next release, thanks.
Dana M.
已解决! 转到解答。
Hi @dmarks_ls
I reproduce this issue, thanks for your information.
And I will report this issue to our SDK team.
Best regards,
Hang
Hi,
I reported this issue to NXP in March 2023 as can be seen here: Compile-Error-in-MCUXpresso-SDK-v2-13-0-v2-14-0-and-v2-15-0-fsl/m-p/1698607.
As of SDK v2.16 on my device which released earlier today, this issue still has not been resolved. Can you check if it has been resolved on your device?
Thanks,
Sachin Patel