-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Introduced PlatformIO stack with couple of samples #2887
Conversation
"components": [ | ||
{ | ||
"name": "Python", | ||
"version": "3.5.1" |
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.
PlatformIO requires Python 2.7 and doesn't work with Python 3
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.
Copy-paste-error. Will change to 2.7.(correct one)
"attributes": { | ||
"previewUrl": "" | ||
} | ||
} |
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.
Would be good to have here "Remote: Serial Port Monitor" mapped to pio remote device monitor
command.
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.
yes. Will do
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.
Removed. Since we not support tty
in commands right now. User can enter this command from terminal. See docs.
Build # 794 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/794/ to view the results. |
Build # 800 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/800/ to view the results. |
Build # 825 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/825/ to view the results. |
Build # 856 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/856/ to view the results. |
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/867/ |
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/872/ |
"tags": [ | ||
"Platformio", | ||
"pio", | ||
"Arduino" |
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.
Would be good to add these tags:
"PlatformIO",
"IoT",
"embedded",
"arduino",
"mbed"
{ | ||
"name": "run", | ||
"type": "custom", | ||
"commandLine": "cd ${current.project.path} && pio run", |
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.
Can be simplified with pio run -d ${current.project.path}
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/890/ |
Build # 900 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/900/ to view the results. |
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/906/ |
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/924/ |
PR is ready. Please review who is interested. |
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/931/ |
Introduced PlatformIO stack with couple of samples See how to use eclipse-che#2887
What does this PR do?
In collaboration with @ivankravets this PR introduce integration with lead platform for embedded device development.
http://platformio.org/ It include two simple samles.
Samples usability is related to #2883
How it works.
Example: EmonTX connected to RaspberryPi3 with PlatformIO remote agent + Eclipse Che PlatformIO stack.
sudo pip install https://github.com/platformio/platformio/archive/develop.zip
pio account login
pio remote agent start&
PlatformIO
stack![2016-11-04 23 33 00](https://cloud.githubusercontent.com/assets/1614429/20023201/2f03377e-a2e7-11e6-8464-24cd8d2fd2b4.png)
6. Import emonTX firmware https://github.com/openenergymonitor/emonTxFirmware.gitC++
project type./emonTxFirmware/emonTxV3/RFM/emonTxV3.4/emonTxV3_4_DiscreteSampling
and convert it toC++
project.pio account login
you need to do it once per workspaceRemote device list
. Make sure your device is listed.pio remote device monitor --baud 115200