Forum Discussion
Altera_Forum
Honored Contributor
14 years agoFreeRTOS v7.1.0 and LwIP v1.4.0 without IPv6 support is used.
In LwIP I made this patch I created "patch# 7702: Include ability to increase the socket number with defined offset" this so I could more easily build a wrapper for read / write / fnctl / close. I asked if this could be implemented in the dev tree, and maybe it will be if there is enough interest. I modified Bill's driver a bit, so it releases a semaphore on which the tcp_input task is waiting. This way this task will be rescheduled asap after an RX SGDMA IRQ. Because of you asked about NO_SYS_NO_TIMERS I checked it out and I noticed that I created my own timer and timer task which seems useless when NO_SYS is set to 0 so I just uploaded the update which disables the timer and timer task because this will be managed by LwIP itself. The only problem remaining is that I must 'fragmentate' the output myself, the web sever I created can't send the main page ( +/-16KB ) of html/js source in one go. I guess this has to do with an faulty configuration somewhere... still searching for a solution. Hitting the LwIP mailing list in a sec :)