Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 21-Aug-2025 | - | ||||
rt-thread/ | 21-Aug-2025 | - | ||||
README.md | A D | 21-Aug-2025 | 4.3 KiB | 66 | 46 | |
libpusb2_dc_a32_hardfp.a | A D | 21-Aug-2025 | 167.3 KiB | |||
libpusb2_dc_a32_softfp_crypto_neon.a | A D | 21-Aug-2025 | 167.3 KiB | |||
libpusb2_dc_a32_softfp_neon.a | A D | 21-Aug-2025 | 317.8 KiB | |||
libpusb2_dc_a64.a | A D | 21-Aug-2025 | 138.2 KiB | |||
libpusb2_hc_a32_hardfp.a | A D | 21-Aug-2025 | 901.6 KiB | |||
libpusb2_hc_a32_softfp_crypto_neon.a | A D | 21-Aug-2025 | 901.6 KiB | |||
libpusb2_hc_a32_softfp_neon.a | A D | 21-Aug-2025 | 320.8 KiB | |||
libpusb2_hc_a64.a | A D | 21-Aug-2025 | 1.1 MiB |
README.md
1# USB 2.0 OTG 控制器 (PUSB2) 2 3- Phytium PI 和 Phyium E2000 系列开发板提供了兼容 USB2.0 的 OTG 接口 4- 相关的使用例程可以在 Phytium PI(飞腾派)和 E2000 D/Q Demo 板上运行,例程包括 5 6--------------------------------------------- 7 8- Host 模式 9 10- - 1. [FreeRTOS 上作为主机使用键盘/鼠标/U盘](https://gitee.com/phytium_embedded/phytium-free-rtos-sdk/tree/master/example/peripheral/usb/pusb2_host/README.md) 11- - 5. [RT-Thread 上作为主机识别键盘/鼠标/U盘](https://github.com/RT-Thread/rt-thread/blob/master/bsp/phytium/doc/use_cherryusb.md) 12 13--------------------------------------------- 14 15- Device 模式 16 17- - 1. [裸机上模拟为一个 U 盘](https://gitee.com/phytium_embedded/phytium-standalone-sdk/tree/master/example/peripherals/usb/pusb2_device/README.md) 18- - 2. [裸机上模拟为一个虚拟串口](https://gitee.com/phytium_embedded/phytium-standalone-sdk/tree/master/example/peripherals/usb/pusb2_device/README.md) 19- - 3. [FreeRTOS 上模拟为一个 U 盘](https://gitee.com/phytium_embedded/phytium-free-rtos-sdk/tree/master/example/peripheral/usb/pusb2_device/README.md) 20- - 4. [FreeRTOS 上模拟为虚拟串口](https://gitee.com/phytium_embedded/phytium-free-rtos-sdk/tree/master/example/peripheral/usb/pusb2_device/README.md) 21- - 5. [RT-Thread 上模拟为一个 U 盘](https://github.com/RT-Thread/rt-thread/blob/master/bsp/phytium/doc/use_cherryusb.md) 22 23--------------------------------------------- 24 25- PUSB2 的驱动功能以静态库的方式提供, 26- - libpusb2_hc_a64.a : AARCH64 主机模式驱动库 27- - libpusb2_dc_a64.a : AARCH64 从机模式驱动库 28- - libpusb2_hc_a32_hardfp.a :AARCH32 主机模式驱动库,使用硬浮点 29- - libpusb2_hc_a32_softfp.a :AARCH32 主机模式驱动库,使用软浮点 30- - libpusb2_dc_a32_hardfp.a :AARCH32 从机模式驱动库,使用硬浮点 31- - libpusb2_dc_a32_softfp.a :AARCH32 从机模式驱动库,使用软浮点 32 33需要获取源代码请联系 `opensource_embedded@phytium.com.cn` 获取 34 35# USB 2.0 OTG Controller (PUSB2) 36 37- Phytium PI and the Phytium E2000 series development boards offer OTG interfaces compatible with USB 2.0. 38- Relevant usage examples can be run on the Phytium PI and E2000 D/Q Demo boards, including: 39 40--------------------------------------------- 41 42- Host Mode 43 44 - 1. [Using a keyboard/mouse/USB flash drive as a host on FreeRTOS](https://gitee.com/phytium_embedded/phytium-free-rtos-sdk/tree/master/example/peripheral/usb/pusb2_host/README.md) 45 - 5. [Recognizing a keyboard/mouse/USB flash drive as a host on RT-Thread](https://github.com/RT-Thread/rt-thread/blob/master/bsp/phytium/doc/use_cherryusb.md) 46 47--------------------------------------------- 48 49- Device Mode 50 - 1. [Simulating as a USB flash drive on a standalone system](https://gitee.com/phytium_embedded/phytium-standalone-sdk/tree/master/example/peripherals/usb/pusb2_device/README.md) 51 - 2. [Simulating as a virtual serial port on a standalone system](https://gitee.com/phytium_embedded/phytium-standalone-sdk/tree/master/example/peripherals/usb/pusb2_device/README.md) 52 - 3. [Simulating as a USB flash drive on FreeRTOS](https://gitee.com/phytium_embedded/phytium-free-rtos-sdk/tree/master/example/peripheral/usb/pusb2_device/README.md) 53 - 4. [Simulating as a virtual serial port on FreeRTOS](https://gitee.com/phytium_embedded/phytium-free-rtos-sdk/tree/master/example/peripheral/usb/pusb2_device/README.md) 54 - 5. [Simulating as a USB flash drive on RT-Thread](https://github.com/RT-Thread/rt-thread/blob/master/bsp/phytium/doc/use_cherryusb.md) 55 56--------------------------------------------- 57 58- The driver functionality of PUSB2 is provided as static libraries: 59 - - `libpusb2_hc_a64.a` : Host mode driver library for AARCH64 60 - - `libpusb2_dc_a64.a` : Device mode driver library for AARCH64 61 - - `libpusb2_hc_a32_hardfp.a` : Host mode driver library for AARCH32, using hard floating point 62 - - `libpusb2_hc_a32_softfp.a` : Host mode driver library for AARCH32, using soft floating point 63 - - `libpusb2_dc_a32_hardfp.a` : Device mode driver library for AARCH32, using hard floating point 64 - - `libpusb2_dc_a32_softfp.a` : Device mode driver library for AARCH32, using soft floating point 65 66- To obtain the source code, please contact `opensource_embedded@phytium.com.cn`.