So I created a base project based on SDK example freertos_hello using the online SDK builder. I choose GNU toolchains. I build and run on target so far so good.
But then I want to move on configuring I2C using the MCUXpresso Config tool from the project. I turn on the peripheral and add the FLEXCOM1 into peripheral as I want to use it for I2C. But then I have this error:
"Issue: FLEXCOMM Driver not found in the toolchain/IDE project. Project will not compile!
Tool: Toolchain/IDE project
Target: Toolchain/IDE project: cm4
. How should I resolve this? Is there anyway I can add this I2C driver from the Config tools itself?
I have tried to configure the I2C with FlexComm0 module, for the error, pls put the mouse on the error message which is located at the right-bottom of the peripheral menu, then right click the mouse, update the software file, the error will disappear.
BTW, I suppose that you can refer to the I2C example code, then copy the code to your application based on freeRtos, including pin configuration, clock configuration.
Hope it can help you