I have tested the example available in libopencm3-examples <https://github.com/libopencm3/libopencm3-examples>/examples <https://github.com/libopencm3/libopencm3-examples/tree/master/examples>/ stm32 <https://github.com/libopencm3/libopencm3-examples/tree/master/examples/stm32> /f4 <https://github.com/libopencm3/libopencm3-examples/tree/master/examples/stm32/f4> /stm32f4-discovery <https://github.com/libopencm3/libopencm3-examples/tree/master/examples/stm32/f4/stm32f4-discovery> /*usb_cdcacm*/
It is working good for me, but it uses a polling execution model for servicing the usb. Line 244 in main(); while (1) { usbd_poll(usbd_dev); } I wonder if there are any example of using using usb with interrupts. Best regards Johan
------------------------------------------------------------------------------
_______________________________________________ libopencm3-devel mailing list libopencm3-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libopencm3-devel