USB with CRS is there an example?
Posted: Tue Mar 24, 2026 6:33 pm
After much futzing, I did get all my 20.3 projects to compile with 21.11 (the updater tool helped, but needed a bit of learning); however,
what is not working is USB. I use USB with CRS on boards with the F042 and L432 parts. I previously imported some STM hal code to use CRS, but I'd like to avoid that. Are there any examples floating about that use ChibiOS libraries directly for CRS. Also, did anything significant change in USB hal support between 20.3 and 21.11? While I was able to compile my existing USB code, the interface didn't start up so I'm guessing the problem is either with the USB clock or some structural change in the USB code.
Geoffrey
what is not working is USB. I use USB with CRS on boards with the F042 and L432 parts. I previously imported some STM hal code to use CRS, but I'd like to avoid that. Are there any examples floating about that use ChibiOS libraries directly for CRS. Also, did anything significant change in USB hal support between 20.3 and 21.11? While I was able to compile my existing USB code, the interface didn't start up so I'm guessing the problem is either with the USB clock or some structural change in the USB code.
Geoffrey