Changing Embedded Ethernet Drivers and Compilers
IntroductionThe majority of the FreeRTOS+UDP source code is independent of the compiler used to build the code, and the microcontroller on which the code runs. Changing C compilers is very straight forward. There is obviously a hardware dependency in the Ethernet MAC driver, but even so, changing to a microcontroller that has a different Ethernet MAC interface is still relatively straight forward. This page links to pages that describe how to do both.
From this page: