https://communities.intel.com/thread/58869?start=0&tstart=0
Atom: CPU、Yocto Linuxを動かしている(デュアルコア) Quark: MCU、マイクロコントローラ、32ビット、Gallileoと同じ
しかし
IoT - Efficient communication between Arduino* and Linux native processes | Intel® Developer Zone
https://software.intel.com/en-us/blogs/2014/09/22/efficient-communication-between-arduino-and-linux-native-processes
では、
ArduinoはLinuxの下で動いている
→Atomの下でArduinoが動いてるん
→じゃあQuarkは何をしている?
中の人の答え@2015Jan/5(一年前)
まだQuarkはAPIを提供してないのでさわれない
さっき調べたらEclipseで開発環境が提供されてて、OSXからも書き込めた。
アップロードした後EdisonにSSHで入ってシェルコマンドを実行してGPIOの設定をしないといけないのが果てしなく面倒だったけど
ここを参考に。
http://zigsow.jp/review/454/302529/
EclipseでのHello World (DS2 LEDを点灯させる)
#include "mcu_api.h" #include "mcu_errno.h" void mcu_main() { gpio_setup(40, 1); /* GPIO 40 connects to DIG 13 and DS2 */ while (1) { gpio_write(40, 1); mcu_delay(1000); /* delay for 1000 microsec */ gpio_write(40, 0); mcu_sleep(100); /* sleep for ticks in 10 ms */ } }
上をビルドしてUpload(Eclipse上ではDownloadという表記)したあと
以下のシェルコマンドをEdisonに入って実行する
$ sh init_Dig.sh -o 13 -d output
※inig_DIG.shは以下からダウンロードする
https://software.intel.com/en-us/node/557356
まだAPI整備されてないっぽいし、誰が使うんだという気はしてる