1
0
mirror of https://github.com/elua/elua.git synced 2025-01-25 01:02:54 +08:00

5 Commits

Author SHA1 Message Date
Bogdan Marinescu
3ce5487a73 added the PWM module, so far supported only on LM3S 2008-08-18 16:29:09 +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
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
Bogdan Marinescu
632f4e1808 modified platform and pio modules 2008-08-02 18:01:01 +00:00
Bogdan Marinescu
3eb530b4eb initial import 2008-07-29 11:08:54 +00:00