S3C2440裸奔---uart源代码

上传者: 41813479 | 上传时间: 2021-04-29 10:41:50 | 文件大小: 156KB | 文件类型: RAR
首先需要搭建一个可以编译代码的环境。从一开始我就不想用ADS(安装完ADS后会产生一个CodeWarrior for ARM Developer Suite的工具,可以编译和调试代码),虽然它是个很好的工具,但是它却隐藏了很多的细节,不利于新手去深度学习。所以我还是希望从Makefile入手,一步一步弄懂所有的细节。 第一步:需要先搭建一个Linux环境,我是安装在虚拟机上面的。安装好Linux后,再从网上下载arm-linux-gcc,一般解压后之后就可以直接使用了,但需要先设置好环境参数。 第二步:编写代码,然后在Linux系统上进行编译。代码在后面会给出。 第三步:需要把编译好的bin文件烧写到板子上。这个需要使用J-Link烧录器,还需要安装“Setup_JLinkARM_V408k.exe”软件,特别是一些参数的设置非常重要。

文件下载

资源详情

[{"title":"( 29 个子文件 156KB ) S3C2440裸奔---uart源代码","children":[{"title":"ADC_uart","children":[{"title":"main.c <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false},{"title":"system","children":[{"title":"inc","children":[{"title":"2440addr.inc <span style='color:#111;'> 23.94KB </span>","children":null,"spread":false},{"title":"2440slib.h <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"2440lib.h <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"Option.h <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"2440addr.h <span style='color:#111;'> 39.17KB </span>","children":null,"spread":false},{"title":"Memcfg.inc <span style='color:#111;'> 2.97KB </span>","children":null,"spread":false},{"title":"mmu.h <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"def.h <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"Option.inc <span style='color:#111;'> 3.52KB </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"2440lib.c <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"2440init.s <span style='color:#111;'> 20.06KB </span>","children":null,"spread":false},{"title":"2440slib.s <span style='color:#111;'> 7.13KB </span>","children":null,"spread":false},{"title":"mmu.c <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Project.mcp <span style='color:#111;'> 195.25KB </span>","children":null,"spread":false},{"title":"uart","children":[{"title":"uart.h <span style='color:#111;'> 454B </span>","children":null,"spread":false},{"title":"uart.c <span style='color:#111;'> 10.41KB </span>","children":null,"spread":false}],"spread":true},{"title":"Project_Data","children":[{"title":"DebugRel","children":[{"title":"ADC.bin <span style='color:#111;'> 27.69KB </span>","children":null,"spread":false},{"title":"ObjectCode","children":[{"title":"2440slib.o <span style='color:#111;'> 3.19KB </span>","children":null,"spread":false},{"title":"2440lib.o <span style='color:#111;'> 37.82KB </span>","children":null,"spread":false},{"title":"mmu.o <span style='color:#111;'> 33.61KB </span>","children":null,"spread":false},{"title":"2440init.o <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"main.o <span style='color:#111;'> 35.30KB </span>","children":null,"spread":false},{"title":"uart.o <span style='color:#111;'> 42.55KB </span>","children":null,"spread":false}],"spread":true},{"title":"TargetDataWindows.tdt <span style='color:#111;'> 102.32KB </span>","children":null,"spread":false},{"title":"Project.axf <span style='color:#111;'> 88.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"Debug","children":[{"title":"TargetDataWindows.tdt <span style='color:#111;'> 49.62KB </span>","children":null,"spread":false}],"spread":true},{"title":"Release","children":[{"title":"TargetDataWindows.tdt <span style='color:#111;'> 48.27KB </span>","children":null,"spread":false}],"spread":true},{"title":"CWSettingsWindows.stg <span style='color:#111;'> 3.37KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明