Help with FreeRTOS + STR7 USB

I’m trying to combine a GCC version of freeRtos (Idealist dev environment) with a bulk usb demo.  Is the scheduler tick interrupt (Timer 3) supposed to be on a higher priority then the USB in the interrupt controller ? well, either way i put it the usb is not recognized by windows. Anyone have any ideas or tips on how to integrate the usb driver files with freeRtos ? any help would be great.

Help with FreeRTOS + STR7 USB

whoops, my mistake… I wasn’t calling portCLEAR_EIC() at the end of the USB interrrupt handler, all good now.

Help with FreeRTOS + STR7 USB

I should start with one of the existing USB demos which are for the SAM7.  Although the USB peripherals are the same at least you will be able to copy the structure.  There is a HID and a CDC example.  I should also think the priorities would want to be equal.