Hi,
I have a DK-TM4C129X kit, and I'm trying to rewrite qs_weather on a FreeRTOS. My TivaWare version is 2.1. I have a few questions:
1. I've read that lwIP API functions should only be called from a single context. In the example code, qs_weather calls tcp_connect from main (via WeatherForecast/WeatherCurrent -> EthClientTCPConnect). All other lwIP functions are called from EthClientTick (via the SysTick interrupt handler). Is this okay to do, or is there a safer way of doing it (e.g. setting a flag somewhere, which is checked by EthClientTick)?
2. Under an RTOS, would we still need to call lwip_timer, dns_rmr, and tcp_tmr?
3. A lot of the operations in qs_weather revolve around passing handler function pointers to lwIP API functions. Would this change at all under an RTOS?
Thanks.