mirror of
https://github.com/elua/elua.git
synced 2025-01-25 01:02:54 +08:00
bd1465ca50
Conflicts: SConstruct doc/en/arch_platform.html doc/en/comunity.html doc/en/overview.html doc/en/refman.html doc/en/refman_gen.html doc/en/status.html doc/en/tut_bootstick.html doc/images/lng_pt.png doc/images/minusnode.png doc/images/next.png doc/images/node.png doc/images/nodelast.png doc/images/plusnode.png doc/images/plusnodelast.png doc/images/previous.png doc/images/showall.png doc/images/sync.png doc/images/vertline.png doc/pt/arch.html doc/pt/arch_coding.html doc/pt/arch_con_term.html doc/pt/arch_newport.html doc/pt/arch_overview.html doc/pt/arch_platform.html doc/pt/arch_tcpip.html doc/pt/building.html doc/pt/comunity.html doc/pt/dl_binaries.html doc/pt/dl_old.html doc/pt/dl_sources.html doc/pt/downloads.html doc/pt/examples.html doc/pt/faq.html doc/pt/installing_i386.html doc/pt/installing_lm3s.html doc/pt/news.html doc/pt/overview.html doc/pt/refman_dep.html doc/pt/refman_gen.html doc/pt/status.html doc/pt/tc_386.html doc/pt/toolchains.html doc/pt/tut_openocd.html doc/pt/using.html romfs/LM3S.lua romfs/led.lua romfs/morse.lua romfs/pong.lua src/lua/linit.c src/modules/auxmods.h src/platform/lm3s/platform.c src/platform/lm3s/platform_conf.h src/platform/sim/platform_conf.h
67 lines
1.6 KiB
Lua
67 lines
1.6 KiB
Lua
-- eLua reference manual - platform data
|
|
|
|
data_en =
|
|
{
|
|
|
|
-- Title
|
|
title = "eLua reference manual - platform data",
|
|
|
|
-- Menu name
|
|
menu_name = "Platform data (pd)",
|
|
|
|
-- Overview
|
|
overview = [[This module contains functions that access specific platform data. Useful if the code needs to know on which platform it runs.]],
|
|
|
|
-- Functions
|
|
funcs =
|
|
{
|
|
{ sig = "platform = #pd.platform#()",
|
|
desc = "Get platform name.",
|
|
ret = "$platform$ - the name of the platform on which eLua is running.",
|
|
},
|
|
|
|
{ sig = "cpu = #pd.cpu#()",
|
|
desc = "Get CPU name.",
|
|
ret = "$cpu$ - the name of the CPU of the platform on which eLua is running.",
|
|
},
|
|
|
|
{ sig = "board = #pd.board#()",
|
|
desc = "Get board name.",
|
|
ret = "$board$ - the name of the board on which eLua is running.",
|
|
}
|
|
},
|
|
}
|
|
|
|
data_pt =
|
|
{
|
|
|
|
-- Title
|
|
title = "eLua reference manual - platform data",
|
|
|
|
-- Menu name
|
|
menu_name = "Platform data (pd)",
|
|
|
|
-- Overview
|
|
overview = [[This module contains functions that access specific platform data. Useful if the code needs to know on which platform it runs.]],
|
|
|
|
-- Functions
|
|
funcs =
|
|
{
|
|
{ sig = "platform = #pd.platform#()",
|
|
desc = "Get platform name.",
|
|
ret = "$platform$ - the name of the platform on which eLua is running.",
|
|
},
|
|
|
|
{ sig = "cpu = #pd.cpu#()",
|
|
desc = "Get CPU name.",
|
|
ret = "$cpu$ - the name of the CPU of the platform on which eLua is running.",
|
|
},
|
|
|
|
{ sig = "board = #pd.board#()",
|
|
desc = "Get board name.",
|
|
ret = "$board$ - the name of the board on which eLua is running.",
|
|
}
|
|
},
|
|
}
|
|
|