xcore/sc_multi_uart — pull request #5 by davelxmos (2012-05-30 07:46:33+00:00)
Title: S2e l1 sram assessment

I've made several changes to optimize memory on this branch:

1. Reduced the ethernet buffering
2. Reduced the max number of open udp connections
3. Reduced the tcp receive window and associated buffers (this is the big saving)

I've replaced the unpause/pause usage with the use of ack_recv_mode which should stop the problem with multiple packets coming into the web_server thread at once.

I've also removed the stack pragma from within the telnet part of the code and replaced the callback with a macro define. This allows us to get accurate stack usage.

Finally, I've added a new config macro L1_BUILD_TEST to main.xc. With this macro set to 1 it will build a single core version to test the memory usage. If set to 0 it will build a 2 core version for functionality testing.

Due to lack of available hardware at my end I haven't tested this yet. So this may not be functional yet. I'll try and get some hardware set up a.s.a.p

Dave