Enabling USB on a STM32VLDISCOVERY

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
sita
Posts: 1
Joined: Mon Sep 23, 2019 10:53 am

Enabling USB on a STM32VLDISCOVERY

Post 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
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Enabling USB on a STM32VLDISCOVERY

Post by Giovanni »

Hi,

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

Giovanni
Post Reply