The latest ASF version (if it is not already available, it will be in the next couple of days) includes a direct FreeRTOS peripheral control integration. This is the
application note.
Although this ASF version does not include a FreeRTOS USB peripheral control integration, the example applications that are included do use the existing ASF USB functionality. For example, the USB is used in the SAM4S-EK peripheral control example as in interface to the command line interface (CLI).
I am, right now, working on a FreeRTOS integration along the lines of those outlined in the application note highlighted above.
Regards.
Richard. has there been any FreeRTOS/USB upgrade on the Atmel SAM4S since this was written?
It is quite possible that Atmel have updated their drivers since then -
but you would have to check their ASF code.
Regards.
They did not. I managed to figure it out bit by bit. Ugh. Thank you as always!