1
0
mirror of https://github.com/elua/elua.git synced 2025-01-08 20:56:17 +08:00

464 Commits

Author SHA1 Message Date
James Snyder
c5e5ece1cd Now uses scons flags variables to construct compiler/linker commands.
Builds for avr32, sim & i386 should build, but have not been tested.
2010-05-10 23:06:09 +00:00
James Snyder
ea64e2b7d3 Use more of SCons handling for adding preprocessor defines & validation. 2010-05-10 23:05:55 +00:00
James Snyder
a8bacf78ce Propagate some variable name changes that were missed in the last commit. 2010-05-10 01:14:22 +00:00
James Snyder
c1d27e76ee Initial work towards making the SCons build more parameterized.
- automatically searches for compatible toolchain (and checks that it at least runs)
- running "scons -h" now shows descriptions of command line options and enumerates valid values
- caches last specifically requested configuration

More to come...
2010-05-06 01:09:40 +00:00
James Snyder
bac2b927ba Start of SConscript conversion 2010-05-06 01:09:21 +00:00
Dado Sutter
1989b04a4b - Hardcoded links to www.giga.puc-rio.br changed to relative or to User Labs entries
- Official site was updated accordingly
2010-04-01 03:15:47 +00:00
Dado Sutter
9e22349fc5 - Added menu and community page entry for the eLua User Labs
- Entry text can be refined
- Online site will be updated to doc trunk version
2010-03-31 16:44:14 +00:00
James Snyder
c1b0ea2b51 Lossless image crunching. 2010-03-30 19:48:20 +00:00
James Snyder
1667c477cf Basic support for opendir/readdir on mbed to do directory listing. 2010-03-28 04:15:19 +00:00
James Snyder
c8d7dab883 Comment for semihosting. 2010-03-28 04:14:57 +00:00
Dado Sutter
1b50d07010 - Adding James Snyder's revision for the eLua User Labs wiki launch
Final URL target must be confirmed before launch
2010-03-24 19:01:16 +00:00
Dado Sutter
5d84caa851 - Added eLua Users launch notice, which I expect to be refined before we launch. 2010-03-23 23:51:13 +00:00
Dado Sutter
ee5a25bede - Added more suported platforms for lhttpd.lua example 2010-03-18 04:23:01 +00:00
Dado Sutter
588411ce92 - Fixed autorun feature for all file systems and all file formats
(it did not autorun if sd/mmc was built and autorun.lua was in romfs)
  (it did not autorun .lc {Lua compiled} files)
  Thanks to Marcelo Politzer for the help with the fix too.

- Minor doc refinement
2010-03-16 00:18:33 +00:00
James Snyder
b34171de18 semifs: need to decrement count of open files when one is closed. 2010-03-08 23:42:54 +00:00
James Snyder
5f5e01fd3b Add support for Semihosting filesystem operations
- enable file creation, reading, writing on mbed for the built-in filesystem
- implementation currently lacks support for directory listings, this will be
  added when mbed implementation details are available.

