Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - linux makefile
Search - linux makefile - List
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灯在闪烁了。:)-1, the makefile in the 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 changed the path on your host. 2,# make, to compile driver modules. 3,# export PATH = $ PATH:/usr/local/arm/2.95.3/bin// depends on your host on the path of the cross compiler tool# arm-linux-gcc-o gpio_test gpio_test.c// compile the application procedures for the ultimate in your current folder will be generated under the two documents gpiodrv.o and gpio_test. 4,# mkdir/tmp/1 5, through the ftp way to gpiodrv.o File Download gpio_test with the development of your board/tmp/1 directory. 6,# mknod/dev/gpio c 220 0// create a file node# insmod gpiodrv.o# chmod+ x gpio_test#./Gpio_test then four LED lights can be seen in the flicker of. :)
Date : 2025-12-19 Size : 9kb User : 马工

mips体系结构下,linux操作系统的串行通信读写程式。请注意交叉编译环境的设置。移植只需修改makefile内容即可。-mips system structure, linux operating system, read and write serial communication program. Please note that cross-compiler environment settings. Just modify the makefile transplantation content.
Date : 2025-12-19 Size : 8kb User : mingming

Source Notes for PICkit(R) 2 Microcontroller Programmer PK2CMD Command Line Interface v1.20 Contains Device File V1.55.00 as pk2cmd\release\PK2DeviceFile.dat This source project can be opened and modified in Microsoft Visual C++ 2005 Express. The included Source Guide is written more for the PICkit 2 Programmer GUI sofware, but generally applies to the PK2CMD source as well. (Note that PK2CMD does not make any use the INI file described therein.) NOTE: Descriptions in the Device File section regarding 9th config word support are not applicable to PK2CMD v1.20 as it does not yet support 9 configuration word devices. This source is set up for Windows development of PK2CMD in Visual Studio, although all source files necessary for Linux and Mac OS builds are also included. However, for building on these OS s it is recommended to download the v1.20 source titled specifically for them, as that archive contains a makefile and documentation specific to those Operating Systems. -Source Notes for PICkit(R) 2 Microcontroller Programmer PK2CMD Command Line Interface v1.20 Contains Device File V1.55.00 as pk2cmd\release\PK2DeviceFile.dat This source project can be opened and modified in Microsoft Visual C++ 2005 Express. The included Source Guide is written more for the PICkit 2 Programmer GUI sofware, but generally applies to the PK2CMD source as well. (Note that PK2CMD does not make any use the INI file described therein.) NOTE: Descriptions in the Device File section regarding 9th config word support are not applicable to PK2CMD v1.20 as it does not yet support 9 configuration word devices. This source is set up for Windows development of PK2CMD in Visual Studio, although all source files necessary for Linux and Mac OS builds are also included. However, for building on these OS s it is recommended to download the v1.20 source titled specifically for them, as that archive contains a makefile and documentation specific to those Operating Systems.
Date : 2025-12-19 Size : 28kb User : IFFI

FPGA-nios处理器上硬件watchdog的控制代码,使用watchdog控制系统重启,在linux在编译运行,包括makefile。-FPGA-nios processor hardware watchdog control code, using the watchdog control system reboots, run the compiler in linux, including makefile.
Date : 2025-12-19 Size : 1.23mb User : zhangjh
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.