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!
Level: Error
Type: Validation
Tool: Toolchain/IDE project
Origin: Peripherals
Target: Toolchain/IDE project: cm4
Resource: platform.drivers.flexcomm_i2c"
. How should I resolve this? Is there anyway I can add this I2C driver from the Config tools itself?
Hi,
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
BR
XiangJun Rong
Hi,
Pls refer to the screenshot to fix the error message.
Hope it can help you
BR
XiangJun Rong
Hi,
Can you tell us the part number so that we can have a check?
BR
XiangJun Rong