FreeRTOS with a non FreeRTOS app
This question is not very specific. It is quite open ended and is probably best posed to those at FreeRTOS support but I will ask here first as your support is excellent.
Having spent months developing a Project that is optimized to the best of my ability. no blocking calls, interrupts where appropriate (around 10 isrs) that does not use FreeRTOS + given my knowledge of FreeRTOS being minimal.
How should I go about merging 1 RTOS task that itself relies on other tasks/queues?
This primary RTOS task is 'tasked' with capturing a data stream using lwip>UDP Server>Wifi>SDIO.
This stream needs to be polled/dequeued in the main loop. (My basic understanding of FreeRTOS suggests this will be via FreeRTOS messaging, if indeed main loop needs to be converted into a FreeRTOS task)
So my question mainly concerns whether the main loop be converted into a FreeRTOS task and all underlying isrs managed via appropriate Mutexes/Semaphores?
If this should be the case (I would like to make the integration as easy (for me) as possible without involving too much rewriting -considering I will probably make alot of mistakes in FreeRTOS). A
Are there any suggestions on how best to proceed? Perhaps there is some documentation I could read or some examples showing migration?
Thanks for any support.
