summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-11-24 16:19:25 +0800
committerBernard Xiong <[email protected]>2015-11-24 16:19:25 +0800
commit2c7c049af05ed7a5bf2e56f5b169331ebe082dc1 (patch)
tree0a7310d741132ce51f3016c1efb9bd7cb0e65571 /components
parentac5ff712e267086b8672b36c439888c113b15000 (diff)
Update and rename README.TXT to README.md
Diffstat (limited to 'components')
-rw-r--r--components/external/lua/README.md (renamed from components/external/lua/README.TXT)3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/external/lua/README.TXT b/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区