Bogdan Marinescu
3379b15660
added LHF's lpack module
2008-08-18 17:43:26 +00:00
Bogdan Marinescu
3ce5487a73
added the PWM module, so far supported only on LM3S
2008-08-18 16:29:09 +00:00
Bogdan Marinescu
b38e258040
fixed an obsolete comment in stubs.c
2008-08-16 22:29:11 +00:00
Bogdan Marinescu
7f7315adfd
Finally added support for multiple memory spaces (preliminary). It works on my
...
LPC2888 board. The allocator used is dlmalloc, just as in Newlib, but it's a
newer version than can handle non-contiguous memory spaces (2.8.3, as opposed
to 2.6.4 in Newlib 1.16.0, I really have no idea why they're using such an
ancient version of dlmalloc). To use it add "allocator=multiple" to your scons
command line (default for LPC2888).
2008-08-16 22:27:02 +00:00
Bogdan Marinescu
660418c23d
Tried two different TLSF implementations, none of them works properly. Will try to
...
use a different dlmalloc version for multiple memory spaces. In any case, TLSF is
OUT.
2008-08-16 15:50:16 +00:00
Bogdan Marinescu
75311aec51
TLSF allocator from rtportal, not working properly
2008-08-14 07:38:30 +00:00
Bogdan Marinescu
09ac410a02
Added support for multiple RAM spaces using the TLSF allocator.
...
This takes care of my LPC2888 board (any many other board out there)
that have RAM both on the CPU itself and on a separate chip.
To use it add "allocator=tlsf" to your scons build command.
Even though the code for all the platform was modified, the new code
should not modify the "old" allocator behaviour.
Also added a new "mem" command to the shell, it gives information about
the current RAM state (total, used, free).
NOT YET TESTED !!! So use with care.
2008-08-13 13:42:57 +00:00
Bogdan Marinescu
4901305cb9
first working version on LPC2888
2008-08-12 22:29:50 +00:00
Bogdan Marinescu
3406a06f4d
LPC2888 port mostly functional, still working on it
2008-08-12 20:00:05 +00:00
Bogdan Marinescu
5efc3cb2ac
Adding the new LPC2888 platform
2008-08-11 13:34:59 +00:00
Frédéric Thomas
417e46f0d1
No need to #define LUA_NUMBER_INTEGRAL twice in the same file:
2008-08-09 15:37:22 +00:00
Frédéric Thomas
0fa7dda2cb
Detect math error in hangman & use consistent/clear error messaging
2008-08-09 15:36:11 +00:00
Bogdan Marinescu
db2c6ed4d9
corrected errors in some examples
2008-08-09 11:15:39 +00:00
Bogdan Marinescu
b17bb7b007
updated CHANGELOG and LICENSE for the new release
2008-08-09 11:03:35 +00:00
Bogdan Marinescu
7a8ea9d2db
removed obsolete 'name' method from the pd module
2008-08-09 10:46:23 +00:00
Bogdan Marinescu
0ec2230e8e
bumped version number
2008-08-09 09:56:08 +00:00
Bogdan Marinescu
8d4416853c
updated dependencies in docs
2008-08-08 15:56:43 +00:00
Bogdan Marinescu
88dc0a59fa
updated UART module documentation (send_buf is now sendstr and it can take more than one argument)
2008-08-08 15:55:03 +00:00
Bogdan Marinescu
8d8b39b600
now the recv() buffer is only allocated when doing a recv. This way we don't keep a relatively large (4k) memory area blocked all the time
2008-08-08 14:25:56 +00:00
Bogdan Marinescu
5975df54b6
documentation updated
2008-08-08 12:56:29 +00:00
Bogdan Marinescu
1e080a2b61
enabled shell for i386
2008-08-07 20:02:24 +00:00
Bogdan Marinescu
cc0bff47fd
small changes to various platform ports
2008-08-07 16:46:15 +00:00
Bogdan Marinescu
d34924b018
added *.elf and *.bin to svn:ignore
2008-08-07 16:10:39 +00:00
Bogdan Marinescu
821635ecee
added timeouts in term_translate to handle terminal escape sequences properly
2008-08-07 11:46:34 +00:00
Bogdan Marinescu
f52fc32230
added ESC to term keys
2008-08-07 11:45:43 +00:00
Bogdan Marinescu
664842e04c
few bugfixes, added ESC to exit game
2008-08-07 11:45:26 +00:00
Bogdan Marinescu
f723f9f795
eLua examples are now part of the repository
2008-08-06 15:26:25 +00:00
Frédéric Thomas
05122bca58
Add support for lm3s6965.
2008-08-06 08:57:26 +00:00
Frédéric Thomas
7d89c33c67
Update doc - remove code extract no longer valid
2008-08-06 08:56:07 +00:00
Bogdan Marinescu
a3b3d3f7dc
added term module to Lua, various fixes
2008-08-05 19:58:19 +00:00
Frédéric Thomas
ff3b4a3544
Minimize (textual) differences with standard Lua and Lualong (removing extra white space, etc).
2008-08-05 14:26:28 +00:00
Frédéric Thomas
d247f3dd69
Fix warning about parenthesis in operands of ==
2008-08-05 10:07:08 +00:00
Bogdan Marinescu
4e6be0bc64
added prelimiary support for terminal functions
2008-08-04 13:45:38 +00:00
Bogdan Marinescu
03232c0068
removed numbering from files in docs/
2008-08-04 12:08:24 +00:00
Bogdan Marinescu
095b4d42ae
added conditional compilation for different components
2008-08-04 12:04:36 +00:00
Bogdan Marinescu
a5529cbed4
conditional compilation
2008-08-04 11:51:55 +00:00
Bogdan Marinescu
2d0652c808
updated str9-comstick initialization code
2008-08-03 15:19:01 +00:00
Frédéric Thomas
4759965d3a
Increase naming coherence in platform interface and module:
...
* platform()/cpu() returns the platform/cpu name, respectively
(instead of previously name()/cpu())
* platform interface is platform_pd_get_<cpu/platform/cpu_clock>
pd.name() is still defined to keep compatibility with samples on the
web site. It would be best for sample programs to be part of the repository
so they could be kept aligned with the code they demonstrate.
2008-08-03 13:56:22 +00:00
Frédéric Thomas
803f776524
Added svn:ignore property for:
...
* mkfs.pyc
* .sconsign.dblite
* inc/luatest.h
2008-08-02 22:06:12 +00:00
Frédéric Thomas
883f32e552
Documentation update following recent commits
2008-08-02 22:04:39 +00:00
Bogdan Marinescu
632f4e1808
modified platform and pio modules
2008-08-02 18:01:01 +00:00
Bogdan Marinescu
cc38de7724
preliminary support for str9-comstick
2008-08-02 18:00:05 +00:00
Bogdan Marinescu
8ad0f6f31c
added option for arm/thumb mode
2008-08-02 17:59:47 +00:00
Bogdan Marinescu
b0d76b66c9
changed build system
2008-08-02 17:52:11 +00:00
Bogdan Marinescu
bf2e0ba295
added platform_pd_cpu_name(), platform_pio_get_prefix() plus a few optimizations
2008-08-02 17:48:43 +00:00
Bogdan Marinescu
bc1f5c36b8
added platform_pd_cpu_name(), platform_pio_get_prefix() plus a few optimizations
2008-08-02 17:48:10 +00:00
Frédéric Thomas
a3a9862687
Return generic name as platform name
2008-08-02 15:30:27 +00:00
Frédéric Thomas
cbe23dcda5
Rename last file named specifically for LM3S8962
2008-08-02 15:10:38 +00:00
Frédéric Thomas
90d2c37184
Our LM3S8962 support works for most LM3S chips. Replace specific
...
platform with generic LM3S support.
2008-08-02 15:08:34 +00:00
Frédéric Thomas
46f75bf15d
Preparing lm3s platform: Removed lm3s8962.h, nobody uses it.
2008-08-02 14:45:26 +00:00