[ZLG-ARM] ads下的例子在keil下编译时出现的问题

[复制链接]
 楼主| ccwwbb76 发表于 2007-7-10 08:47 | 显示全部楼层 |阅读模式
nanpia 发表于 2007-7-10 09:41 | 显示全部楼层

呵呵

指定用ADS编译器的时候,把目录再深入一级,到BIN
hqgboy 发表于 2007-7-10 09:58 | 显示全部楼层

KEIL3.05新建个工程,直接拷过去就可以了.

  
 楼主| ccwwbb76 发表于 2007-7-10 10:28 | 显示全部楼层

我安照楼上的朋友的方法,又出现新的错误

alin_99 发表于 2007-7-10 13:53 | 显示全部楼层

要设置成 real view编译器模式下编译

  
nanpia 发表于 2007-7-10 14:14 | 显示全部楼层

re

你看一下是哪个label呀,startup.s里面
hqGBoY 发表于 2007-7-11 08:42 | 显示全部楼层

我的做法.

我用的是ZLG&nbsp;的摸班.在ADS下.<br />转换到KEIL&nbsp;3.03,步骤如下.<br />1&nbsp;用KEIL新建项目文件<br />2&nbsp;包含CONFIG.H,还有HOTPOWER&nbsp;的LPC213XDEF.H和LPC213X.H<br />3&nbsp;中断程序都不需要改.<br />4&nbsp;编译通过.<br />
hqGBoY 发表于 2007-7-11 08:44 | 显示全部楼层

主函数

#include&nbsp;&quot;config.h&quot;<br />//#include&nbsp;&quot;D:/KEIL_TCI/config.h&quot;<br />#include&nbsp;&nbsp;&ltmath.h&gt<br />#include&nbsp;&ltstdarg.h&gt<br />#include&nbsp;&ltstdio.h&gt<br />#include&nbsp;&ltstring.h&gt<br />#include&nbsp;&ltstdlib.h&gt<br />//===========================<br />//CONFIGH.H内容,包含头文件<br />#include&nbsp;&nbsp;&nbsp;&nbsp;&quot;XXXarm.h&quot;<br /><br />//#include&nbsp;&nbsp;&nbsp;&nbsp;&quot;LPC2294.h&quot;<br />#include&nbsp;&quot;LPC213x.H&quot;&nbsp;&nbsp;<br />#include&nbsp;&quot;LPC213xDEF.H&quot;&nbsp;<br /><br />#include&nbsp;&nbsp;&nbsp;&nbsp;&quot;I2CINT.H&quot;<br /><br />#include&nbsp;&nbsp;&nbsp;&nbsp;&quot;LCDDRV.H&quot;<br /><br />#include&nbsp;&nbsp;&nbsp;&nbsp;&quot;ZLG7289.H&quot;<br /><br />#include&nbsp;&nbsp;&nbsp;&nbsp;&quot;ADFUNC.H&quot;
 楼主| ccwwbb76 发表于 2007-7-11 09:20 | 显示全部楼层

关于分散加载的文件要不要加入项目中

  
hqGBoY 发表于 2007-7-11 10:24 | 显示全部楼层

不要.有KEIL 的启动文件Startup.S

  
您需要登录后才可以回帖 登录 | 注册

本版积分规则

11

主题

28

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部

11

主题

28

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部