You should be able to find PIC32 lwIP code around on the PIC32 web sites, and FreeRTOS has some port layers for lwIP 1.4 inΒ FreeRTOS\WorkingCopy\Demo\Common\ethernet\lwip-1.4.0\ports so you need to stitch the two together. Look at some of the other FreeRTOS demos too including http://interactive.freertos.org/entries/20290712-freertos-win32-project-with-lwip-web-server