1、將makefile中的 CROSS =/usr/local/arm/2.95.3/bin/arm-linux- CFLAGS+=-I/usr/local/src/2.4.18-rmk7/include CFLAGS+=-I/usr/local/src/2.4.18-rmk7/include/linux CFLAGS+=-I/usr/local/arm/2.95.3/arm-linux/include 路徑改為你宿主機上的。 2、#make,來編譯驅動模塊。 3、#export PATH=$PATH:/usr/local/arm/2.95.3/bin //取決于你宿主機上的交叉編譯工具路徑 #arm-linux-gcc -o gpio_test gpio_test.c //編譯應用程序 最終在你的當前文件夾下會生成gpiodrv.o與gpio_test兩個文件。 4、#mkdir /tmp/1 5、通過ftp的方法,把gpio_test與gpiodrv.o文件下載到你的開發板上的/tmp/1目錄中。 6、#mknod /dev/gpio c 220 0 //創建文件節點 #insmod gpiodrv.o #chmod +x gpio_test #./gpio_test 然后,就可以看到四個LED燈在閃爍了。:)
標簽: local arm-linux usr makefile
上傳時間: 2017-08-03
上傳用戶:zhouchang199
摘要:對基于彈載IMU/C:PS組合導航系統的動基座對準問題進行了研究與仿真 首先,分析了彈載IMU與GI S的系統誤差,建 立獲得了其系統誤差模型 然后,利用卡爾曼濾波技術,設計了彈載IMU/UPS組合導航系統的動基座對準算法 仿真結果表明,在初 始誤差較大的情況下,經過36。秒的動基座對準,IMU的姿態角誤差可降至10個角秒,同時位置和速度誤差也得到了有效修正,從而 證明該動基座對準算法是行之有效的 關} i}慣性測量裝} <IMU)。全球定位系統<GPS) 動基座對準 卡爾曼濾波
上傳時間: 2013-12-29
上傳用戶:yepeng139
Tic tac toe is (exactly what re your thinking) and it s the first game I made. Made it in one whole day in Turbo C. It uses primitive graphics drawing and also demonstrates how to output an image. Written in C, also uses a library I got from the net (included) for image output.
標簽: thinking exactly first whole
上傳時間: 2017-08-13
上傳用戶:xhz1993
本書全面介紹了UNIX系統的程序設計界面—系統調用界面和標準C庫提供的許多函數。 本書的前15章著重于理論知識的闡述,主要內容包括UNIX文件和目錄、進程環境、進程控制、進程間通信以及各種I/O。在此基礎上,分別按章介紹了多個應用實例,包括如何創建數據庫函數庫,PostScript 打印機驅動程序,調制解調器撥號器及在偽終端上運行其他程序的程序等。 本書內容豐富權威,概念清晰精辟,一直以來被譽為UNIX編程的“圣經”,對于所有UNIX程序員—無論是初學者還是專家級人士—都是一本無價的參考書籍。
上傳時間: 2017-08-18
上傳用戶:z754970244
C++ is a programming language. It is a programming language of many different dialects, just like each language that is spoken has many dialects. In C though, they are not because the "speakers" live in the North, South, or grew up in some other place, it is because there are so many compilers. There are about four major ones: Borland C++, Microsoft Visual C++, Watcom C/386, and DJGPP. You can download DJGPP http://www.delorie.com/djgpp/ or you may already have another compiler. Each of these compilers is a little different. The library functions of one will have all of the standard C++ functions, but they will also have other functions or, continuing the analogy, words. At times, this can lead to confusion, as certain programs will only run under certain compilers, though I do not believe this to be the case with the programs in these tutorials.
標簽: programming language different dialects
上傳時間: 2014-01-17
上傳用戶:lz4v4
Why do People Program? Each person can have his own reason for programming but I can tell you that programming is one of the best ways to gain a deep understanding of computers and computer technology. Learning to program makes you understand why computers and computer programs work the way they do. It also puts some sense into you about how hard it is to create software. 1.2. What is C++ & OOP? C++ is an extended version C. C was developed at Bell Labs. in 1978.
標簽: programming can Program People
上傳時間: 2013-12-07
上傳用戶:qazxsw
Computing and the way people use C for doing it keeps changing as years go by. So overwhelming has been the response to all the previous editions of “Let Us C” that I have now decided that each year I would come up with a new edition of it so that I can keep the readers abreast with the way C is being used at that point in time.
標簽: overwhelming Computing changing people
上傳時間: 2013-12-23
上傳用戶:epson850
This book has existed (in one form or another) since the first edition of C# and the .NET Platform was published in conjunction with the release of .NET 1.0 Beta 2, circa the summer of 2001. Since that point, I have been extremely happy and grateful to see that this text was very well received by the press and, most important, by readers. Over the years it was nominated as a Jolt Award finalist (I lost . . . crap!) and for the 2003 Referenceware Excellence Award in the programming book category
標簽: the Platform another existed
上傳時間: 2017-09-07
上傳用戶:youmo81
UML for C# This paper describes the primary constructs in the C# language and how they are modeled in WinA&D using the UML notation. The model can be used to generate C# code. WinTranslator scans source code to generate a UML model for an existing project.
標簽: constructs describes the language
上傳時間: 2013-12-14
上傳用戶:qq1604324866
關于MPI的并行I/O程序,環境是linux,語言是c+mpi
上傳時間: 2017-09-08
上傳用戶:huyiming139