Comments (9)
After the many restarts today, it started working. Odd to say the least.
In any case, the output was as expected I guess:
PORT: /dev/tty.usbmodem1242711
MCU: mk20dx256
ENVIRONMENT: teensy31
Sorry for the trouble! And thanks for your excellent support!
from deviot.
Thanks for the info, it helps me to debug any problem. I hope to improve this in the next release!
from deviot.
Hi @Toladar
I've solved this issue for next release, but you can add the fix by yourself
Go to ST Menu > Preferences > Browse Packages
Open PlatformioCLI.py
in Deviot\libs
Replace Line 550:
if("esp" not in MCU and "tty" not in PORT and "COM" not in PORT):
By
from re import search
if(search(r"[\d{3}\.]{3}", PORT) is not None and "esp" not in MCU.lower()):
Let me know if it solve your problem
EDIT: You can download and install the developer branch too, you only need to replace the deviot folder
from deviot.
I'm getting the same error even with the developer branch when trying to upload to a Teensy 3.2.
System:
OSX
Deviot 1.2.4 (tested with developer branch and master)
PlatformIO 2.11.2
Thanks!
from deviot.
Can you tell me the name of the usb port, I've just tried that board in windows and linux and I didn't have the problem, I don't have OSX here to test, but the name of the usb can help me
from deviot.
This is the format on OSX: /dev/tty.usbmodem12345 (absolute path)
Not my specific device though, I can get it tomorrow.
from deviot.
Please, check the line 558 of the file PlatformioCLI.py
in Packages/libs
is:
if(search(r"^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$", PORT) is not None and "esp" not in MCU.lower()):
I've tested the code with the path you gave me and it seems to work fine. I've check the develop branch and it should be resolved with the last fix:
https://github.com/gepd/Deviot/blob/develop/libs/PlatformioCLI.py#L558
Just to be clear you are receiving this error: OTA Upload are only available for Espressif (ESP8266) platforms currently
?
from deviot.
Yes, that exact error. Line 558 is the same as you posted.
I now have the teensy at hand though, and the name of the port is longer, could that be it? I know nothing of regex, otherwise I would try to patch it myself :)
The port is: /dev/tty.usbmodem1242711
I just tested my port against the expression in this site and it says it doesn't match.
from deviot.
The regex result is a normal behavior, it only match when the port is an IP.
Can you please paste this code before the line 558:
print("============")
print("PORT:", PORT)
print("MCU:", MCU)
print("ENVIRONMENT:", environment)
After paste, restart ST and try to upload the firmware, when deviot shows the error, go to the console Menu ST > View > Show Console
look for the previous lines and paste it here.
from deviot.
Related Issues (20)
- Support for python3 HOT 6
- Poorly colored .ino source
- bad cpu type in executable
- As platformio now requires python 3.x while Deviot requires 2.x, is Deviot no more ? Any work-around ? HOT 3
- Most buttons do nothing HOT 1
- Japanese Language missing
- the board list won't open HOT 4
- Python 3, pio cannot upgrade? HOT 1
- Sublimetext 4 no deviot HOT 4
- ST4 install library fail HOT 5
- Guide: Running Deviot with ST3 / ST4, PlatformIO 5, and Python 3.6+ HOT 10
- OSX: Serial ports not showing on big Sur HOT 2
- ST4: serial monitor footer colors
- not reconigced
- MacOS examples shows nothing
- can't see devio menu HOT 4
- Guide: Fix Deviot menu & syntax highlighting missing HOT 1
- python HOT 1
- Select board HOT 5
- Select Board Not Working After Installing Deviot HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deviot.