I’ve integrated the FreeRTOS kernel into my Harmony TCPIP project using the PIC32MX starter kit. I used the cdc_com_port_dual project that was included with the harmony 1.0 ~/apps/rtos/freertos demo’s.
My system_interrupt file looks very similar to the usb project, including the _general_exception_handler.
In my system_init.c, SYS_Initialize function is hitting the _general_exception_handler while initializing the tcpip stack, sysObj.tcpip = TCPIP_STACK_Init().
I haven’t found the culprit yet, but I’ve narrowed it down to the TCPIP_STACK_BringNetUp function in tpcip_manager.c somewhere in the module init section line 410.
Has anyone been successful in getting the TCPIP stack in harmony running with FreeRTOS? I’ve been searching the internet to find clues, I’ve seen some postings regarding " #define configMINIMAL_STACK_SIZE ( 2048 )" and using the heap_3.c file. I’ve also seen some postings describing a Microchip app note using the older versions of MLA and freeRTOS.
Any help is greatly appreciated with this.