06 2011 档案
摘要:Socket CAN整体工作流程It would register itself with the network stack, and the network stack will expect to send and receive packets. The CAN driver then needs to send these packets to the chip over a SPI bus. So it uses the SPI infrastructure to send these packets to the actual MCP2510. Every system has
阅读全文
摘要:参照,这里的hello word程序,A.为什么要在Linux使用Eclipse开发C/C++程序? Linux是一个以C/C++开发为主的平台,无论是Kernel或是Application,主要都使用C/C++开发。传统在Linux下开发程序,是在文字模式下,利用vi等文字编辑器撰写C/C++程序存盘后,在Command line下使用gcc编译,若要debug,则使用gdb。这种开发方式生产力并不高,若只是开发学习用的小程序则影响不大,但若要开发大型项目时,程序档案个数众多,需要用project或solution的方式管理;且debug时breakpoint的加入,单步执行,观察变量变化等
阅读全文
摘要:Ubuntu(Linux)使用Eclipse搭建C/C++编译环境 这两天,给自己电脑弄了双系统,除了原来的Windows 7系统外,装上了Linux系统,使用的版本是Ubuntu(点击可到相应的下载页面)。开始我装的Linux版本是fedora9,对于一个根本没接触过Linux系统的人而言,使用fedora,简直让人崩溃。更崩溃的是,我用的英文版。没的办法,又重新下载Linux,刻碟。装系统。装系统的时候也出了点问题,不过都是小问题,一下子就解决了,如果有人搜到这篇文章,遇到了问题,可留言询问,说不定我能帮忙解决哈。 入正题了。 首先是安装Eclipse,方法有两种: 第一种是通过Ubunt
阅读全文
摘要:Using C++ in Eclipse - "Program file not Specified" problem遇到的问题 跟这位仁兄的一样 不过我的是在Linux下的, 抄录如下,以滋怀念。When we are using CDT to write C++ in Eclipse, you may encounter the following error: (I've set up a new C++ Hello World project)Binary not foundOr Program file not SpecifiedSo how can we
阅读全文

浙公网安备 33010602011771号