Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
706e09df
Commit
706e09df
authored
Aug 13, 2024
by
iabdalkader
Committed by
Damien George
Aug 26, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shared/tinyusb: Allow ports to define CDC TX/RX buffer sizes.
Signed-off-by:
iabdalkader
<
i.abdalkader@gmail.com
>
parent
260568e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
shared/tinyusb/tusb_config.h
shared/tinyusb/tusb_config.h
+4
-0
No files found.
shared/tinyusb/tusb_config.h
View file @
706e09df
...
...
@@ -77,8 +77,12 @@
// CDC Configuration
#if CFG_TUD_CDC
#ifndef CFG_TUD_CDC_RX_BUFSIZE
#define CFG_TUD_CDC_RX_BUFSIZE ((CFG_TUD_MAX_SPEED == OPT_MODE_HIGH_SPEED) ? 512 : 256)
#endif
#ifndef CFG_TUD_CDC_TX_BUFSIZE
#define CFG_TUD_CDC_TX_BUFSIZE ((CFG_TUD_MAX_SPEED == OPT_MODE_HIGH_SPEED) ? 512 : 256)
#endif
#define CFG_TUD_CDC_PERSISTENT_TX_BUFF (1)
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment