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

335 Commits

Author SHA1 Message Date
James Snyder
4b505e92eb Fix RIT OLED driver to work on LM3S6965 (Rev C and later boards) 2009-01-09 22:18:23 +00:00
James Snyder
4ef76a03b9 Fix for LM3S6965 PWM1. 2009-01-09 22:12:35 +00:00
Bogdan Marinescu
fca447cb12 New feature: per-board file system specifications (which means that not all the files from romfs/ will end up in your binary, you now need to specify
in SConstruct what files (or rather samples) you need to be included in the
ROM file system for each board).
2009-01-08 15:20:05 +00:00
Bogdan Marinescu
e851b3cfce updated tmr module for the virtual timers 2009-01-07 20:27:07 +00:00
Bogdan Marinescu
58da9ac870 - factored out common code from all backends in src/common.c
- added virtual timers (on LM3S, AVR32 and AT91SAM7 for now)
- added interrupt handling code for AT91SAM7 and AVR32
- fixed two serious bugs that prevented the eLua image to run on both STR9 and LPC2888 (linker command file issues)
- fixed line endings (DOS->UNIX) in the STM32 library files
- fixed preprocessor errors (hopefully all of them) like #if ELUA_CPU == LM3S8962
- other minor or less than minor fixes :)
2009-01-07 20:17:18 +00:00
Bogdan Marinescu
450dc03989 fix yet another preprocessor error 2009-01-02 11:57:02 +00:00
Dado Sutter
3989133645 restoring the lm3s.c file, wrongly removed from the repo (by me :) before. 2009-01-01 00:10:52 +00:00
Dado Sutter
acf34177af Independent txt doc files removed from trunk 2008-12-31 22:01:26 +00:00
Dado Sutter
6513694269 Independent txt doc files beeing removed.
They are all migrating to the eLua_Manual.pdf
2008-12-31 21:57:32 +00:00
Dado Sutter
ce14c9199a eLua doc migrating to PDF Format
an eLua_Manual.pdf was added to docs
separate .txt files will be removed soon
The eLua_Manual.odt development will be part of another area (branch) of the repo
2008-12-30 04:18:11 +00:00
Bogdan Marinescu
bb3d4466fb fixed a build problem 2008-12-27 15:51:36 +00:00
Bogdan Marinescu
843bb3dd59 Now we have both GPIO and timer support on AVR32. led.lua sample was also modified to work with the ATEVK1100 board. More to come after I get rid of some other projects. 2008-12-16 19:01:51 +00:00
Bogdan Marinescu
c1d88386dc many fixed to the AVR32 backend, update if you need AVR32 support 2008-12-14 21:39:51 +00:00
Bogdan Marinescu
edac46fcd6 preliminary AVR32 port 2008-12-13 23:31:40 +00:00
Dado Sutter
77d626b26a href tags changed to relative (to current host) to avoid the need for "elua" host be known by DNS.
Modules tested ok after changes.
2008-12-13 21:31:20 +00:00
Dado Sutter
6ac505a181 Pong example remorphed for a require() / module () scheme.
It now illustrates how to create and use a module in Lua for eLua.
An LM3S platform-dependend module is created, exposing it's buttons, leds and offering some utility functions.
2008-12-08 19:39:47 +00:00
Dado Sutter
a20cfa3563 Still integrating basic text from previous doc & site content. 2008-12-01 23:04:05 +00:00
Dado Sutter
69157a6d21 pong.lua code updated to the new disp.stringdraw() and disp.imagedraw() disp module
syntax.
2008-12-01 01:46:19 +00:00
Dado Sutter
53cd95035e First version of the eLua Manual added to the docs folder.
This very first version is basic an assembly of the previous txt files written
by Bogdan.
Documentation for the new disp module was included and some initial revisions too.
This document, in PDF format, will soon replace the separated txt files in the docs
folder of the eLua distros and it will also be available separetely on the site.
2008-11-30 23:34:18 +00:00
Dado Sutter
9083b3171c - Added support for RIT128x96x4 OLED Display on LM3S8962 platform, on module "disp"
- ls shell command enhanced with column aligned file sizes and total size report
- New section on CHANGELOG for ongoing dev changes, to ease up next release
- pong.lua added to examples in romfs
- minor URL and e-mail updates, to reflect the new eluaproject.net domain
2008-11-30 22:30:06 +00:00
Dado Sutter
832ef91723 Shell command "ver" suggested URL updated to new domain http://www.eluaproject.net 2008-11-28 02:14:15 +00:00
Dado Sutter
07fa2652be LUA_PATH_DEFAULT reconfigured, to point to eLua's File System, so we can require() for modules 2008-11-25 23:33:36 +00:00
Dado Sutter
13d6993b43 Code added for an "ls" (or "dir") shell command 2008-11-24 13:48:46 +00:00
Mike Panetta
fd7cbd0109 * Finished stm3210lcd module.
* Added systick functions (for stm3210lcd module)
 * Created modcommon.{c,h} which contain module helper functions and module loader
 * Created lstm32_mod.c which demonstrates module helper functions and module loader (in addition to lua_lcd.c)
 * Added a .lua_init section to the stm32.ld linker script to facilitate platform module loading (see modcommon and lstm32_mod)
 * Updated conf.py auxmods.h and SConstruct to build the new files.
 * Modified linit.c to add support for require and package back in so that require 'stm3210lcd' would work.
