mirror of
https://github.com/elua/elua.git
synced 2025-01-25 01:02:54 +08:00
stringdraw renamed to print on disp module
imagedraw renamed to draw on disp module overall functionality maintained for now Minor comments edited on SConstruct, for romfs building system
This commit is contained in:
parent
7dc75fd807
commit
736bdf4f50
@ -67,8 +67,9 @@ board_list = { 'SAM7-EX256' : [ 'AT91SAM7X256', 'AT91SAM7X512' ],
|
|||||||
}
|
}
|
||||||
|
|
||||||
# ROMFS file list "groups"
|
# ROMFS file list "groups"
|
||||||
# To include a file in a ROMFS build, include it in a group here and make
|
# To include a file in a ROMFS build, include it in a group here (or create one
|
||||||
# sure the group is listed on your platform "groups list" right below.
|
# if you need) and make sure the group is included on your platform's file_list
|
||||||
|
# definition (right after this).
|
||||||
romfs = { 'bisect' : [ 'bisect.lua' ],
|
romfs = { 'bisect' : [ 'bisect.lua' ],
|
||||||
'hangman' : [ 'hangman.lua' ],
|
'hangman' : [ 'hangman.lua' ],
|
||||||
'lhttpd' : [ 'index.pht', 'lhttpd.lua', 'test.lua' ],
|
'lhttpd' : [ 'index.pht', 'lhttpd.lua', 'test.lua' ],
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
// Module for interfacing with Lua DISP code
|
// eLua Module for LM3S RIT OLED Display Support
|
||||||
|
// disp is a platform-dependent (LM3S) module, that binds to Lua the basic API
|
||||||
|
// from Luminary Micro
|
||||||
|
|
||||||
#include "lua.h"
|
#include "lua.h"
|
||||||
#include "lualib.h"
|
#include "lualib.h"
|
||||||
@ -97,8 +99,8 @@ const LUA_REG_TYPE disp_map[] =
|
|||||||
{ LSTRKEY( "on" ), LFUNCVAL( disp_on ) },
|
{ LSTRKEY( "on" ), LFUNCVAL( disp_on ) },
|
||||||
{ LSTRKEY( "off" ), LFUNCVAL( disp_off ) },
|
{ LSTRKEY( "off" ), LFUNCVAL( disp_off ) },
|
||||||
{ LSTRKEY( "clear" ), LFUNCVAL( disp_clear ) },
|
{ LSTRKEY( "clear" ), LFUNCVAL( disp_clear ) },
|
||||||
{ LSTRKEY( "stringdraw" ), LFUNCVAL( disp_stringDraw ) },
|
{ LSTRKEY( "print" ), LFUNCVAL( disp_stringDraw ) },
|
||||||
{ LSTRKEY( "imagedraw" ), LFUNCVAL( disp_imageDraw ) },
|
{ LSTRKEY( "draw" ), LFUNCVAL( disp_imageDraw ) },
|
||||||
{ LNILKEY, LNILVAL }
|
{ LNILKEY, LNILVAL }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user