Building for Luminary devices on Mac and Linux

classic Classic list List threaded Threaded
2 messages Options
Kevin Vermeer Kevin Vermeer
Reply | Threaded
Open this post in threaded view
|

Building for Luminary devices on Mac and Linux

I noticed on this page:
http://www.eluaproject.net/en_installing_lm3s.html that one of the
listed requirements for using eLua on the Luminary Micro boards is a
Windows PC.  This is incorrect; while the GUIs are generally
Windows-only, CodeSourcery's (Unlimited, free) command line tools for
the LM3S work great with Linux and Mac OS X.  There's even an
installer for Linux!

We've been doing it for some time in my engineering class with the
LM3S6965 board, and it works well.  Install instructions are available
at this page: http://claymore.engineer.gvsu.edu/egr326/LM3S6965#Toolchain:_Windows_and_Linux
(Mac instructions are immediately below).

If all you need to do is flash the board, then you don't have to go
through the "LM Flash Utility".  If you're on Windows, of course, you
can still use it with `lmflash -q ek-lm3s6965
elua0.7_lua_lm3s6965.bin`, but any OS (including Windows -> Cygwin)
can use OpenOCD and GDB to flash (and debug) the board, as described
here: http://claymore.engineer.gvsu.edu/egr326/LM3S6965#Debugging
--
Kevin Vermeer
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
BogdanM BogdanM
Reply | Threaded
Open this post in threaded view
|

Re: Building for Luminary devices on Mac and Linux

Thanks a lot for this! I've been meaning to change that page for a
while now, but I just couldn't find a good enough OpenOCD script for
the LM3S board(s). The link below solves this problem very nicely, so
I'll modify the "using" page starting with the next official version.
Thanks again!

Best,
Bogdan

On Wed, Jul 28, 2010 at 8:33 PM, Kevin Vermeer <[hidden email]> wrote:

> I noticed on this page:
> http://www.eluaproject.net/en_installing_lm3s.html that one of the
> listed requirements for using eLua on the Luminary Micro boards is a
> Windows PC.  This is incorrect; while the GUIs are generally
> Windows-only, CodeSourcery's (Unlimited, free) command line tools for
> the LM3S work great with Linux and Mac OS X.  There's even an
> installer for Linux!
>
> We've been doing it for some time in my engineering class with the
> LM3S6965 board, and it works well.  Install instructions are available
> at this page: http://claymore.engineer.gvsu.edu/egr326/LM3S6965#Toolchain:_Windows_and_Linux
> (Mac instructions are immediately below).
>
> If all you need to do is flash the board, then you don't have to go
> through the "LM Flash Utility".  If you're on Windows, of course, you
> can still use it with `lmflash -q ek-lm3s6965
> elua0.7_lua_lm3s6965.bin`, but any OS (including Windows -> Cygwin)
> can use OpenOCD and GDB to flash (and debug) the board, as described
> here: http://claymore.engineer.gvsu.edu/egr326/LM3S6965#Debugging
> --
> Kevin Vermeer
> _______________________________________________
> eLua-dev mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev