Skip to content

Commit 6d17881

Browse files
committed
enable CFG_TUH_CDC_LINE_CODING_ON_ENUM for rp2040 host cdc
1 parent f0acba4 commit 6d17881

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ body:
5252

5353
- type: textarea
5454
attributes:
55-
label: Sketch & Compiled output (as attached txt files)
55+
label: Sketch & compiled Log (as attached txt files)
5656
placeholder: |
5757
e.g examples/MassStorage/msc_ramdisk.
5858
If it is custom sketch, please provide it as **ATTACHED** files or link to it.
59-
Compiled output must be attached as txt files for readability
59+
Compiled log must be attached as txt files for readability
6060
validations:
6161
required: true
6262

src/arduino/ports/rp2040/tusb_config_rp2040.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,8 @@ extern int serial1_printf(const char *__restrict __format, ...);
125125

126126
// Set Line Coding on enumeration/mounted, value for cdc_line_coding_t
127127
// bit rate = 115200, 1 stop bit, no parity, 8 bit data width
128-
// This need https://github.com/sekigon-gonnoc/Pico-PIO-USB/pull/58 to be merged
129-
// first #define CFG_TUH_CDC_LINE_CODING_ON_ENUM { 115200,
130-
// CDC_LINE_CONDING_STOP_BITS_1, CDC_LINE_CODING_PARITY_NONE, 8 }
128+
// This need Pico-PIO-USB at least 0.5.1
129+
#define CFG_TUH_CDC_LINE_CODING_ON_ENUM { 115200, CDC_LINE_CONDING_STOP_BITS_1, CDC_LINE_CODING_PARITY_NONE, 8 }
131130

132131
#ifdef __cplusplus
133132
}

0 commit comments

Comments
 (0)