Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
boards/esp32s2-mini: add definition for ESP32 S2 Mini #18863
boards/esp32s2-mini: add definition for ESP32 S2 Mini #18863
Changes from all commits
7607b9c
4b5df64
9a39c88
ed5bfb7
17b0f3e
bc4c0fb
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we use
stdio_cdc_acm
instead ofstdio_tinyusb_cdc_acm
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That does not work unfortunately:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strange, I don't have any problem with
tests/usbus_stdio_cdc_acm
on an ESP32-S2 DevKit:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, forgot that this problem isn't solved. Have you tried another cable or port?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it's a connection issue, it works when I use the tinyUSB stack, but not with usbus - without touching the connection.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In principle yes, I would have supposed that too. But maybe there are timing issues caused by the poor signal quality that lead to different behavior in different implementations. The implementation of the
usbdev_synopsys_dwc2
driver is different from the one used by tinyUSB. I already had the case that both the USB Serial/JTAG interface and the tinyUSB DWC2 worked without problems, butperiph_usbdev
did not until I changed the cable and the port.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huh you are right!
After some fiddling around and a few resets the board is recognized with usbus
but tinyUSB appears more stable indeed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is again exactly the problem I tried to solve in PR #19038 for the boards with only one USB interface. Using such an application configurations in the board definition prevents switching between the stacks. PR #19086 provides an approach that could solve the problem, by selecting the stack implementation that should be used first and the modules of the according stack afterwards.
But let's continue as is for now.