Skip to content

Commit c3d12b6

Browse files
committed
initial commit
0 parents  commit c3d12b6

File tree

845 files changed

+264423
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

845 files changed

+264423
-0
lines changed

CHANGELOG

+116
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
15.01.2010 Bogdan Marinescu <[email protected]>
2+
Dado Sutter <[email protected]>
3+
James Snyder <[email protected]>
4+
5+
* Official release 0.7
6+
* Added Robert Jakabosky's EGC (Emergency Garbage Collector) patch to eLua
7+
* Added generic and portable SD/MMC Card FAT File System support
8+
* Added LuaRPC support (remote procedure calls in the embedded world)
9+
* New eLua shell cat/type command, lists text file contents
10+
* Added support for Olimex STR-E912 board
11+
* Added the STR9 platform specific pio module
12+
* Added support for the PUC-Rio eLua board, NXP LPC2468 MCU
13+
* Added basic CAN module
14+
* Compiling eLua under Windows is now officially supported
15+
* New ROMFS build modes: compress and compile
16+
* More portuguese content translations
17+
* ADC module and doc enhancements
18+
19+
20+
06.10.2009 Bogdan Marinescu <[email protected]>
21+
Dado Sutter <[email protected]>
22+
James Snyder <[email protected]>
23+
24+
* Official release 0.6
25+
* License changed to MIT
26+
* Web page and documentation completely redesigned
27+
* Documentation available offline
28+
* Added support for AVR32 CPUs
29+
* Added support for STM32 Cortex-M3 CPUs
30+
* Added ADC module with support for moving average filters
31+
* Added support for multiple toolchains
32+
* Added an ls (or dir) shell command
33+
* Added new examples: pong, tetrives, spaceship (games), logo
34+
(graphics), adcpoll, adcscope (ADC operations)
35+
* Added the LTR (Lua Tiny RAM) patch
36+
* ROM FS content can be specified per board now
37+
* API semantic revisions (old code might not be compatible)
38+
39+
01.11.2008 Bogdan Marinescu <[email protected]>
40+
Dado Sutter <[email protected]>
41+
42+
* Official release 0.5
43+
* Added support for STR7 CPUs from ST (bogdanm)
44+
* Added TCP/IP support using the uIP stack (bogdanm)
45+
* Added support for console and shell over TCP/IP instead of serial link
46+
(bogdanm)
47+
* Added the "net" module (eLua's interface to TCP/IP functions) (bogdanm)
48+
* Added the "cpu" module (eLua's interface to the target CPU) (bogdanm)
49+
* New samples: morse.lua (Morse code encoder) (dado), lhttpd.lua
50+
(Lua scripting HTTP server) (bogdanm)
51+
* Added support for cross-compiling Lua code (compile on PC, run on target)
52+
(bogdanm)
53+
* XMODEM can now receive Lua bytecode in addition to Lua source code (bogdanm)
54+
* The XMODEM buffer is now dynamic (grows as needed) instead of fixed size
55+
(bogdanm)
56+
* Project documentation updated (bogdanm)
57+
58+
10.09.2008 Bogdan Marinescu <[email protected]>
59+
60+
* Minor release 0.4.1; its main purpose is to integrate the new Lua 5.1.4
61+
* Changed the file system structure; now you can build both Lua versions
62+
(floating point and int only) from the same directory
63+
* Made the math library configurable using the existent 'platform libraries'
64+
mechanism
65+
* The "os" and "package" modules are no longer loaded by Lua, since they can't
66+
be used anyway.
67+
* Project documentation updated
68+
69+
02.09.2008 Bogdan Marinescu <[email protected]>
70+
71+
* Official release 0.4
72+
* Added support for LPC2888 (preliminary)
73+
* Added PWM module
74+
* New samples: TV-B-Gone (shut off your TV), piano (play piano from your PC
75+
keyboard), pwmled (fade led on/off), all based on the new PWM module
76+
* Added support for multiple memory spaces (this can be used to
77+
take advantage of both the internal CPU RAM and external RAM chips
78+
on board that have external RAM)
79+
* Autorun: if "autorun.lua" is found in the filesystem, it is executed
80+
before starting the shell
81+
* Added "pack" (binary data packing/unpacking) and "bit" (binary operatinos)
82+
modules
83+
* Build system updated, easier to use, now it knows how to handle "boards"
84+
as well as CPUs
85+
* Modified the existing platform modules to take less RAM and to report an
86+
error when an unavailable resource is requested
87+
* Project documentation updated
88+
89+
09.08.2008 Bogdan Marinescu <[email protected]>
90+
Frederic Thomas <[email protected]>
91+
92+
* Official release 0.3
93+
* Added support for ST STR912FW44 (bogdanm)
94+
* Added support for Cortex LM3S6965 (frthomas)
95+
* New terminal support module (term) (bogdanm)
96+
* Added new example (hangman.lua) that uses the new term module (bogdanm)
97+
* More intuitive and flexible build system (new syntax, component selection
98+
at build time) (bogdanm)
99+
* eLua examples are now part of the repository (bogdanm)
100+
* Project documentation updated (bogdanm, frthomas)
101+
102+
27.07.2008 Bogdan Marinescu <[email protected]>
103+
104+
* Second official release (0.2)
105+
* Added support for Cortex LM3S8962
106+
* New platform modules (UART, SPI, Timer, platform data)
107+
* First release of the eLua shell
108+
* Lua source files can now be sent to target with XMODEM
109+
110+
11.07.2008 Bogdan Marinescu <[email protected]>
111+
112+
* First official release (0.1)
113+
* Supports AT91SAM7X/AT91SAM7X256 and i386
114+
* Access PIO from Lua
115+
* ROMFS
116+
* Choice between floating point Lua and integer only Lua

LICENSE

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
Copyright (c) 2007, 2008, 2009, 2010 Dado Sutter and Bogdan Marinescu
2+
3+
eLua is Open Source and is freely distributed under the MIT licence.
4+
5+
The Lua part of eLua is licensed under the Lua licensing terms, which you
6+
can find at http://www.lua.org/license.html.
7+
8+
The XMODEM code is adapted from the FreeBSD at91 library, which was written
9+
by M. Warner Losh and is released under the BSD license.
10+
11+
The "pack" module is adapted from the "lpack" module by Luiz Henrique de
12+
Figueiredo and it's placed in the public domain.
13+
14+
The "bit" module is adapted from the "bitlib" library by Reuben Thomas,
15+
distributed under a MIT license.
16+
17+
The "integer only lua" is based on the "Go Long Lua!" patch by John D.
18+
Ramsdell (from the Lua Power Patches page) and is placed in the public
19+
domain.
20+
21+
The multiple memory allocator (dlmalloc) is written by Doug Lea and is
22+
placed on the public domain.
23+
24+
The TCP/IP stack is adapted from uIP, written by Adam Dunkels and released
25+
under a BSD license.
26+
27+
The FAT file sistem is based on FatFs, written by Elm Chan (http://elm-chan.org).
28+
A copy of the FatFs license can be found in the LICENSE.fatfs file.
29+
30+
The RPC implementation is based on Russell Smith's Lua-RPC (http://q12.org/lua/index.html).
31+
A copy of the Lua-RPC license can be found in the LICENSE.luarpc file.
32+
33+
Manufacturer provided CPU support libraries are licensed under their own
34+
terms, check src/platform/*platform-name* for details.
35+
36+
The rest of the eLua code is licensed under MIT, listed below:
37+
38+
The MIT License
39+
40+
Copyright (c) 2007, 2008, 2009, 2010 Dado Sutter and Bogdan Marinescu
41+
42+
Permission is hereby granted, free of charge, to any person obtaining a copy
43+
of this software and associated documentation files (the "Software"), to
44+
deal in the Software without restriction, including without limitation the rights
45+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
46+
copies of the Software, and to permit persons to whom the Software is
47+
furnished to do so, subject to the following conditions:
48+
49+
The above copyright notice and this permission notice shall be included in
50+
all copies or substantial portions of the Software.
51+
52+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
53+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
54+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
55+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
56+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
57+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
58+
THE SOFTWARE.
59+

LICENSE.fatfs

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FatFs module is an open source software to implement FAT file system to
2+
small embedded systems. This is a free software and is opened for education,
3+
research and commercial developments under license policy of following trems.
4+
5+
Copyright (C) 2009, ChaN, all right reserved.
6+
7+
* The FatFs module is a free software and there is NO WARRANTY.
8+
* No restriction on use. You can use, modify and redistribute it for
9+
personal, non-profit or commercial product UNDER YOUR RESPONSIBILITY.
10+
* Redistributions of source code must retain the above copyright notice.
11+

LICENSE.luarpc

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
Lua-RPC library, Copyright (C) 2001 Russell L. Smith. All rights reserved.
2+
Email: [email protected] Web: www.q12.org
3+
For documentation, see http://www.q12.org/lua
4+
5+
Permission is hereby granted, without written agreement and without
6+
license or royalty fees, to use, copy, modify, and distribute this
7+
software and its documentation for any purpose, including commercial
8+
applications, subject to the following conditions:
9+
10+
- The above copyright notice and this permission notice shall appear
11+
in all copies or substantial portions of this software.
12+
13+
- The origin of this software must not be misrepresented; you must
14+
not claim that you wrote the original software. If you use this
15+
software in a product, an acknowledgment in the product
16+
documentation would be greatly appreciated (but it is not
17+
required).
18+
19+
- Altered source versions must be plainly marked as such, and must
20+
not be misrepresented as being the original software.
21+
22+
The authors specifically disclaim any warranties, including, but not
23+
limited to, the implied warranties of merchantability and fitness for
24+
a particular purpose. The software provided hereunder is on an "as is"
25+
basis, and the authors have no obligation to provide maintenance,
26+
support, updates, enhancements, or modifications. In no event shall
27+
the authors be held liable to any party for direct, indirect, special,
28+
incidental, or consequential damages arising out of the use of this
29+
software and its documentation.
30+
31+
This implementation contains no third-party code.
32+

0 commit comments

Comments
 (0)