great to hear that you already have a running GUI application!
In general debugging with a RTOS could be tricky, therefore can you try to run another task without the ADC calculation. Please do this first to ensure that your second task is running properly, even when both task are active. In this task you can put something like an ‘EwPrint(“\nAny Text”)’, it’s just for test reasons.
Then I would recommend to reactivate the ADC task to clarify what’s wrong with this task or the FreeRTOS settings. I assume that you need to change some basic setting for FreeRTOS under ‘Application\Source\ FreeRTOSConfig.h’.
Within this file you can find this definitions:
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 10 * 1024 ) )
Could you please try to stepwise increase the heap size to make sure that your systems has enough resources to manage both task?
Can you also post here what does you terminal for serial output shows if you run both tasks? Does any exception appears or does the UI initializes correctly?