I have used the FreeRTOS demo called FREERTOS_OLED1_XPRO_EXAMPLE from ASF to start away with FreeRTOS on SAMD21.
My project has advanced and moved away from the demo it used to be and I never needed the OLED part of the project but the main structure of FreeRTOS. Now, anytime I add a driver from ASF or remove one, two include files below keep getting added back to
asf.h file. And considering that I have removed these two headers from the project long time ago, project goes to halt and doesn't compile.
// From module: User I/O driver for FreeRTOS demo #include <cdc.h> #include <oled1.h
Removing these two lines manually is a super easy thing to do but I am wondering where these two includes are coming from and getting generated? Is there a source somewhere which could be tweeked to stop the generation of these two lines. In the future I might want to use this on my favor and add include files to such places.