Skip to content

fix build with nrf52832 #441

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/arduino/ports/nrf/tusb_config_nrf.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ extern "C" {
// DEVICE CONFIGURATION
//--------------------------------------------------------------------

#if CFG_TUD_ENABLED
#define CFG_TUD_ENDPOINT0_SIZE 64

//------------- CLASS -------------//
Expand Down Expand Up @@ -114,10 +115,14 @@ extern "C" {
#define CFG_TUD_VENDOR_TX_BUFSIZE 64
#endif

#endif

//--------------------------------------------------------------------
// Host Configuration
//--------------------------------------------------------------------

#if CFG_TUH_ENABLED

// Size of buffer to hold descriptors and other data used for enumeration
#define CFG_TUH_ENUMERATION_BUFSIZE 256

Expand Down Expand Up @@ -158,6 +163,8 @@ extern "C" {
#define CFG_TUH_CDC_LINE_CODING_ON_ENUM \
{ 115200, CDC_LINE_CONDING_STOP_BITS_1, CDC_LINE_CODING_PARITY_NONE, 8 }

#endif

#ifdef __cplusplus
}
#endif
Expand Down
Loading