Click here to Skip to main content
13,400,775 members (35,809 online)
Click here to Skip to main content
Add your own
alternative version

Stats

3.1K views
2 bookmarked
Posted 13 Nov 2017

Transfer Your Project from Arduino Create to Intel® System Studio 2018 Beta

, 13 Nov 2017
Rate this:
Please Sign up or sign in to vote.
Transfer Your Project from Arduino Create to Intel® System Studio 2018 Beta

Editorial Note

This article is for our sponsors at CodeProject. These articles are intended to provide you with information on products and services that we consider useful and of value to developers

Details

  • Tested with l_cembd_p_2018.0.050
  • Linux* host build
  • Requires CMake on the host

Purpose

Build a project from Arduino Create* in Intel® System Studio (with CMake Makefile generation).

  1. Export a project from Arduino Create*
  2. Extract the provided zip file
  3. Generate the Eclipse* Makefile/.cproject/.project files
  4. Import the build directory into Intel® System Studio
  5. Build/debug

Note: For libraries that are dynamically linked in Arduino Create, these libraries must be installed in the docker container in Intel System Studio for this to work.

Exporting a Project from Arduino Create*

The following sample was used: https://github.com/intel-iot-devkit/up-squared-grove-IoTdev-kit-arduino-create/tree/master/examples/Blink using the provided Export flow, save off a CMake-based project archived to a zip file (in this case: arduino_create-cmake.zip).

Generate the Eclipse* CDT Project for Intel® System Studio

  1. First, extract the CMake zip
    unzip arduino_create-cmake.zip -d iss_example_Blink
  2. Run CMake to generate the CDT Project
    cmake -G "Eclipse CDT4 - Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -Biss_example_Blink/build -Hiss_example_Blink/_cmake

Import the project into Intel® System Studio

Build and Debug

  1. Set a breakpoint in the sketch.

  2. Build the project. Make sure to save prior to building! A successful build will place a debug binary in the Project Explorer (below as examples_Blink -[x86_64]).

  3. Debug the project - examples_Blink (1)

  4. Hit Resume (F8) one time to continue from main.cpp to the sketch breakpoint.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Intel Corporation
United States United States
You may know us for our processors. But we do so much more. Intel invents at the boundaries of technology to make amazing experiences possible for business and society, and for every person on Earth.

Harnessing the capability of the cloud, the ubiquity of the Internet of Things, the latest advances in memory and programmable solutions, and the promise of always-on 5G connectivity, Intel is disrupting industries and solving global challenges. Leading on policy, diversity, inclusion, education and sustainability, we create value for our stockholders, customers and society.
Group type: Organisation

44 members


You may also be interested in...

Pro

Comments and Discussions

 
QuestionWindows Pin
rbacenetti6-Dec-17 2:10
memberrbacenetti6-Dec-17 2:10 
QuestionLink not working Pin
rbacenetti6-Dec-17 2:09
memberrbacenetti6-Dec-17 2:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.180218.2 | Last Updated 13 Nov 2017
Article Copyright 2017 by Intel Corporation
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid