From 2c7c049af05ed7a5bf2e56f5b169331ebe082dc1 Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Tue, 24 Nov 2015 16:19:25 +0800 Subject: [PATCH] Update and rename README.TXT to README.md --- components/external/lua/{README.TXT => README.md} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename components/external/lua/{README.TXT => README.md} (89%) diff --git a/components/external/lua/README.TXT b/components/external/lua/README.md similarity index 89% rename from components/external/lua/README.TXT rename to components/external/lua/README.md index beb1cec948..7831fbbf7d 100644 --- a/components/external/lua/README.TXT +++ b/components/external/lua/README.md @@ -24,8 +24,7 @@ RT-Thread中的Lua修改自[eLua](http://www.eluaproject.net/)的Lua-5.1.4版本 3.更多的配置项可以在luaconf.h中找到 ## 开发相关 - - 采用gcc工具链时,依赖于newlib,需在rtconfig.h中定义RT_USING_NEWLIB - 采用keil工具链时,依赖于arm的标准c库,需在rtconfig.h中定义RT_USING_ARM_LIBC + - lua组件依赖于libc,需要在rtconfig.h中定义RT_USING_LIBC - 开启编译器对C99的支持,如MDK中,在C/C++选项的Misc Controls输入框中添加--c99 - 使用gcc时,需要在链接脚本中定义_stext和_etext,.ordata*放在两者之间。用于判断数据是read-only和writable 使用keil时,需要在分散加载文件中把rodata放在ER_IROM1区