add back modules to luarpc desktop
Merge branch 'master' of github.com:elua/elua
allow mbed target to build by defining luaopen_dummy earlier
 Committer: Omnima Dev Team  <info@omnima.co.uk>
 new file:   boards/known/omniexp.lua
Merge pull request #34 from omnima/master

 Committer: Omnima Dev Team  <info@omnima.co.uk>
eLua - mmcfs - suppress warnings (prototypes, static functions)
eLua - suppress warnings, remove extra includes, fix comments
lpc17xx - suppress compiler warnings (can - assume should be bitmask then compare)
eLua - platform - uart - handle mark/space parity - lm3s, lpc17xx, at91sam, avr32
Merge pull request #35 from ecdr/MiscUpdates

Misc updates
Add status return to can.send() and underlying platform_can_send() functions.

Now, can.send() returns a boolean result to indicate whether the message
was successfully sent or not. The various platform functions differ in how
they handled the situation where all CAN transmitters are occupied. In
particular, the STM32x and STR9 implementations ignored the status returns
from the underlying libraries and so if all the CAN transmitters were busy,
the latest message simply got thrown away. Now, can.send() returns true/false
to indicate if the message really did get queued for transmission. All
platforms should behave the same as before.
Merge pull request #36 from smartavionics/mb-can-send-result

Add status return to can.send() and underlying platform_can_send() functions.
Missed from recent commit that added status return to platform_can_send() - sorry!
Merge pull request #37 from smartavionics/master

Missed from recent commit that added status return to platform_can_send() - sorry!
Add support for the second stm32f4 CAN interface.

This is copied from the stm32f2 code with some #if's added so that you can
select the MCU pins used for the CAN signals at compile time. Four configurations
are supported.

For example, the board config file can contain this:

  macros = { 'ELUA_BOARD_STM32F4_CAN_PIN_CONFIG_2' }
Merge pull request #38 from smartavionics/mb-stm32f4-can2

Add support for the second stm32f4 CAN interface.
Avoid 64 bit mul+div in platform_timer_get_diff_us() when timer rate is 1 MHz.
Now clears FIFO empty interrupt mask in DCD_WriteEmptyTxFifo() when transfer completes.

This fixes a problem whereby outputting to the USB UART when the host is
connected but the USB UART is not open would cause the interrupt
handler to be called continuously so it would consume 100% of the CPU.
Avoid 64 bit divide in cmd_systimer_get().
Avoid losing time when cmn_systimer_counter exceeds PLATFORM_TIMER_SYS_MAX.

Setting cmn_systimer_counter to zero when the systimer exceeded
PLATFORM_TIMER_SYS_MAX would cause time to jump backwards if
cmn_systimer_counter was already greater than PLATFORM_TIMER_SYS_MAX.

So now, instead of zeroing it, we subtract PLATFORM_TIMER_SYS_MAX.