Note: this should work with other ARM arm ports that are connected to a JTAG
debugger that implements semihosting, though I have not tested it.
2010-03-08 20:08:07 +00:00
Dado Sutter
ec738191c1 - Added anchors to individual examples to help referencing this page from the eLuaUsers Wiki (while we don't have better content up there) 2010-03-02 04:51:54 +00:00
Dado Sutter
2695e45dec - Status menu and page slightly enhanced
- Supported plats sub-menu now points a little above the status table, to show the symbol meanings too
- Added more sub-menu items for other important tables/sections under Status
- Minor content edition
2010-02-27 16:24:25 +00:00
Dado Sutter
9cc26b3d26 - Case sensitiveness fixes on the mbed drivers and conf
- Added a linker ref to a weird symbol that avoided the build
(Tks James for the help!)
2010-02-24 21:39:40 +00:00
Bogdan Marinescu
97160f1008 modified AVR32 port to work with AVR32 toolchain 2.4.2, tested only under Windows, shouldn't have no issues in Linux either 2010-02-24 19:45:50 +00:00
Dado Sutter
a38076bb91 - Added copyright years to shell welcome message
- Project's reference changed to www.eluaproject.org on the same msg
2010-02-23 17:18:06 +00:00
Bogdan Marinescu
f64ba8175b reverted changes on elua_uip.c 2010-02-23 11:19:19 +00:00
Bogdan Marinescu
11b2e6927f tentative fix for net.close 2010-02-23 11:12:13 +00:00
Dado Sutter
15daebf98e - Added a Lua-like first-prompt welcome message to the eLua shell
- Main menu refactored to reduce info levels. Old "tutorials" are now part
of the "More Information" (which already contained tutorials) on eLua
Internals
- Shell help command adapted to rw filesystems addition (ls lists all files
of all filesystems)
- Minor order and name changes on main menu sub-items
- Minor refinements in some doc pages
2010-02-22 20:18:21 +00:00
James Snyder
dee997d856 Adjust mmcfs to enable long filename support and correct directory listing
bug.
2010-02-22 03:39:47 +00:00
Dado Sutter
746dd14de7 - Added version() function to elua module. Returns a string with the running eLua version
- Added the elua module to str7, str9, lpc24xx, lpc288x, stm32, avr32, at91sam7x and lm3s platforms
- OBS: the elua module is NOT working on at91sam7x yet (and I don't know why)
- Minor refinements in the License text
2010-02-20 20:02:56 +00:00
James Snyder
f825e2c39e Use all RAM on mbed. Adjust life.lua to show memory usage information, and use
a bit smaller grid.
2010-02-20 01:15:16 +00:00
James Snyder
271dcc15e1 Enable PWM support for lpc17xx/mbed.
Note: pin functions need to be configured on this platform for output to go to
a given pin.
2010-02-20 00:27:33 +00:00
James Snyder
b79ed03629 Partial PWM implementation for lpc17xx. 2010-02-20 00:27:13 +00:00
James Snyder
a3eb58211d Update fatfs (attempting to resolve a bug that hangs directory listing)
Other misc changes for RPC building, comment for mbed_pio.
2010-02-20 00:26:51 +00:00
Dado Sutter
def492584a Comments for the platform-dependent modules revised (they could actually be rewritten :) and added to the new mbed module.
The idea is (not to touch someone else's module/code but ...:) to have similar comments for these aux Lua modules.
2010-02-19 03:01:18 +00:00
James Snyder
3c362a27c4 Support mbed pin mappings through mbed.pio platform specific module, instead
of directly within platform.c.
2010-02-16 00:33:03 +00:00
James Snyder
7d70b21ec5 Turn off mmcfs by default, switch console port back to uart 0. 2010-02-16 00:32:39 +00:00
James Snyder
9a1536b959 Fix LM3S6965 bug related to using lm3s module.
Add tetrives back on LM3S6965.
2010-02-15 22:26:15 +00:00
James Snyder
53f69a9f2f Basic GPIO support for MBED.
dip pins p5-p30 are mapped as P0_5 to P0_30
LEDs are mapped to P1_0 to P1_3

This approach could be switched to using a platform specific Lua module to
define all the pins, or C code to do the same.
2010-02-12 23:03:29 +00:00
James Snyder
d297274a40 Beginnings for specialized GPIO on mbed. 2010-02-12 23:03:13 +00:00
James Snyder
cd6fff2696 Turn on rpc if boot mode is set to luarpc, regardless of whether BUILD_RPC is
set.
2010-02-10 17:58:20 +00:00
James Snyder
28b507f4d8 Add support for compiling without cross-compiler
LuaRPC exists both in eLua and as a standalone module for a standard Lua
build.  This and some forthcoming related changes are to enable building of
the standalone version from the same luarpc sources.
2010-02-08 23:07:06 +00:00
Bogdan Marinescu
9e3b094841 fix for readdir on Win32 2010-02-08 13:23:14 +00:00
James Snyder
2528e5cdbc CSS cleanup. 2010-02-04 22:56:30 +00:00
James Snyder
d636724b60 Fix for cat command on mmcfs files. 2010-02-04 20:00:11 +00:00
James Snyder
9604c94f06 Cover zero timeout better with serial library. 2010-02-03 21:22:28 +00:00
Dado Sutter
d890fd3c50 - Fixed LM3S games and aux modules
- Updated lm3s games versions merged with trunk
- Tetrives game added to default LM3S8962 build on SConstruct
2010-02-03 12:32:18 +00:00
Bogdan Marinescu
994e58d231 complete RFS server implementation under Win32 (not tested yet) 2010-02-02 14:56:40 +00:00
Bogdan Marinescu
3bd55185f5 the RFS server will always be compiled in 32 bit mode 2010-02-01 23:25:02 +00:00
Dado Sutter
0a6a5244c5 - PIO_PINS_PER_PORT changed (from 31) to 32 for LPC24xx 2010-02-01 22:03:31 +00:00
Bogdan Marinescu
e7702bb0e2 Manual merge of remotefs/ into trunk. Tested with the simulator and (partially) on a ET-STM32 board. Other changes:
- FAT changed to support the new opendir/readdir/closedir mechanism, and to use lseek directly instead of ioctl (also fixed a bug in FAT's lseek that always returned 0 instead of file position).
- ET-STM32 console moved to UART2@19200bps (to allow RFS to run on UART0). If UART0 is needee for console, remember to disable RFS.
- freed 700+ bytes of RAM by changing the devman implementation to keep pointers instead of actual DM_DEVICE structures
- other minor code changes and fixes
2010-02-01 18:47:41 +00:00
Dado Sutter
aedbe6c83c - Several but minor html w3c validation fixes 2010-02-01 15:31:37 +00:00
Dado Sutter
f7d576953b - Minor download link description fix
- Minor CSS W3C validation issue fix
2010-02-01 15:13:01 +00:00
Dado Sutter
1f11adc3a4 - Added James Snyder credits to CSS menu entry on the news page too. 2010-02-01 13:23:16 +00:00