So I use the MCUXpresso sdk to get a sample code of freeRTOS sample. I worked on it and it is time to add I2C stack (driver and sample). I noticed in standalone freeRTOS sample, I did not see the I2C driver. To get I2C sample, I have to take different sample code base than freeRTOS, but what I want is both.
Thank you @ZhangJennie , that works and would be one feasible option. But this means I have to be limited using MCUXpresso IDE.
My preference is to use GNU tool chain with visual studio code or vim editor. I was hoping there is somekind of config file in which we add and remove component like I2C driver and generate the C/h files respectively to be integrated into the codebase. Are you aware if there is such feature in NXP SDK?