stm32l1: syscfg: add USB pullup control definition
On original stm32l1s, this internal pullup was out of spec, and not recommended for use. But the -A parts have this fixed, so make sure we can use it.
This commit is contained in:
parent
64a6f362b8
commit
93cf76b9d1
@ -38,4 +38,7 @@
|
||||
|
||||
#include <libopencm3/stm32/common/syscfg_common_l1f234.h>
|
||||
|
||||
/** Enable internal USB pullup iff USB periph is not powered down */
|
||||
#define SYSCFG_PMC_USB_PU (1<<0)
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user