搜索
bottom↓
回复: 5

请高手帮我看下在网上下的一个源代码是用什么来

[复制链接]

出0入0汤圆

发表于 2014-2-25 22:53:51 | 显示全部楼层 |阅读模式
下面一个IO口模拟USB口的是用什么来编译的?请高人指点!


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x

阿莫论坛20周年了!感谢大家的支持与爱护!!

知道什么是神吗?其实神本来也是人,只不过神做了人做不到的事情 所以才成了神。 (头文字D, 杜汶泽)

出0入0汤圆

发表于 2014-2-25 23:35:38 | 显示全部楼层
在 Readme.txt 文档内的 Building 项已有说明要使用 avr-GCC+avr-libc 编译。

//=======================================

This is the README file for the HIDKeys USB device.

HIDKeys is an example application for implementing an USB keyboard conforming
to the "USB Device Class Definition for Human Interface Devices (HID)". It is
based on Objective Development's firmware-only USB driver for Atmel's AVR
microcontrollers and accepts up to 17 key inputs on an ATMega8. The firmware
should be easily portable to an ATTiny2313 or other tiny devices. Since it
implements a standards compliant keyboard, no separate host software is
needed.

Objective Development's USB driver is a firmware-only implementation of the
USB 1.1 standard (low speed device) on cheap single chip microcomputers of
Atmel's AVR series, such as the ATtiny2313 or even some of the small 8 pin
devices. It implements the standard to the point where useful applications can
be implemented. See the file "usbdrdv/usbdrv.h" for features and limitations.


BUILDING AND INSTALLING
=======================
The firmware for HIDKeys requires avr-gcc and avr-libc (a C-library for
the AVR controller). Please read the instructions at
http://www.nongnu.org/avr-libc/user-manual/install_tools.html

出0入0汤圆

 楼主| 发表于 2014-2-28 14:54:34 | 显示全部楼层
谢谢,这个程序的编译中文设明哪里有吗?

出0入0汤圆

发表于 2014-2-28 19:46:49 | 显示全部楼层
你问一下有否坛友曾编译过这 HIDKeys 要比找这个编译的中文说明容易多。

出0入0汤圆

 楼主| 发表于 2014-2-28 20:42:30 | 显示全部楼层
是在国外网下载来的!

出0入0汤圆

 楼主| 发表于 2014-2-28 20:45:29 | 显示全部楼层
http://translate.google.com/tran ... s/vusb/hidkeys.html
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片。注意:要连续压缩2次才能满足要求!!】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-7-24 00:23

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表