mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 15:30:16 +08:00
Fix PIC32 USB cloning errors -- There is not pbuffer toggle bit in the BDT status
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4442 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -319,6 +319,10 @@
|
|||||||
|
|
||||||
/* Offset 4: BUFFER_ADDRESS, 32-bit Buffer Address bits */
|
/* Offset 4: BUFFER_ADDRESS, 32-bit Buffer Address bits */
|
||||||
|
|
||||||
|
#define USB_BDT_BYTES_SIZE 8 /* Eight bytes per BDT */
|
||||||
|
#define USB_BDT_WORD_SIZE 2 /* Two 32-bit words per BDT */
|
||||||
|
#define USB_NBDTS_PER_EP 4 /* Number of BDTS per endpoint: IN/OUT and EVEN/ODD */
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Public Types
|
* Public Types
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|||||||
@@ -283,7 +283,7 @@ USART6
|
|||||||
RX PC7*, PG9**
|
RX PC7*, PG9**
|
||||||
TX PC6, PG14**
|
TX PC6, PG14**
|
||||||
|
|
||||||
* Indicates pins that have other on-board functins and should be used only
|
* Indicates pins that have other on-board functions and should be used only
|
||||||
with care (See table 5 in the STM32F4Discovery User Guide). The rest are
|
with care (See table 5 in the STM32F4Discovery User Guide). The rest are
|
||||||
free I/O pins.
|
free I/O pins.
|
||||||
** Port G pins are not supported by the MCU
|
** Port G pins are not supported by the MCU
|
||||||
@@ -342,7 +342,7 @@ TIM13
|
|||||||
TIM14
|
TIM14
|
||||||
CH1 PA7*, PF9
|
CH1 PA7*, PF9
|
||||||
|
|
||||||
* Indicates pins that have other on-board functins and should be used only
|
* Indicates pins that have other on-board functions and should be used only
|
||||||
with care (See table 5 in the STM32F4Discovery User Guide). The rest are
|
with care (See table 5 in the STM32F4Discovery User Guide). The rest are
|
||||||
free I/O pins.
|
free I/O pins.
|
||||||
** Port H pins are not supported by the MCU
|
** Port H pins are not supported by the MCU
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* configs/sure-pic32mx/src/up_usbdev.c
|
* configs/sure-pic32mx/src/up_usbdev.c
|
||||||
* arch/arm/src/board/up_usbdev.c
|
* arch/arm/src/board/up_usbdev.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* References:
|
* References:
|
||||||
|
|||||||
Reference in New Issue
Block a user