2008-11-12 04:53:10 +00:00
Mike Panetta
88242c590f Fixed a bug in stm32/conf.py that broke build due to finding .svn dir. Added files to start lcd module for the STM3210E-EVAL 2008-11-11 04:08:48 +00:00
Mike Panetta
599651e5cf Checking in changes for new STM32 platform. Added the stm32 platform and the STM3210E-EVAL board. 2008-11-08 07:14:51 +00:00
Mike Panetta
5f62b0e7f7 Added stm32 ports dir. Only basic functionality supported for now (U(S)ARTS and PIO) 2008-11-08 07:09:35 +00:00
Bogdan Marinescu
2f8d70c2c0 fixed some errors in index.pht, also made it smaller 2008-11-03 21:01:45 +00:00
Bogdan Marinescu
92465cf2a6 looks like I still had some documentation to update :) 2008-11-01 20:39:50 +00:00
Bogdan Marinescu
967722761a ready for 0.5 2008-11-01 18:32:37 +00:00
Bogdan Marinescu
df5a678aa5 multiple changes, documentation updated, getting ready for the new release 2008-10-31 21:32:15 +00:00
Bogdan Marinescu
2acd3cf89d - corrected the uIP support code in send mode
- added the eLua web server example (romfs/lhttpd.lua, romfs/index.pht, romfs/test.lua). Use "lua /rom/lhttpd.lua" from the console to run the server. The server code is largely WIP.
2008-10-27 19:20:23 +00:00
Bogdan Marinescu
27c9fb4a2c another small TCP/IP fix 2008-10-23 20:41:37 +00:00
Bogdan Marinescu
94f9f2dd9a small changes to the TCP/IP subsystem 2008-10-23 20:39:50 +00:00
Bogdan Marinescu
592b7a2ac7 changed the build system a bit; now all the configuration for a specific target is done in a file called 'platform_conf.h' from the src/platform/<target> directory. I did this because the number of mandatory target specific files was continuously increasing 2008-10-09 10:49:07 +00:00
Bogdan Marinescu
8b25892629 enable Rx/Tx FIFOs on all UARTs 2008-10-06 21:09:14 +00:00
Bogdan Marinescu
7df3c67f62 added PWM support for STR7, fixed a few bugs 2008-10-06 20:50:04 +00:00
Bogdan Marinescu
cac25a575e OK, NOW the baudrate is indeed 38400 for STR7 :) 2008-10-06 19:16:39 +00:00
Bogdan Marinescu
876d9771ae added timer and GPIO support to STR7. Also changed the baud rate for STR7 to 38400 baud from 115200, since my board can't handle 115200 properly 2008-10-06 19:14:30 +00:00
Bogdan Marinescu
539fb1764d added preliminary support for STR711FR2 (STR71x CPUs from ST) 2008-10-02 21:21:39 +00:00
Bogdan Marinescu
f73ad2d08d modified the info.lua sample to take into account that pd doesn't have a clock() method anymore 2008-09-26 20:41:56 +00:00
Bogdan Marinescu
d2c5756200 - added the "CPU" module. its role: access data directly (read/write) for 32/16/8 bits variables, and also provide access to CPU constants (should be defined in platform_cpu.h, see lm3s code)
- the "clock" method is now part of the CPU module, thus is out of the platform data module. pd becomes a fully platform independent module.
2008-09-26 20:41:11 +00:00
Bogdan Marinescu
a10ac9c656 removed uip-split.c from the build, since it's not used anymore. And yey, we're at SVN revision 100 :) 2008-09-23 19:41:20 +00:00
Bogdan Marinescu
05ddf01cf3 - fixed a serious bug in the implementation of the eLua UIP support code. Now one can have multiple TCP/IP connection _without_ mixing the data buffers between them :)
- added the resolver application (src/uip/resolv.*) to eLua (configurable by BUILD_DNS in build.h) to allow DNS lookups
- more functions in the "net" module, more tests, it seems to work fine now in both "server mode" and "client mode"
- console over TCP works once again, or should I say "now works". It turns out that it never worked with the code in SVN, because I committed a wrong file a while ago.
2008-09-23 19:39:14 +00:00
Bogdan Marinescu
9ab61f0e56 the latest 'net' module broke support for console over TCP. Still investigating why. Until then I'll commit a version that at least compiles with BUILD_CON_TCP enabled 2008-09-22 22:09:12 +00:00
Bogdan Marinescu
c1c5e58904 added the 'net' module for eLua, ONLY VERY BRIEFLY TESTED. Finally, we have TCP/IP from eLua 2008-09-22 21:17:44 +00:00
Bogdan Marinescu
97d7025992 removed a useless commented block in term.c 2008-09-21 16:15:06 +00:00
Bogdan Marinescu
88d035e393 use metamethods instead of table keys to access constants in PIO and term 2008-09-21 16:12:31 +00:00
Bogdan Marinescu
76396d6d7e fixed a build error when BUILD_DHCPC was not enabled 2008-09-20 16:03:12 +00:00
Bogdan Marinescu
c28cbf108c added support for dynamic IP configuration (DHCP), enabled by default (so far) on LM3S 2008-09-20 15:14:05 +00:00