You may have come to this section looking for Arduino development support. This existed for the original Intel Edison-Arduino, but support for that has been dropped and recreating it seems to be a lot of work.
However, a much better development environment can be setup based on current Linux IDE’s. In the following we will describe setting up Qt Creator, but similar setups can be done using other FOSS IDE’s like KDevelop/Eclipse/Code:Blocks.
With remote development you build you executable on your (much more powerful) host, upload it to the remote Edison and use your local debugger to control your now remote application.
To do this you need:
Select Other or Non-Qt project
We need to set up the remote (under Devices) and the tool chains for Desktop and Edison (called Kits).
The kits consist of compiler, debugger, cmake. The auto detected ones should be just fine.
Select this one in a new browser Tab to see the details. In particular:
corei7-64-poky-linux
sysroot provided by the SDK.Here I just modified CFLAGS
and LDFLAGS
. Inspiration can be found in the environment-setup-corei7-64-poky-linux
.
If all went well the Build settings should be fine as they are.
The Run settings need some help: In particular:
SFTP
or rsync
.When switching target from Desktop to Edison or back, clear the Cmake Configuration and Run CMake again from the Build menu.
Also, when changing compiler flags Clean the Project and Rebuild the project from the Build menu.
After getting the configuration right development can be done same as for a local development. In fact the local debugger gdb
communicates with the remote gdbserver
behind the screens.
Of course the advantage of remote development is that while the actual hardware is available for interfacing, the tools are available on the development machine through a GUI.
© 2018 Ferry Toth