git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8501 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
Giovanni Di Sirio 2015-11-16 11:12:55 +00:00
parent 038f0a243d
commit 56146024e1
2 changed files with 5 additions and 1 deletions

View File

@ -112,6 +112,8 @@ typedef struct {
* @name Register aliases * @name Register aliases
* @{ * @{
*/ */
#define RXCOUNT1 TXCOUNT0
#define TXCOUNT1 RXCOUNT0
#define RXADDR1 TXADDR0 #define RXADDR1 TXADDR0
#define TXADDR1 RXADDR0 #define TXADDR1 RXADDR0
/** @} */ /** @} */
@ -247,7 +249,7 @@ typedef struct {
*/ */
#define USB_GET_DESCRIPTOR(ep) \ #define USB_GET_DESCRIPTOR(ep) \
((stm32_usb_descriptor_t *)((uint32_t)STM32_USBRAM_BASE + \ ((stm32_usb_descriptor_t *)((uint32_t)STM32_USBRAM_BASE + \
(uint32_t)STM32_USB->BTABLE * 2 + \ (uint32_t)STM32_USB->BTABLE + \
(uint32_t)(ep) * \ (uint32_t)(ep) * \
sizeof(stm32_usb_descriptor_t))) sizeof(stm32_usb_descriptor_t)))

View File

@ -141,6 +141,8 @@
(backported to 3.0.3). (backported to 3.0.3).
- HAL: Fixed RTC module loses day of week when converting (bug #664) - HAL: Fixed RTC module loses day of week when converting (bug #664)
(backported to 3.0.3). (backported to 3.0.3).
- HAL: Fixed STM32 USBv1 wrong multiplier when calculating descriptor address
in BTABLE (bug #661)(backported to 3.0.4 and 2.6.10).
- HAL: Fixed STM32 USBv1 does not make use of BTABLE_ADDR define (bug #660) - HAL: Fixed STM32 USBv1 does not make use of BTABLE_ADDR define (bug #660)
(backported to 3.0.4 and 2.6.10). (backported to 3.0.4 and 2.6.10).
- HAL: Fixed invalid class type for sdPutWouldBlock() and sdGetWouldBlock() - HAL: Fixed invalid class type for sdPutWouldBlock() and sdGetWouldBlock()