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

438 Commits

Author SHA1 Message Date
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
Dado Sutter
f6d7d85f94 - Added link to a host @Led Lab for custom build binaries
- Current online site will be updated acordingly
- LM3S6965 version still needs to be adapted, tested and uploaded (sent to me). I do not have an LM3S6965 board to test :(
2010-02-01 01:38:13 +00:00
Bogdan Marinescu
c87e4eb22f lots of CRLF->LF conversions, in preparation of 'remotefs' branch merging 2010-01-31 23:36:19 +00:00
Dado Sutter
0c75b4ee98 - Added custom binaries download table on the binaries download section.
- A text paragraph describes the idea (revisions/refinements always welcomed)
- The links are correct but the files are not there yet. I'll upload the LM3S8962
as soon as I figure out where to send them too @BerliOS :)
Help is needed to adapt (on the repo's LM3S Games branch) and test the eLua Games
build to the LM3S6965 kit.
2010-01-31 17:44:54 +00:00
Dado Sutter
aa605601a5 bit.isset() & bit.isclear() return types fixed (to booleans, not numbers) 2010-01-30 06:29:35 +00:00
Dado Sutter
f1d13c73f7 Spelling fixes 2010-01-29 02:07:54 +00:00
James Snyder
c31efa276a Switch SCons decider, crunch PNG screenshots.
SCons decider for main build and luarpc have been switched to MD5-timestamp,
which will prevent scons from re-digesting files it has cached unless
timestamp has changed (should shave a little off of build times, but be safe).

Some of the PNG screenshots that didn't get crunched before the 0.7 release
have been run through optipng, advpng and pngout to wring out as many bytes as
possible without losing data/quality.
2010-01-28 19:17:22 +00:00
Dado Sutter
8689b9663c PT refinements 2010-01-28 13:15:31 +00:00
James Snyder
8b9de43485 SCons build for luarpc now pays attention to required header files. 2010-01-28 01:31:32 +00:00
James Snyder
931773c810 Fix for LM3S MMCFS build bug, thanks to Tim Sharples for pointing this out. 2010-01-28 00:09:14 +00:00
Dado Sutter
7da38ff6c4 ?.lc added to LUA_PATH_DEFAULT, to allow Lua to require() files built with the new romfs=compile mode 2010-01-27 22:23:07 +00:00
Dado Sutter
f968670490 Two minor (but very important) doc fixes:
- bit module's isset and isclear return values are true/false (and not 0/1)
- scons build option for LuaRPC is boot=luarpc (and not boot=rpc)
2010-01-27 11:08:00 +00:00
James Snyder
bb7f663e40 Missing header include. 2010-01-27 01:02:06 +00:00
James Snyder
0bb6552c73 Additional missing header. 2010-01-27 00:58:08 +00:00
James Snyder
47f9d97079 Missing platform_conf.h. 2010-01-27 00:56:17 +00:00
James Snyder
125af9f8b8 Desktop Builds Get platform_conf.h
luarpc & cross compiler builds now have a platform_conf.h which should help in
keeping ifdefs down in common source files.
2010-01-26 00:23:57 +00:00
James Snyder
8b58611c6b Merge branch 'post07' 2010-01-25 23:44:40 +00:00
James Snyder
51221f8b4c Merge 0.7 changes to trunk. 2010-01-25 23:43:05 +00:00
James Snyder
d3e1ba98a8 Timer support for LPC17xx (MBED). 2010-01-06 06:27:27 +00:00
James Snyder
9c6062a632 Initial basic mbed (LPC1768) support. 2010-01-05 03:40:12 +00:00
James Snyder
b00c7e1d7e Google Analytics tracking code, extra meta tags. 2009-12-17 03:55:14 +00:00
Bogdan Marinescu
42ec61613b pio.port.setval bugfix (thanks, Teo! :)) 2009-12-16 19:43:34 +00:00
Dado Sutter
fd2379c07e Pong (game) enhancements 2009-12-12 04:12:18 +00:00
Dado Sutter
67be234b32 eLua platform specific disp module, added to LM3S aux setup Lua modules.
This helps apps to treat natively-supported LM3S OLED RIT display as just another onboard device.
Doc will be enhanced to give examples on these modules' usages.
2009-12-11 06:38:45 +00:00
Dado Sutter
d29ac7a556 eLua Icon instantiation, to show up in browsers' URL textbox, tabs, bookmarks .... 2009-12-11 06:32:51 +00:00
James Snyder
f6699a9355 RPC enabled for lpc24xx platform. 2009-12-10 20:38:57 +00:00
James Snyder
b935af43c7 Additional remote -> rpc touch-ups. 2009-12-10 20:38:48 +00:00