hal_queues vs. hal_buffers with USB
Posted: Sun Mar 11, 2018 2:05 pm
Hi all,
I want my device to implement a simple subset of MTP (https://en.wikipedia.org/wiki/Media_Transfer_Protocol) over USB.
What is the best way to do it with ChibiOS?
I consider using the hal_serial_usb, but it is based on hal_buffers, and I cannot understand why. Why this is better than hal_queues? Besides, the later is well documented in the "ChibiOS/RT 3.0 - The Ultimate Guide", and the former is not.
Regards,
Vladimir
I want my device to implement a simple subset of MTP (https://en.wikipedia.org/wiki/Media_Transfer_Protocol) over USB.
What is the best way to do it with ChibiOS?
I consider using the hal_serial_usb, but it is based on hal_buffers, and I cannot understand why. Why this is better than hal_queues? Besides, the later is well documented in the "ChibiOS/RT 3.0 - The Ultimate Guide", and the former is not.
Regards,
Vladimir