libusbhost:嵌入式设备的开源USB主机堆栈

时间:2021-05-08 06:25:30
【文件属性】:
文件名称:libusbhost:嵌入式设备的开源USB主机堆栈
文件大小:97KB
文件格式:ZIP
更新时间:2021-05-08 06:25:30
C ##一般信息 ###目标 提供用于嵌入式设备的开源(Lesser GPL3)USB主机库 执行速度。 该库不使用阻塞睡眠,从而降低了运行时性能的开销 对所有缓冲区使用静态分配。 这意味着没有分配和重新分配会影响性能(内存碎片的可能性,执行时间不确定)。 没有malloc(),realloc(),free() 不依赖任何操作系统 支持的硬件 stm32f4发现 支持的设备驱动程序 中心 游戏手柄-XBox兼容控制器 通用人机界面驱动程序:鼠标,键盘(原始数据) USB MIDI设备(原始数据+音符开/关) 编译库和演示的步骤 先决条件 确保安装以下先决条件才能编译此库 用于libopencm3子模块的git提取 gcc-arm-none-eabi工具链,用于交叉编译 cmake ccmake (可选) openocd (可选) 基本设定 转到位于项目根目录下的构建目录 光盘制作 使用
【文件预览】:
libusbhost-master
----CMakeLists.txt(2KB)
----.gitignore(61B)
----COPYING.LGPL3(7KB)
----libusbhost_stm32f4.ld(1KB)
----README.md(3KB)
----.gitmodules(103B)
----Doxyfile(103KB)
----include()
--------driver()
--------usbh_driver_ac_midi.h(2KB)
--------usbh_lld_stm32f4.h(1KB)
--------usbh_driver_hub.h(1KB)
--------usbh_driver_hid.h(2KB)
--------usbh_config.h(2KB)
--------usbh_core.h(2KB)
--------usbh_driver_gp_xbox.h(2KB)
----libopencm3()
----initRepo.sh(86B)
----src()
--------CMakeLists.txt(1KB)
--------tinyprintf.h(6KB)
--------usbh_core.c(20KB)
--------usbh_driver_hub.c(19KB)
--------usbh_driver_ac_midi.c(8KB)
--------tinyprintf.c(12KB)
--------usbh_driver_ac_midi_private.h(2KB)
--------usart_helpers.h(2KB)
--------usbh_lld_stm32f4.c(28KB)
--------usart_helpers.c(6KB)
--------usbh_driver_gp_xbox.c(8KB)
--------usbh_driver_hid.c(10KB)
--------demo.c(7KB)
--------usbh_driver_hub_private.h(3KB)
----cmake()
--------doc.cmake(160B)
--------toolchain.cmake(738B)
--------openocd_flash.cmake(653B)
----build()
--------.gitignore(2B)
----COPYING.GPL3(34KB)
----.travis.yml(823B)

网友评论