I was able to get Embrio to work with the Galileo 2. It takes a couple extra steps, but once you get the Galileo working with Arduino it’s pretty easy to get it working with Embrio.
First go through the tutorials on-line for setting up the Galileo 2 and uploading to it with the Arduino IDE. I used this page:
https://software.intel.com/en-us/articles/getting-started-with-the-intel-galileo-board-on-windows#terminal. Note that you end up with a special version of the Arduino IDE in a new folder on the root of your C drive. Make sure you can upload the Blink Arduino example from the new Arduino IDE before moving on.
In C:/Program Files/Embrio open the file pininfo.txt and add the following info entry:
<Info>
<BoardName>Galileo 2</BoardName>
<Tag></Tag>
<DigitalPinCount>14</DigitalPinCount>
<AnalogPinCount>6</AnalogPinCount>
<PwmPins>3,5,6,9,10,11</PwmPins>
<ExeOverride>C:\IntelArduino-1.6.0-Windows\arduino-1.6.0+Intel\Arduino</ExeOverride>
</Info>
Change the ExeOverride value to whatever path you put the special version of the Arduino IDE.Notice that this definition has no Tag value. When no board info value is passed to the Arduino command line, it uses the last board used in the IDE. This is important:
to get this to work you need to open the special version of the Arduino IDE and select the Galileo from the boards drop down, then close the IDE. If you open the regular 1.6.x version of Arduino the last used board will not be the Galileo any more. I couldn’t figure out what --board value to send to target the Galileo, if anyone figures it out let me know so we don’t have to deal with this annoying step.
When you try to upload to the Galileo from Embrio and you get the error “Have you selected the correct Arduino model?”, you probably have to open the new IDE and select the Galileo again.
I eventually need to figure out the way the new Arduino software deals with boards so that this can be done automatically, but for now there's going to have to be this extra step.