Raspberry Pi + mruby ãã®1
æ¨å¹´æ«ã«ãRaspberry Pi ãå ¥æãã¾ããããã¾ã試ãæéãåããªãã£ãã®ã§ããããæ£æãå©ç¨ãã¦è²ã ã¨èª¿ã¹ãã¡ã¢ãæ®ãã¦ããã¾ãã
USBã·ãªã¢ã«ã³ã³ã½ã¼ã«
Raspberry Piç¨ã«è²©å£²ããã¦ãã USB to TTL Serial Cable ãè³¼å
¥ãã¾ãããRaspberry Piã«ã¯ GPIOãã¼ãããããããã©ã«ãã§ã¯GPIO14, GPIO15çªãã³ã«ã·ãªã¢ã«ã³ã³ã½ã¼ã«ããããã³ã°ããã¦ãã¾ãã
(http://elinux.org/RPi_Low-level_peripherals)
ä¸è¨åçã®ãããªé
åã§æ¥ç¶ããã¨ãé»æºãUSBã·ãªã¢ã«ã±ã¼ãã«ããä¾çµ¦ããããããå¥éé»æºç¨ã®USBã±ã¼ãã«ãç¨æããå¿
è¦ã¯ãªã模æ§ã§ãã
PCå´ã¯ã115200bpsã«è¨å®ãã¾ããUSBã·ãªã¢ã«ã±ã¼ãã«ã¯ãLinux, Mac, PCå
¨ã¦ã«å¯¾å¿ãã¦ãã¾ããä½ããç§ã試ããéãã§ã¯ãWindows8ã«ã¤ãã¦ã¯ãã©ã¤ããæªå¯¾å¿ã®ããåä½ãã¾ããã§ããã
Raspbian âwheezy"
ã¾ãã¯ãwww.raspberrypi.org ããæä¾ããã¦ããOSã¤ã¡ã¼ã¸ã試ãã¾ããã
wheezy㯠Raspberry Pi åãã«ã«ã¹ã¿ãã¤ãºãããdebianã§ãè¨å®ç¨ã®ã³ãã³ã(raspi-config)ãã¤ã³ã¹ãã¼ã«ããã¦ãã¾ããSDã«ã¼ãã«OSã¤ã¡ã¼ã¸ãæ¸ãè¾¼ãã ã ãã ã¨ã容éãåºå®ã«ãªã£ã¦ãã¾ãã®ã§ãæ¬ã³ãã³ããç¨ãããã¨ã§ãã¡ã¤ã«ã·ã¹ãã ã®ãªãµã¤ãºãã§ãã¾ãã
wheezyã軽ã使ã£ãå°è±¡ã¨ãã¦ã¯ãswapãã¼ãã£ã·ã§ã³ã¯æ¥µåå©ç¨ãããªããããªè¨å®ã«ãªã£ã¦ããããmountãªãã·ã§ã³ã« noatime ãä»ãããã¦ãããã¨ãSDã«ã¼ãã®æ¶èãæå°éã«æãããã¥ã¼ãã³ã°ãããã¦ãããã¨ãé¤ãã°debianãã®ãã®ã¨ãã¦å©ç¨ã§ãã模æ§ã§ãã