2010-01-27 00:56:17 +00:00
|
|
|
// eLua platform configuration
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_CONF_H__
|
|
|
|
#define __PLATFORM_CONF_H__
|
|
|
|
|
|
|
|
#ifdef LUA_RPC
|
|
|
|
#include "auxmods.h"
|
|
|
|
|
|
|
|
#define BUILD_RPC
|
|
|
|
#define LUARPC_ENABLE_SERIAL
|
|
|
|
|
|
|
|
#define LUA_PLATFORM_LIBS_ROM \
|
2011-05-02 16:46:53 -05:00
|
|
|
_ROM( AUXLIB_RPC, luaopen_rpc, rpc_map )\
|
|
|
|
_ROM( AUXLIB_BITARRAY, luaopen_bitarray, bitarray_map )\
|
|
|
|
_ROM( AUXLIB_PACK, luaopen_pack, pack_map )\
|
|
|
|
_ROM( AUXLIB_BIT, luaopen_bit, bit_map )
|
2010-01-27 00:56:17 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2010-09-15 17:15:43 +00:00
|
|
|
#endif // #ifndef __PLATFORM_CONF_H__
|
|
|
|
|