Platformio-core: Support for Arduino/Genuino 101

Created on 25 Feb 2016  Â·  9Comments  Â·  Source: platformio/platformio-core

It is based on Intel Curie SOC(https://www.arduino.cc/en/Main/ArduinoBoard101). So there is no platformio package for this yet.

Toolchain is ARC GNU Toolchain located at https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain.

Upload with dfu-util(http://dfu-util.sourceforge.net/) and seems to ship with own drivers.

The files are available via Arduino IDE board manager, but the documentation is quite thin until now. Is there any chance, platformio will support this platform? Tell me, if I can help with anything.

board feature platform

Most helpful comment

@maxbrueckl please re-test with the latest http://docs.platformio.org/en/latest/installation.html#development-version

All 9 comments

Thanks, we will contact with Arduino.cc and Intel Corporation to help us with integration this board to PlatformIO.

@w4ilun, @D3f0

Do you have any ideas as for this issue?

@maxbrueckl please re-test with the latest http://docs.platformio.org/en/latest/installation.html#development-version

Thank you for your efforts!
I can confirm that it compiles for arduino101 now.

However, I get an error message, when I try to upload to the board. This is the corresponding console output:

E:\Arduino\BalanceBot>platformio run --upload-port COM3 -e genuino101 -t upload
[04/28/16 15:09:58] Processing genuino101 (platform: intel_arc32, board: genuino
101, framework: arduino)
-------------------------------------------------------------------------------
BeforeUpload(["upload"], [".pioenvs\genuino101\firmware.bin"])
"C:\Users\max\.platformio\packages\tool-arduino101load\arduino101load" E:\Arduin
o\BalanceBot\.pioenvs\genuino101 .pioenvs\genuino101\firmware.bin "COM3" verbose

Starting download script...
Args to shell: [E:\Arduino\BalanceBot\.pioenvs\genuino101 .pioenvs\genuino101\fi
rmware.bin COM3 verbose]
Serial Port: COM3
BIN FILE .pioenvs\genuino101\firmware.bin
Waiting for device...
exec: "E:/Arduino/BalanceBot/.pioenvs/genuino101/dfu-util": file does not exist
scons: *** [upload] Error 1
========================= [ ERROR ] Took 1.66 seconds =========================

I tried the "-v" argument, but it delivers less output.
If you need more information, feel free to ask.

Hi @maxbrueckl !
Could you please test latest PlatformIO and this uploader. Just replace old one in C:\Users\max\.platformio\packages\tool-arduino101load\
Thanks!

I can confirm, that it all works now. Uploading included. Great work!

Thank you very much.

For record: Tested on Windows 10.

Notice to everyone working with Arduino101 right now: dfu-util currently does not reset the board before uploading. You need to manually press the "reset" button to bring the board in a flashable state.

I know, the issue is solved now, but may I ask a question considering packages in platformio.

As it seems they just exist and get downloaded (concrete toolchain-intelarc32, framework-arduinointel, tool-arduino101load), but I cant find where they are defined in the commits mentioned with this issue. Am I missing something?

If I understand correctly, it would be much more scalable, if they would be treated like boards and platforms (definable by users).

@maxbrueckl the packages are located in @bintray https://bintray.com/platformio

PlatformIO installs package into ~/.platformio/packages directory.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

0x587 picture 0x587  Â·  3Comments

positron96 picture positron96  Â·  5Comments

radut picture radut  Â·  5Comments

nirkons picture nirkons  Â·  4Comments

Navis-Raven picture Navis-Raven  Â·  3Comments