Skip to content

Update Spresense SDK and fix dcd issues#604

Merged
hathach merged 3 commits into
hathach:masterfrom
kamtom480:spresense-sdk-2.0.2
Jan 25, 2021
Merged

Update Spresense SDK and fix dcd issues#604
hathach merged 3 commits into
hathach:masterfrom
kamtom480:spresense-sdk-2.0.2

Conversation

@kamtom480
Copy link
Copy Markdown
Collaborator

Describe the PR
Update Spresense SDK to 2.0.2.
Define Spresense EP numbers that work with the cdc_msc example.
Fix issues that caused the DTR bit not to be changed to 1.

Additional context
Source code for mkspk has been added. This tool is used to create a .spk file.

Changes to dcd_cxd56:

  • Pass the next setup package when USB stack is ready to receive it.
  • When the transfer is 0 on EP0 send complete to the USB stack
  • Pass the data received after the setup package to the USB stack.

Pass the next setup package when USB stack is ready to receive it.
When the transfer is 0 on EP0 send complete to the USB stack
Pass the data received after the setup package to the USB stack.
Copy link
Copy Markdown
Owner

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

superb ! Thank you very much for the PR.

#define EPNUM_MSC_OUT 0x04
#define EPNUM_MSC_IN 0x85

#elif CFG_TUSB_MCU == OPT_MCU_CXD56
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah i see, I remembered having issue getting example running with cxd56. This is very rather similar to lpc17xx. Thanks for the comment, I will update the config for other example as well next time I test spresense

@hathach hathach merged commit 0456747 into hathach:master Jan 25, 2021
7FM pushed a commit to 7FM/tinyusb that referenced this pull request Aug 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants