mirror of
https://github.com/elua/elua.git
synced 2025-01-08 20:56:17 +08:00
80513aaf52
SConstruct edited just to leave group/files definitions close to the platform/groups. Doc content files mirroed to pt, to ease the portuguese version initial migration
418 lines
18 KiB
HTML
418 lines
18 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
|
|
<html><head>
|
|
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
|
|
<meta http-equiv="Content-Language" content="en-us"><title>Product</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="../style.css">
|
|
</head>
|
|
<body style="background-color: rgb(255, 255, 255);">
|
|
<h3>Current Status of Platforms and Modules Supported</h3>
|
|
<p>As already stated, eLua allows you to run Lua completely on
|
|
the
|
|
microcontroller. A fast-growing set of complementary modules is also
|
|
provided, for Lua programming eLua's generic (portable) peripherals. </p>
|
|
<p>The following features are ready or being implemented:</p>
|
|
<ul>
|
|
<li>a (mostly) platform independent peripheral library (PIO,
|
|
UART, PWM, SPI, TMR, ADC, NET, I2C...)</li>
|
|
<li>a very low footprint embedded rom file system, easy to port
|
|
to different types of memory chips and other storage devices</li>
|
|
<li>a small FAT rw file system layer for SD cards.</li>
|
|
<li>an embedded editor, to edit Lua programs directly via a
|
|
serial connection or other input devices</li>
|
|
<li>a minimal "shell" (for file operations, environment
|
|
configuration and other facilities)</li>
|
|
<li>network support</li>
|
|
<li>an embedded http server</li>
|
|
<li>Terminal / Console over Ethernet</li>
|
|
</ul>
|
|
<p>Porting eLua to another compatible platform should be as easy
|
|
and
|
|
painless as possible. Currently this is restricted to platforms for
|
|
which the gcc+newlib combo is available. This might change in the
|
|
future, but please not that this is not a priority of the project at
|
|
this point.</p>
|
|
<p>Also, the Lua "core" comes in two flavors: "regular Lua"
|
|
(using
|
|
floating point as the number type) and "integer Lua" (using integers).
|
|
We'll add more about this in a future tutorial
|
|
about Lua. For now, it's enough to say that "regular Lua" will be able
|
|
to perform floating point operations (but will be slower because the
|
|
floating point operations will be emulated in software on the MCU),
|
|
while "integer Lua" will only be able to perform operations with
|
|
integer numbers (but support for fixed and even floating point can be
|
|
added with separate modules) and thus will be faster.</p>
|
|
<p></p>
|
|
<h3>Symbol Legends</h3>
|
|
|
|
<table style="width: 325px; height: 169px;" class="table_center">
|
|
<tbody>
|
|
<tr>
|
|
<th style="text-align: center;">Symbol</th>
|
|
<th style="text-align: center;">Meaning</th>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: left;">Implemented and tested</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: center;"><img src="../wb_img/yellowled.png"></td>
|
|
<td style="text-align: left;">Implemented, not tested</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: center;"><img src="../wb_img/ksame.png"></td>
|
|
<td style="text-align: left;">Not yet implemented</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_fail1.png"></td>
|
|
<td style="text-align: left;">Not applicable</td>
|
|
</tr>
|
|
</tbody>
|
|
</table><br><br>
|
|
<h3>Platforms x Modules Supported</h3>The following table shows the status of <span style="font-weight: bold;">eLua</span>'s modules implementation by
|
|
platform.<br><br>
|
|
<table style="text-align: left;">
|
|
<tbody>
|
|
<tr>
|
|
<th>Module</th>
|
|
<th rowspan="2">PIO</th>
|
|
<th rowspan="2">SPI</th>
|
|
<th rowspan="2">UART</th>
|
|
<th rowspan="2">TMR</th>
|
|
<th rowspan="2">PWM</th>
|
|
<th rowspan="2">NET</th>
|
|
<th rowspan="2">CPU</th>
|
|
<th rowspan="2">ADC</th>
|
|
</tr>
|
|
<tr><td style="color: rgb(255, 102, 0);">MCU</td>
|
|
</tr><tr>
|
|
<td style="color: rgb(255, 102, 0);">LM3S8962</td>
|
|
<td style="text-align: center;"><img style="width: 16px; height: 16px;" alt="Implemented" src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;"><img style="width: 16px; height: 16px;" alt="Not Tested" src="../wb_img/yellowled.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/yellowled.png"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="color: rgb(255, 102, 0);">LM3S6965</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/yellowled.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/yellowled.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/yellowled.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="color: rgb(255, 102, 0);">i386</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_fail1.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_fail1.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_fail1.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/ksame.png"></td>
|
|
<td style="text-align: center;"><img style="height: 16px; width: 16px;" alt="Not Implemented" src="../wb_img/agt_action_fail1.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/ksame.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/ksame.png"></td>
|
|
<td style="text-align: center;"><img style="height: 16px; width: 16px;" alt="Not Implemented" src="../wb_img/agt_action_fail1.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="color: rgb(255, 102, 0);">AT91SAM7X256</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/ksame.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/ksame.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/ksame.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="color: rgb(255, 102, 0);">AT91SAM7X512</td>
|
|
<td style="text-align: center;"><img src="../wb_img/yellowled.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/ksame.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/yellowled.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/yellowled.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/yellowled.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/ksame.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;" valign="undefined"><img src="../wb_img/ksame.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="color: rgb(255, 102, 0);">STR912FW44</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/ksame.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/ksame.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/ksame.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;" valign="undefined"><img src="../wb_img/ksame.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="color: rgb(255, 102, 0);">LPC2888</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/ksame.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_fail1.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/ksame.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;" valign="undefined"><img src="../wb_img/ksame.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="color: rgb(255, 102, 0);">STR711FR2</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/ksame.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"> </td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"> </td>
|
|
<td style="text-align: center;"><img src="../wb_img/yellowled.png"></td>
|
|
<td style="text-align: center;"> <img style="height: 16px; width: 16px;" alt="Not Implemented" src="../wb_img/agt_action_fail1.png"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"> </td>
|
|
<td style="text-align: center;"><img src="../wb_img/ksame.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="color: rgb(255, 102, 0);">AVR32</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;"><br>
|
|
</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"> </td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"> </td>
|
|
<td style="text-align: center;"><img src="../wb_img/yellowled.png"></td>
|
|
<td style="text-align: center;"> <br>
|
|
</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"> </td>
|
|
<td style="text-align: center;"><br>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="color: rgb(255, 102, 0);">STM32</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
<td style="text-align: center;"><br>
|
|
</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"> </td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"> </td>
|
|
<td style="text-align: center;"><img src="../wb_img/yellowled.png"></td>
|
|
<td style="text-align: center;"></td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"> </td>
|
|
<td style="text-align: center;"><img src="../wb_img/ksame.png"></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<h3><a name="roadmap"></a>Status of features
|
|
& roadmap</h3>
|
|
<p>The following table shows the status of some existent and
|
|
planned eLua
|
|
features. </p>
|
|
<p><br>
|
|
</p>
|
|
<table style="text-align: left; width: 672px; height: 691px;" class="table_center">
|
|
<tbody>
|
|
<tr>
|
|
<th style="text-align: left;">eLua Features</th>
|
|
<th style="text-align: center;">Status</th>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">Full Lua interpreter
|
|
running on targets</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Various Lua scripts examples running properly</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">Choose floating point
|
|
or integer Lua</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">XMODEM transfer over
|
|
UART</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">Embedded ROM (Flash)
|
|
file
|
|
system</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">Terminal / Console
|
|
over UART or Ethernet</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">eLua command shell</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">eLua complete
|
|
interrupt support</td>
|
|
<td style="text-align: center;"><img src="../wb_img/ksame.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">eLua "memory limiting"
|
|
mode</td>
|
|
<td style="text-align: center;"><img src="../wb_img/yellowled.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">FAT File System layer
|
|
for mmc/sd cards</td>
|
|
<td style="text-align: center;"><img src="../wb_img/yellowled.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">Embedded R/W file
|
|
system</td>
|
|
<td style="text-align: center;">Partially
|
|
implemented and tested</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">eLua FP module (for
|
|
integer Lua)</td>
|
|
<td style="color: rgb(255, 102, 0); text-align: center;"><img src="../wb_img/ksame.png">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">Embedded text editor</td>
|
|
<td style="text-align: center;"><img src="../wb_img/ksame.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">Lua debugging on target</td>
|
|
<td style="text-align: center;"><img src="../wb_img/ksame.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">GUI/IDE interface for
|
|
eLua</td>
|
|
<td style="text-align: center;"><img src="../wb_img/ksame.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">GUI eLua build
|
|
configuration tool<br>
|
|
</td>
|
|
<td style="text-align: center;"><img src="../wb_img/ksame.png">
|
|
</td>
|
|
</tr><tr><td align="undefined" valign="undefined">Embedded http web server</td><td style="text-align: center;" valign="undefined"><img src="../wb_img/agt_action_success.png"></td></tr>
|
|
</tbody>
|
|
</table>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<table style="text-align: left; width: 677px; height: 403px;" class="table_center">
|
|
<tbody>
|
|
<tr>
|
|
<th style="text-align: left;">Generic Multi-Platform
|
|
Peripheral Modules</th>
|
|
<th style="text-align: center;">Status</th>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">PIO - Programable
|
|
Input / Output</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>TMR - Timers</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">PWM - Pulse Width
|
|
Modulation</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">UART - Universal
|
|
Assincronous Rx Tx</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">SPI - Serial
|
|
Programable Interface</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">CMP - Analog
|
|
Comparator</td>
|
|
<td style="text-align: center;"><img src="../wb_img/yellowled.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">I2C </td>
|
|
<td style="text-align: center;"><img src="../wb_img/ksame.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">CNT - Event Counter
|
|
</td>
|
|
<td style="text-align: center;"><img src="../wb_img/yellowled.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">CAN</td>
|
|
<td style="text-align: center;"><img src="../wb_img/ksame.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">NET -
|
|
Ethernet module</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<table style="width: 681px; height: 68px;" class="table_center">
|
|
<tbody>
|
|
<tr>
|
|
<th style="text-align: left;">Platform-Dependent
|
|
Peripheral Modules</th>
|
|
<th>Status</th>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">DISP - RIT
|
|
OLED Display Support for LM3Sxxxx</td>
|
|
<td style="text-align: center;"><img src="../wb_img/agt_action_success.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="undefined" valign="undefined">LM3S
|
|
- Luminary Micro kits onboard devices support (Leds, Buttons, ...)</td>
|
|
<td style="text-align: center;" valign="undefined"><img src="../wb_img/agt_action_success.png"></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<table style="width: 680px; height: 389px;" class="table_center">
|
|
<tbody>
|
|
<tr>
|
|
<th style="text-align: left;">Functional Abstraction
|
|
Auxiliary Modules</th>
|
|
<th>Status</th>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: left;">GPS - NMEA0183
|
|
Sentences parsing and command handling</td>
|
|
<td style="text-align: center;"><img src="../wb_img/yellowled.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="undefined" valign="undefined">PID
|
|
- Proportional, Integrative & Derivative Control</td>
|
|
<td style="text-align: center;" valign="undefined"><img src="../wb_img/ksame.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="undefined" valign="undefined">LCD
|
|
- Liquid Crystal Display support</td>
|
|
<td style="text-align: center;" valign="undefined"><img src="../wb_img/ksame.png"></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="undefined" valign="undefined">ROT
|
|
- Rotary Switch & Encoder support</td>
|
|
<td style="text-align: center;" valign="undefined"><img src="../wb_img/ksame.png"></td>
|
|
</tr><tr><td align="undefined" valign="undefined">CHDK - Interfacing with Canon cameras also running Lua under <a href="http://chdk.wikia.com/" target="_top">CHKD</a></td><td style="text-align: center;" valign="undefined"><img src="../wb_img/yellowled.png"></td></tr><tr><td align="undefined" valign="undefined">DISP - External text & graphics displays</td><td style="text-align: center;" valign="undefined"><img src="../wb_img/ksame.png"></td></tr><tr><td align="undefined" valign="undefined">FUZZ - Fuzzy Logic Control</td><td style="text-align: center;" valign="undefined"><img src="../wb_img/ksame.png"></td></tr><tr><td align="undefined" valign="undefined">HUM - Humity Sensors over SPI, UART, I2C, PIO, ....</td><td style="text-align: center;" valign="undefined"><img src="../wb_img/ksame.png"></td></tr><tr><td align="undefined" valign="undefined">TMP - Temperature Sensors over SPI, UART, I2C, PIO, ....</td><td style="text-align: center;" valign="undefined"><img src="../wb_img/ksame.png"></td></tr><tr><td align="undefined" valign="undefined">BAR - Pressure Sensors over SPI, UART, I2C, PIO, ....</td><td style="text-align: center;" valign="undefined"><img src="../wb_img/ksame.png"></td></tr><tr><td align="undefined" valign="undefined">X10 - X10 Protocol support for X10 Devices Mapping & Control</td><td style="text-align: center;" valign="undefined"><img src="../wb_img/ksame.png"></td></tr><tr><td align="undefined" valign="undefined">MCP - Magnetic Compass abstraction</td><td style="text-align: center;" valign="undefined"><img src="../wb_img/ksame.png"></td></tr><tr><td align="undefined" valign="undefined">PS2 - Play Station 2 Joystick interfacing support</td><td style="text-align: center;" valign="undefined"><img src="../wb_img/ksame.png"></td></tr>
|
|
</tbody>
|
|
</table><br><br>If you need a module for a specific device support or logic & modeling abstraction, don't hesitate to suggest it in our <a href="https://lists.berlios.de/mailman/listinfo/elua-dev" target="_top">eLua User's and Developers List</a>. You may have one ready before you would imagine :)<br><br><br><br>
|
|
</body></html> |