Skip to content

Use discontinued Intel Edison SDKs

This section requires the embedXcode+ edition.

Info

Intel has announced it will stop supporting all its boards, including the Galileo, Edison and Curie boards, starting mid-December 2017.

The Intel Edison board features a SoC with one micro-processor and one micro-controller.

The embedXcode+ edition supports the three frameworks of the Intel Edison board. The micro-processor executes sketches based on the Wiring / Arduino framework and native applications running on Yocto, while the micro-controller executes programs based on the MCU SDK.

Use the Wiring / Arduino framework

The micro-processor runs sketches based on the Wiring / Arduino framework,

Use the Yocto SDK

The micro-processor runs native applications on the recommended Yocto Linux distribution. Intel provides the Yocto SDK, the debugger and all the tools needed.

To install the platform running on the Yocto framework,

Use the MCU SDK

The micro-controller executes programs based on the MCU SDK.

To develop applications running on the MCU with the MCU SDK,

Keep in mind applications running on the MCU are developed in C, not C++, and requires a specific configuration. Similarly, debugging is managed by adding lines to the code and the messages are redirected to a TTY port.

Install the Edison SDKs

Install the Edison SDKs Automatically

The installation of the two SDKs for Edison is now included in the embedXcode installation package process.

If the Edison framework is selected, the installer checks whether the tool-chain and the SDK for each of the two environments, Yocto and MCU, are already installed. If needed, it downloads and installs them.

The Edison frameworks represent 668 MB, with 492 MB for the Yocto environment and 176 MB for the MCU environment.

For more details on the installation process,

  • Please refer to the section Install the template.

The installation can be performed manually, as described in the following sections.

Install the Edison Yocto SDK Manually

 If you plan to use the Yocto SDK on the Intel Edison board,

  • Unzip edison-sdk-macosx-ww18-15.zip.

  • Copy-paste the folder sysroots from ~/Downloads/poky-edison-eglibc-i386-edison-image-core2-32-toolchain-1.6.1 to ~/Library/embedXcode/EdisonYocto/sysroots.

The debugger for the Edison board isn't included in the SDK but in the IoT Development Kit.

If you plan to debug,

Install the Edison MCU SDK manually

If you plan to use the MCU SDK on the Intel Edison board,

  • Download the MCU SDK and API from the page Software Downloads for Intel Edison Boards and Compute Modules .

  • Unzip edison-mcusdk-macosx64-1.0.10.zip.

  • Copy-paste the folder edison-mcusdk-macosx64-1.0.10 from ~/Downloads/ to ~/Library/embedXcode/EdisonMCU.

  • Download the utility scripts init_DIG.sh, init_i2c8.sh, init_mcu_PWM.sh, read_DIG.sh, set_DIG.sh and init_UART1.sh.

  • Upload utility scripts to the Edison board.

The MCU SDK requires Intel Edison Board Firmware Software Release 2.1.

For more information,

Debugging requires calling the debug_print function on the application code. The messages are sent to the /dev/ttymcu1 driver.

Set the folder for Yocto and MCU projects

The folder where the Yocto projects are saved is defined during installation. However, should this folder change, you need to define the new location.

For example, if the Yocto projects are located on the ~/Documents/Projects/EdisonYocto folder,

  • Open the ~/Documents/embedXcode folder.

  • Double click on Define path to Edison projects.

A window asks for the folder where the Yocto projects are saved.

  • Select an existing folder or create a new one with New Folder.

  • Click Choose.

A notification confirms the new path.

Install tools for connection

The cu.usbmodem port gives a limited access and the cu.usbserial port provides full access but requires to plug-in the second USB cable.

$ ls /dev/cu.*
/dev/cu.usbmodem1413
/dev/cu.usbserial-A123B456

For full access, use instead either WiFi or Ethernet over USB.

$ arp -a
host-001 (192.168.1.223) at aa:bb:cc:dd:ee:ff on en0 ifscope [ethernet]
edison (192.168.2.15) at 11:22:33:44:55:66 on en8 ifscope [ethernet]

The three addresses, 192.168.1.223, 192.168.2.15 and edison.local give access to the board with ssh.

$ ssh root@192.168.1.223
$ ssh root@edison.local
$ ssh root@192.168.2.15

To install Ethernet over USB,

  • Download and install the HoRNDIS driver .

  • Open System Preferences... > Network, configure IPv4 as Using DHCP with manual address and set the IP address to 192.168.2.1.

The default Ethernet over USB address is http://192.168.2.15 .

For more information,

Create a new project

To create a new project,

  • Call the menu File > New > Project... or press Cmd+Shift+N.

  • Select the macOS option.

  • Scroll down and look for the embedXcode or embedXcode+ group.

There are five templates for the Wiring / Arduino framework, and one template for each of the other frameworks, Cosa, Edison Yocto, Edison MCU.

Select an embedXcode+ for Intel Edison Template

If embedXcode+ for Intel Edison is installed and selected, two options are available.

  • Select the template embedXcode+ Edison Yocto for Yocto native applications running on the Edison board.

  • Select the template embedXcode+ Edison MCU for projects running on the Edison MCU.

For the Arduino / Wiring framework on the Intel Edison board, select the templates embedXcode+ or embedXcode+ Arduino.

Add code and header files

  • Scroll down and look for the embedXcode or embedXcode+ group.

  • Select one of the options proposed, one per framework.

Add a C++ code file or library

Based on the options selected during the installation, the embedXcode group of templates include different options.

The embedXcode+ edition provides more options for the C++ File Edison Yocto and C File Edison MCU, based on the options selected during the installation

The header can be adapted to the framework.

  • Select Default for all the boards running on the Wiring / Arduino framework.

On the embedXcode+ edition,

  • Select Edison Yocto for the Intel Edison board running on Yocto.

  • Select Edison MCU for the Intel Edison board running on the MCU.

  • Click Next.

  • Continue with Save the new file .

Define the settings for Edison MCU

 If the application targets the Edison MCU and uses GPIO or PWM pins, I²C or UART ports, the ports need to be configured on the Linux side.

  • Open the main Makefile and edit the line MCU_CONFIGURATION with the settings.

  • Add the scripts among init_DIG.sh, init_i2c8.sh, init_mcu_PWM.sh, read_DIG.sh, set_DIG.sh and init_UART1.sh and specify the parameters.

The settings are automatically executed remotely on the Edison board during the upload process, as described at the section Upload MCU Application .

For more information,

Visit the official website for Intel Edison

The following section lists the tools for the Yocto SDK environment and the MCU SDK and API available for the Intel Edison board.

Intel
Website http://www.intel.com/content/www/us/en/do-it-yourself/maker.html
Galileo http://www.intel.com/support/maker/galileo
Edison http://www.intel.com/support/maker/edison
Download http://www.intel.com/content/www/us/en/do-it-yourself/downloads-and-documentation.html
Forum http://www.intel.com/content/www/us/en/do-it-yourself/forums-and-support.html
Intel MCU
Documentation https://software.intel.com/en-us/node/557537
Guides https://www-ssl.intel.com/content/www/us/en/support/edison-documents-and-guides.html
Download https://software.intel.com/en-us/iot/hardware/edison/downloads
Yocto
Download https://software.intel.com/en-us/iot/hardware/edison/downloads
Website https://www.yoctoproject.org