Skip to content

Commit 6308d4b

Browse files
author
Sebastian Paarz
committed
Updated settings to HW capabilities
1 parent 52ebed5 commit 6308d4b

3 files changed

Lines changed: 11 additions & 23 deletions

File tree

ports/rxv1/gnu/inc/ux_port.h

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ typedef uint64_t ULONG64;
119119
/* For X86 systems, the define #define UX_USE_IO_INSTRUCTIONS should be used. */
120120

121121

122-
/* Define additionaRXgeneric USBX types. */
122+
/* Define additional generic USBX types. */
123123

124124
#ifndef SLONG_DEFINED
125125
typedef LONG SLONG;
@@ -150,11 +150,11 @@ typedef LONG SLONG;
150150
#endif
151151

152152
#ifndef UX_MAX_ED
153-
#define UX_MAX_ED 80
153+
#define UX_MAX_ED 16
154154
#endif
155155

156156
#ifndef UX_MAX_TD
157-
#define UX_MAX_TD 32
157+
#define UX_MAX_TD 20
158158
#endif
159159

160160
#ifndef UX_MAX_ISO_TD
@@ -211,7 +211,7 @@ typedef LONG SLONG;
211211

212212

213213
#ifndef UX_SLAVE_REQUEST_DATA_MAX_LENGTH
214-
#define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 2048
214+
#define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 1024
215215
#endif
216216

217217
#ifndef UX_USE_IO_INSTRUCTIONS
@@ -238,10 +238,6 @@ VOID outpw(ULONG,USHORT);
238238
VOID outpl(ULONG,ULONG);
239239

240240
#endif
241-
/* Define local delay function for board specific bsps. */
242-
#ifdef TI_AM335
243-
#define UX_BSP_SPECIFIC_DELAY_FUNCTION
244-
#endif
245241

246242

247243
/* Define interrupt lockout constructs to protect the memory allocation/release which could happen

ports/rxv2/gnu/inc/ux_port.h

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ typedef uint64_t ULONG64;
119119
/* For X86 systems, the define #define UX_USE_IO_INSTRUCTIONS should be used. */
120120

121121

122-
/* Define additionaRXgeneric USBX types. */
122+
/* Define additional generic USBX types. */
123123

124124
#ifndef SLONG_DEFINED
125125
typedef LONG SLONG;
@@ -150,11 +150,11 @@ typedef LONG SLONG;
150150
#endif
151151

152152
#ifndef UX_MAX_ED
153-
#define UX_MAX_ED 80
153+
#define UX_MAX_ED 16
154154
#endif
155155

156156
#ifndef UX_MAX_TD
157-
#define UX_MAX_TD 32
157+
#define UX_MAX_TD 20
158158
#endif
159159

160160
#ifndef UX_MAX_ISO_TD
@@ -211,7 +211,7 @@ typedef LONG SLONG;
211211

212212

213213
#ifndef UX_SLAVE_REQUEST_DATA_MAX_LENGTH
214-
#define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 2048
214+
#define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 1024
215215
#endif
216216

217217
#ifndef UX_USE_IO_INSTRUCTIONS
@@ -238,10 +238,6 @@ VOID outpw(ULONG,USHORT);
238238
VOID outpl(ULONG,ULONG);
239239

240240
#endif
241-
/* Define local delay function for board specific bsps. */
242-
#ifdef TI_AM335
243-
#define UX_BSP_SPECIFIC_DELAY_FUNCTION
244-
#endif
245241

246242

247243
/* Define interrupt lockout constructs to protect the memory allocation/release which could happen

ports/rxv3/gnu/inc/ux_port.h

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,11 @@ typedef LONG SLONG;
150150
#endif
151151

152152
#ifndef UX_MAX_ED
153-
#define UX_MAX_ED 80
153+
#define UX_MAX_ED 16
154154
#endif
155155

156156
#ifndef UX_MAX_TD
157-
#define UX_MAX_TD 32
157+
#define UX_MAX_TD 20
158158
#endif
159159

160160
#ifndef UX_MAX_ISO_TD
@@ -211,7 +211,7 @@ typedef LONG SLONG;
211211

212212

213213
#ifndef UX_SLAVE_REQUEST_DATA_MAX_LENGTH
214-
#define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 2048
214+
#define UX_SLAVE_REQUEST_DATA_MAX_LENGTH 1024
215215
#endif
216216

217217
#ifndef UX_USE_IO_INSTRUCTIONS
@@ -238,10 +238,6 @@ VOID outpw(ULONG,USHORT);
238238
VOID outpl(ULONG,ULONG);
239239

240240
#endif
241-
/* Define local delay function for board specific bsps. */
242-
#ifdef TI_AM335
243-
#define UX_BSP_SPECIFIC_DELAY_FUNCTION
244-
#endif
245241

246242

247243
/* Define interrupt lockout constructs to protect the memory allocation/release which could happen

0 commit comments

Comments
 (0)