I'm using the ChibiOS/RT operating system, trying to get the USB to Serial library to work. I have managed to link all the files together and it ran with Yagarto. but I can't seem to even use the start function of the USB to Serial lib.
I am using STM32F4 Discovery and want to use its USB as a connection to the PC. I've done that using the CDC class with IAR but I wanted to use ChibiOS for this project and it all seems so overcomplicated. (I have used ChibiOS but only the UART and some port toggling leds and stuff).
Can you give me an example code to start up the USB? I have been unable to find anything.
sduStart( ??? , ??? ); // I saw what parameters it wants in there but I cannot figure what to actually put :/