-
-
Notifications
You must be signed in to change notification settings - Fork 801
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
Serial Ports list is empty even when devices are available in OS /dev/tty.* #294
Comments
Give me please an output of
|
Well it seems like we're getting closer to solution :)
|
😄 and output of
|
bottle (0.12.8) |
Can you reproduce this issue using Terminal application? As I understand, it happens within CLion IDE? |
Mmkay, so step by step on new project: Now i add main.cpp file to /src with some simple example. Then I'm running PLATFORMIO_BUILD configuration with below IDE result:
And in Terminal
And after I add
|
Btw, @ivankravets are you sure it's "help wanted" not a bug issue? Have CLion support for yun board ever been tested? |
@mseroczynski try the latest build Did it help you? |
Ok, I've updated and now it correctly (?) generates
It still throws error when running PLATFORMIO_BUILD: |
Do you still have problem with Which is output of |
|
You're right about detecting
|
Thanks. Could you provide also raw information about serial ports which returns PlatformIO? # launch Python interaction session
python
> from platformio.util import get_serialports
> get_serialports() |
I've updated my comment above. I found why you receive this error. Please answer to my comment above. Thanks. |
Ok, here's the result:
|
|
The problem is that PlatformIO doesn't see your system serial ports. PlatformIO uses PySerial tool for it. Let's test the latest alpha version of this tool: pip install -U virtualenv
cd /tmp
virtualenv piotest
source piotest/bin/activate
pip list
pip install https://github.com/pyserial/pyserial/archive/master.zip
python -m serial.tools.list_ports -v |
After updating PySerial
And |
|
And after turning off CLion:
|
Sorry, I can't help you here. Could I ask you to open this issue here @pyserial (https://github.com/pyserial/pyserial/issues) with the report from #294 (comment) ? |
Sorry for not updating issue, been busy lately. What I found today is "Serial re-enumeration on reset." section on https://www.arduino.cc/en/Guide/ArduinoYun. I thought it may be useful. |
Could you contact with this issue directly to @pyserial? I have idea how to make hook for this issue, but it isn't good solution. You can make back-link to this issue. Thanks in advance! |
@mseroczynski, have you resolved this issue? See pyserial/pyserial#19 Try the latest version of @pyserial
|
Stiiill got it, verified version 3.0b1 with |
Great! Don't forget to use the latest PlatformIO 2.4.0, it has support for @pyserial 3.0 |
Confirmed (problem) on |
Maybe it'll be any clue for you. Below is the log of working upload using Arduino IDE:
|
It seems that problem is linked with @platformio and Yun board. I don't have this board and haven't tested uploading yet. Could you provide me access to PC where this board is connected? Need to make a few tests to determine problem. TeamViewer is preferable. Please contact [email protected] with ID/Pass for the session (EET 13:00-23:00 http://www.timeanddate.com/time/zones/eet). |
Of course! What about trying 17 Nov (for me still 'tomorrow' ;)) at 18:00 EET? |
Please re-test the latest development version |
Works perfectly now :). Good job! |
I'm trying to initialize project for CLion using
yun
board. After importing the project and using example copy pasted code (Blink) i'm unable to successfully build and upload it. I'm getting error log with "Board not recognized" message. (Meanwhile led on Arduino is blinking on uploading time, but only when i define "upload_port" to my/dev/cu.usbmodem1451
- it never automatically figures it out)The text was updated successfully, but these errors were encountered: