mirror of
https://github.com/elua/elua.git
synced 2025-01-08 20:56:17 +08:00
4793225724
ANSI terminal support (yet) and "recv" doesn't work anymore because XMODEM doesn't work over TCP/IP. Only for LM3S8962/LM3S6965 for now, but it should straightforward (not easy though) to port it to other platforms. Only static IP for now. More TCP/IP functions need to be implemented (and an eLua module must be written to access them). To enable console over TCP: - enable "BUILD_CON_TCP" in build.h, also disable "BUILD_XMODEM" and "BUILD_TERM" in build.h (you'll get an error if you don't) - disable "BUILD_CON_GENERIC" in build.h (you'll get an error if you don't) - edit your network settings in build.h - build the image&burn it - telnet to the address configured in build.h. Be sure to use a decent telnet client, like the one in Linux or putty. Don't try with telnet from Windows, as it surely won't work. Also, it might not work with the telnet client from Tera Term Pro (didn't test this). - type 'exit' from shell to terminate the connection. Also, note that from this point on you'll need a newer version of binutils to compile for Cortex. I'm using binutils-2.19.50.tar.bz2 (from the snapshots page). 2.18 might work too, but I didn't test it.