aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32L4xx/stm32_registry.h
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-11-28 13:35:00 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-11-28 13:35:00 +0000
commit4b40042078a718f168384534af117f567741f941 (patch)
tree4668a78b8830d12ee3ef444b2d643688327baec5 /os/hal/ports/STM32/STM32L4xx/stm32_registry.h
parentaf649428322234d8816efc0d8ace6c4f481d8250 (diff)
downloadChibiOS-4b40042078a718f168384534af117f567741f941.tar.gz
ChibiOS-4b40042078a718f168384534af117f567741f941.tar.bz2
ChibiOS-4b40042078a718f168384534af117f567741f941.zip
Fixes on USB lld related to STM32L432
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9943 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32L4xx/stm32_registry.h')
-rw-r--r--os/hal/ports/STM32/STM32L4xx/stm32_registry.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/STM32L4xx/stm32_registry.h b/os/hal/ports/STM32/STM32L4xx/stm32_registry.h
index 9e0bb36f6..6d74dd4bd 100644
--- a/os/hal/ports/STM32/STM32L4xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32L4xx/stm32_registry.h
@@ -323,8 +323,8 @@
/* USB attributes.*/
#define STM32_HAS_USB TRUE
#define STM32_USB_ACCESS_SCHEME_2x16 FALSE
-#define STM32_USB_PMA_SIZE 512
-#define STM32_USB_HAS_BCDR FALSE
+#define STM32_USB_PMA_SIZE 1024
+#define STM32_USB_HAS_BCDR TRUE
#define STM32_USB1_HP_HANDLER Vector14C
#define STM32_USB1_LP_HANDLER Vector14C
#define STM32_USB1_HP_NUMBER 67