I've ported FreeRTOS to PSoC 4 - which really was extremely trivial. It's simply the Cortex M0 port with some configuration & glue from the PSoC 5 demo.
The attached demo app creates three tasks that toggle the red, green and blue LEDs on the PSoC 4 pioneer board at slightly different rates, resulting in a pleasing (if somewhat psychedelic) light show. Adapting this demo for your own purposes should be straightforward.
Note that because the PSoC Capsense component makes (undocumented) use of the systick timer, it's not currently possible to use FreeRTOS and the PSoC Capsense component together.
Short answer: no.
Long answer: this would not even be possible without FreeRTOS - there won't be any software / driver support for this WiFi dongle on the PSoC (no matter which one). But you can always check the list of supported systems for your WiFi dongle, maybe you are lucky 🙂
Thanks for the implementation.
I am using your sample project on PSOC 4 BLE. What is the period of this counter? If it's configurable, how is it configured? I can't find anything in the design-wide resources file or by searching the code? Can we use external clock (WCO) as my tick source?
Is it possible to go sleep mode when idle?
Thanks Nick. It was nice to have this port to get started. I've just been assigned responsibility for PSOC4 and it was great to get this running quickly with a few updates and changes. The new Pioneer board uses different pins for the LEDs and some of the files needed updating, but all-in-all pretty painless.