aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-11-16 11:02:30 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-11-16 11:02:30 +0000
commit038f0a243d8041c832bb025d1ed0fd3a05e5f9ae (patch)
treec27058324d254674320a8928a657cf3ba68ce33b
parent7f125090039adbe5c28e052584c7c32684ab5ec4 (diff)
downloadChibiOS-038f0a243d8041c832bb025d1ed0fd3a05e5f9ae.tar.gz
ChibiOS-038f0a243d8041c832bb025d1ed0fd3a05e5f9ae.tar.bz2
ChibiOS-038f0a243d8041c832bb025d1ed0fd3a05e5f9ae.zip
Fixed bug bug #660.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8496 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/ports/STM32/LLD/USBv1/usb_lld.c2
-rw-r--r--readme.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/LLD/USBv1/usb_lld.c b/os/hal/ports/STM32/LLD/USBv1/usb_lld.c
index 3a97e123a..40a5664fb 100644
--- a/os/hal/ports/STM32/LLD/USBv1/usb_lld.c
+++ b/os/hal/ports/STM32/LLD/USBv1/usb_lld.c
@@ -525,7 +525,7 @@ void usb_lld_reset(USBDriver *usbp) {
uint32_t cntr;
/* Post reset initialization.*/
- STM32_USB->BTABLE = 0;
+ STM32_USB->BTABLE = BTABLE_ADDR;
STM32_USB->ISTR = 0;
STM32_USB->DADDR = DADDR_EF;
cntr = /*CNTR_ESOFM | */ CNTR_RESETM | CNTR_SUSPM |
diff --git a/readme.txt b/readme.txt
index 3fe6a3d4c..6266a2b42 100644
--- a/readme.txt
+++ b/readme.txt
@@ -141,6 +141,8 @@
(backported to 3.0.3).
- HAL: Fixed RTC module loses day of week when converting (bug #664)
(backported to 3.0.3).
+- HAL: Fixed STM32 USBv1 does not make use of BTABLE_ADDR define (bug #660)
+ (backported to 3.0.4 and 2.6.10).
- HAL: Fixed invalid class type for sdPutWouldBlock() and sdGetWouldBlock()
functions (bug #659)(backported to 3.0.3 and 2.6.10).
- HAL: Fixed STM32F0xx HAL missing MCOPRE support (bug #658).