-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
tusb_serial_device not working (IDFGH-13925) #14764
Comments
Hi @LeonBirkel, could you provide all the commands, how do you configure Thanks. |
Thank you for the fast reply. Install & import is handled by the VsCode extension. I select Express installation. For building and flashing I use the VScode UI, it prints this command into my console: Is this the information you need @roma-jam or did I misunterstand something? |
Hi @LeonBirkel Can you run any other pytest, even from a different example? I can see you are running the pytest outside of the esp-idf, could you try to run a pytest from within the esp-idf?
The pytest searches for a configuration file called |
Hello @peter-marcisovsky , thank you for your reply! I am on a different machine and OS now (ubuntu), and I get the a similar error. If I try to run pytest in the idf folder, I get following error:
I used the VS Code Extension installer, might this be the reason?
|
Hi,
By doing so (by running esp-idf/ pytest --target esp32s3) you ordered the pytest to run all the pytest*.py files within the esp-idf. Try to run a pytest from a hello world example, for start, it should be something like
AFAIK, calling just
Please take a look at the idf pytest docs about installation and running the pytest locally here.
Looks like you do not have the IDF_PATH set Just try Please follow instructions how to install and setup esp-idf on your linux machine. |
I decided to just not use pytest. I followed all the setup docs. |
Answers checklist.
IDF version.
v5.3.1
Espressif SoC revision.
ESP32-s3 (QFN56) (revision v0.2)
Operating System used.
Windows
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
PowerShell
Development Kit.
ESP32 S3 DevKitC 1 N16R8 ESP32 S3 WROOM1 N16R8 Development Board
Power Supply used.
USB
What is the expected behavior?
After importing the example, builing and flashing. I expect the pytest to run.
What is the actual behavior?
Pytest is failing (Debug Logs)
Steps to reproduce.
Debug Logs.
More Information.
I did not do Pin Assignment since I undestand that this is not required for my board.
Both USB cables are currently connected.
If I do manual tests(putty), I can see the example log outputs on the board, but it seems like the board cannot send any data back. See below for more details to my manual testing
The text was updated successfully, but these errors were encountered: