Skip to content

Commit bd00b86

Browse files
committed
hic: DAP_PACKET_SIZE must be 64 for FS USB HICs (fixes #1105)
1 parent 8f4e9e4 commit bd00b86

5 files changed

Lines changed: 0 additions & 20 deletions

File tree

source/hic_hal/freescale/kl26z/DAP_config.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,7 @@ This information includes:
8484
/// This configuration settings is used to optimize the communication performance with the
8585
/// debugger and depends on the USB peripheral. Typical vales are 64 for Full-speed USB HID or WinUSB,
8686
/// 1024 for High-speed USB HID and 512 for High-speed USB WinUSB.
87-
#ifndef HID_ENDPOINT //HID end points currently set limits to 64
88-
#define DAP_PACKET_SIZE 512 ///< Specifies Packet Size in bytes.
89-
#else
9087
#define DAP_PACKET_SIZE 64 ///< Specifies Packet Size in bytes.
91-
#endif
9288

9389
/// Maximum Package Buffers for Command and Response data.
9490
/// This configuration settings is used to optimize the communication performance with the

source/hic_hal/freescale/kl27z/DAP_config.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,7 @@ This information includes:
8585
/// This configuration settings is used to optimize the communication performance with the
8686
/// debugger and depends on the USB peripheral. Typical vales are 64 for Full-speed USB HID or WinUSB,
8787
/// 1024 for High-speed USB HID and 512 for High-speed USB WinUSB.
88-
#ifndef HID_ENDPOINT //HID end points currently set limits to 64
89-
#define DAP_PACKET_SIZE 512 ///< Specifies Packet Size in bytes.
90-
#else
9188
#define DAP_PACKET_SIZE 64 ///< Specifies Packet Size in bytes.
92-
#endif
9389

9490
/// Maximum Package Buffers for Command and Response data.
9591
/// This configuration settings is used to optimize the communication performance with the

source/hic_hal/maxim/max32620/DAP_config.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,7 @@ This information includes:
8080
/// This configuration settings is used to optimize the communication performance with the
8181
/// debugger and depends on the USB peripheral. Typical vales are 64 for Full-speed USB HID or WinUSB,
8282
/// 1024 for High-speed USB HID and 512 for High-speed USB WinUSB.
83-
#ifndef HID_ENDPOINT //HID end points currently set limits to 64
84-
#define DAP_PACKET_SIZE 512 ///< Specifies Packet Size in bytes.
85-
#else
8683
#define DAP_PACKET_SIZE 64 ///< Specifies Packet Size in bytes.
87-
#endif
8884

8985
/// Maximum Package Buffers for Command and Response data.
9086
/// This configuration settings is used to optimize the communication performance with the

source/hic_hal/maxim/max32625/DAP_config.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,7 @@ This information includes:
8080
/// This configuration settings is used to optimize the communication performance with the
8181
/// debugger and depends on the USB peripheral. Typical vales are 64 for Full-speed USB HID or WinUSB,
8282
/// 1024 for High-speed USB HID and 512 for High-speed USB WinUSB.
83-
#ifndef HID_ENDPOINT //HID end points currently set limits to 64
84-
#define DAP_PACKET_SIZE 512 ///< Specifies Packet Size in bytes.
85-
#else
8683
#define DAP_PACKET_SIZE 64 ///< Specifies Packet Size in bytes.
87-
#endif
8884

8985
/// Maximum Package Buffers for Command and Response data.
9086
/// This configuration settings is used to optimize the communication performance with the

source/hic_hal/stm32/stm32f103xb/DAP_config.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,7 @@ This information includes:
7676
/// This configuration settings is used to optimize the communication performance with the
7777
/// debugger and depends on the USB peripheral. Typical vales are 64 for Full-speed USB HID or WinUSB,
7878
/// 1024 for High-speed USB HID and 512 for High-speed USB WinUSB.
79-
#ifndef HID_ENDPOINT //HID end points currently set limits to 64
80-
#define DAP_PACKET_SIZE 512 ///< Specifies Packet Size in bytes.
81-
#else
8279
#define DAP_PACKET_SIZE 64 ///< Specifies Packet Size in bytes.
83-
#endif
8480

8581
/// Maximum Package Buffers for Command and Response data.
8682
/// This configuration settings is used to optimize the communication performance with the

0 commit comments

Comments
 (0)