You can export a project you create in Arduino Create* as a CMake file, then import that file into Intel® System Studio for further development work.
- In the web editor, open the sketch you want to export.
- Next to the board selection drop-down list, click the menu icon (...). From the menu, select Export CMake file.
- Your sketch is exported as a .zip file, as shown below.
The ability to import Arduino Create projects into the Intel System Studio is available for Linux* hosts ONLY. After building an imported project and switching build configurations (i.e. changing the build configuration from DEBUG to RELEASE or vice versa), you may find that your project does not build, and that no errors will appear in the Cmake console, Problems view, or Error Log.
To avoid this issue, before attempting to rebuild the project, do one of the following to ensure that your project builds properly:
- Clean the project
- Delete the build directory
Before you can import an Arduino Create project, you must install cmake on your host machine. To do so, enter the following commands in a Terminal window:
sudo add-apt-repository ppa:george-edison55/cmake-3.x sudo apt-get update sudo apt-get install cmake
Without cmake, compiling the project will fail and the Problems List will include errors.
For importing projects to Intel System Studio 2018 :
- If the upload is failing, verify credentials by ssh-ing through a separate console or putty. Double check proxy settings of both target and host device.
- If you get an error about the scheduler not having permission, as follows:
Refer to the following resources:
Beware that changing the real-time priority is not recommended. Changing the application code to not have real-time priority manipulation is preferable.
- If the application is running but not performing tasks related to the hardware sensors or API , it is likely that it is running as non-root. For details, refer to: https://github.com/intel-iot-devkit/mraa/blob/master/docs/debugging.md
- If a ‘Problem Occurred’ dialog box appears with message ‘Error during file upload’, it likely means that the application is already running. Try to terminate the application using the Terminate application button in the Intel System Studio. Alternatively:
a. Kill the process by searching for it in the process list.
b. Delete the binary at the previously chosen location on the target device.