Page 1 of 1

Enabling USB on a STM32VLDISCOVERY

Posted: Mon Sep 23, 2019 11:07 am
by sita
Hello,

I am trying to use a STM32VLDISCOVERY as a keyboard controller which means I need to do USB i/o. It has an STM32F100RB which, if i put it in my mcuconf.h, leads to a definition in lib/chibios/os/hal/ports/STM32/STM32F1xx/stm32_registry.h that has STM32_HAS_USB defined as FALSE. I assume that that's the case for some other board. How would I go about to enable USB?

/SImon

Re: Enabling USB on a STM32VLDISCOVERY

Posted: Mon Sep 23, 2019 11:10 am
by Giovanni
Hi,

The STM32F100 does not have USB, this is why it is set to FALSE.

Giovanni