mirror of
https://github.com/elua/elua.git
synced 2025-01-25 01:02:54 +08:00
Merge branch 'master' of github.com:elua/elua
This commit is contained in:
commit
6f93ebdd29
@ -15,14 +15,11 @@
|
|||||||
// Define here what components you want for this platform
|
// Define here what components you want for this platform
|
||||||
|
|
||||||
#define BUILD_MMCFS
|
#define BUILD_MMCFS
|
||||||
//#define BUILD_XMODEM
|
|
||||||
//#define BUILD_SHELL
|
|
||||||
//#define BUILD_ROMFS
|
//#define BUILD_ROMFS
|
||||||
#define BUILD_CON_GENERIC
|
#define BUILD_CON_GENERIC
|
||||||
//#define BUILD_RPC
|
//#define BUILD_RPC
|
||||||
#define BUF_ENABLE_UART
|
#define BUF_ENABLE_UART
|
||||||
#define BUILD_C_INT_HANDLERS
|
#define BUILD_C_INT_HANDLERS
|
||||||
#define BUILD_LUA_INT_HANDLERS
|
|
||||||
//#define BUILD_RFS
|
//#define BUILD_RFS
|
||||||
//#define BUILD_SERMUX
|
//#define BUILD_SERMUX
|
||||||
|
|
||||||
@ -32,10 +29,13 @@
|
|||||||
#else
|
#else
|
||||||
// Build options for 256KB and 512KB flash
|
// Build options for 256KB and 512KB flash
|
||||||
# define RAM_SIZE 0x10000
|
# define RAM_SIZE 0x10000
|
||||||
|
# define BUILD_SHELL
|
||||||
|
# define BUILD_XMODEM
|
||||||
# define BUILD_ADC
|
# define BUILD_ADC
|
||||||
# define BUILD_LCD
|
# define BUILD_LCD
|
||||||
# define BUILD_TERM
|
# define BUILD_TERM
|
||||||
# define BUILD_UIP
|
# define BUILD_UIP
|
||||||
|
# define BUILD_LUA_INT_HANDLERS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef BUILD_UIP
|
#ifdef BUILD_UIP
|
||||||
@ -121,6 +121,8 @@
|
|||||||
#define LUA_PLATFORM_LIBS_ROM\
|
#define LUA_PLATFORM_LIBS_ROM\
|
||||||
_ROM( AUXLIB_PD, luaopen_pd, pd_map )\
|
_ROM( AUXLIB_PD, luaopen_pd, pd_map )\
|
||||||
_ROM( AUXLIB_PIO, luaopen_pio, pio_map )\
|
_ROM( AUXLIB_PIO, luaopen_pio, pio_map )\
|
||||||
|
_ROM( AUXLIB_TMR, luaopen_tmr, tmr_map )\
|
||||||
|
_ROM( LUA_MATHLIBNAME, luaopen_math, math_map )\
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user