MCUXpresso IDE v11.4.1 [Build 6260] [2021-09-15]
SDK_2.x_MIMXRT1160-EVK: Version 2.1.0
EVK1160 PCB
When I build my project I get unresolved inclusion errors for "usb.h" and "fsl_aoi.h". I tried the Fixup Parsers tool but it did not seem to make any difference. What is the error suggesting? Is it saying those header files aren't found?
Solved! Go to Solution.
Hi Erich,
So somehow in the configuration tool-peripheral tab a usb config was turned on. This generated usb libraries which called out the two I was missing. I just turned off those peripherals and now it is building fine.
Hi @User1956 ,
just to be sure: you are able to compile it without errors, correct?
One needs to understand that building and indexing by the IDE are two different things. The indexer (a kind of parser inside the IDE with its database) scans the sources and parses the compiler options to find the files.
One thing you could try is to disable the heuristics and do a Index > rebuild, see https://mcuoneclipse.com/2012/03/20/fixing-the-eclipse-index/
See as well https://mcuoneclipse.com/2021/01/10/eclipse-indexer-debug-tips/ which shows the 'path and symbols': can you check if the path to the source files in question are listed there?
I hope this helps,
Erich
Hi Erich,
So somehow in the configuration tool-peripheral tab a usb config was turned on. This generated usb libraries which called out the two I was missing. I just turned off those peripherals and now it is building fine.