-
Notifications
You must be signed in to change notification settings - Fork 55
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
unable to use /dev/TTYUSB0 on linux #53
Comments
@vlad2005 I'm preparing a new release where that bug is fixed, in the meantime Open the file Replace the line 664: if(port and "COM" not in port and "esp" not in mcu): for if(port and "esp" not in MCU and "tty" not in port and "COM" not in port): |
ha! |
Your fix doesn't seem to work on Mac. Bummer :D |
I've been playing with it a little and it seems to also always return how would I revert to the previous build of DevIoT? |
@gepd LE: if(port and "esp" not in mcu and "tty" not in port and "COM" not in port): I got error: My usb to serial adapter is on /dev/ttyUSBx and have permision fixed using udev. |
Sorry about that guys, please download this pre-release, you shouldn't keep seeing that error. PD: You only need to unzip the file and overwrite |
Thanks, @gepd , I'll give it a shot.
I'll let you know how this release handles it :) |
ok! what I did:
it works now! |
Thanks for your work!
P.S. I noticed a little problem. After upgrading menu disappeared, offering only option to change the language. After I selected the "English" menu reappeared. Big thanks! |
Thanks for your reports guys, the last platformio update changed some json structure so it broke some things. |
The last release is available now (1.2.3) Thanks for your feedback! |
sorry to post on this one again, @gepd on Mac, there's by design an alias for the the condition should be
the |
Thanks again @ubidefeo, I've fixed this to the next release, if you have any problem or to make sure you don't get that error replace the if by: from re import search
if(search(r"[\d{3}\.]{3}", PORT) is not None and "esp" not in MCU.lower()): Now is checking if the port is an IP instead to check the serial ports |
interesting solution :) |
Hi!
I tried Deviot but i have an problem. When i try to upload my project, after select /dev/TTYUSB0, a got this warning:
OTA Upload are only available for Espressif (ESP8266) platforms currently
I don't use any wireless programmer.
This is my build conf file:
[env:pro16MHzatmega328]
platform = atmelavr
framework = arduino
board = pro16MHzatmega328
[platformio]
src_dir=/home/an/Arduino/temperature/final
On usb i have connected an USB to serial adapter witch work fine with ArduinoIDE.
#lsusb
Bus 004 Device 003: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Thanks!
The text was updated successfully, but these errors were encountered: