æ¢ã« Raspberry Pi 2 ã§éãã§ããã¨ãã«æ°å Raspbian ãå£ãã¦ãã¾ã£ã¦ãã¤ã¡ã¼ã¸ãç¼ãç´ãã¦ãã¾ãã
ã¤ã¡ã¼ã¸ããæ»ããå¾ã«ãã«ãå¨ãã®ããã±ã¼ã¸ã¤ã³ã¹ãã¼ã«ãè¯ãå¿ããã®ã§ãæåã«ãã£ã¦ããã¹ããã¨ã¨ãã¦ã¡ã¢ãã¦ããã¾ããéæ追å ããããããã¾ããã
ã¿ã¤ã ã¾ã¼ã³ã¨ãã¼ãã¼ãã¬ã¤ã¢ã¦ãã®è¨å®
ããã¯ååèµ·åæã«ãã£ã¦ãããã»ããããæãã§ãããããããªãã¨ãã¼ãã¼ãå ¥åãããã©ãã§ãã
sudo raspi-config
Internationalisation Options ããããããè¨å®ãå¯è½ã§ãã
ããã±ã¼ã¸ã®ã¢ãããã¼ã
apt-get ã§ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ããåã«å®è¡ãã¦ããã¹ãã§ãã
sudo apt-get update sudo apt-get upgrade
ã«ã¼ãã«ããã¡ã¼ã ã¦ã§ã¢ã®ã¢ãããã¼ã
apt-get upgrade å¾ã«å®è¡ããæ¹ããæ°ãã rpi-update ãåºã¦ãããããããªãã®ã§å®å ¨ãªæ°ããã¾ãã
sudo rpi-update
2015/2 ã® Raspbian ã¤ã¡ã¼ã¸ã¯ 3.18.7-v7+ ã§ããããã¢ãããã¼ãå¾ã¯ 3.18.8-v7+ ã«ãªãã¾ããã
SPI / I2C ã®æå¹å
ååèµ·åæã§ãè¯ãã§ãããå¾ããã§ã raspi-config ã§è¨å®å¯è½ã§ãã
sudo raspi-config
Advanced Options ãã SPI / I2C ã®æå¹åãç°¡åã«åºæ¥ã¾ãã
è¨å®å¾ãåèµ·åãã㨠lsmod 㧠spi_bcm2708 㨠i2c_bcm2708 ãè¦ããããã«ãªãã¾ãã
SPI ã®ã«ã¼ãããã¯ãã¹ãã¯å ¬å¼ã®ããã¥ã¡ã³ãã® Troubleshooting ã«ããã³ãã³ãã§ç°¡åã«è¡ãã¾ãã
I2C ã«é¢ãã¦ã¯ãæ´ã«ã«ã¼ãã«ãã©ã¤ããèªã¿è¾¼ãè¨å®ãå¿ è¦ã«ãªãããã§ãã
Raspberry Pi の I2C を有効化する方法 (2015年版) - 意識低い開発者のBlog
/boot/config.txt ã¸ã®è¿½è¨ã¯å¿ è¦ãªãã£ãã§ããã/etc/modules 㸠i2c-dev ã追å ããå¿ è¦ã¯ããã¾ããã
ãã«ããã¼ã«ã®ã¤ã³ã¹ãã¼ã«
æä½éããããããã¯å ¥ãã¦ãããªãã¨ãã½ã¼ã¹ãããã«ããã¦ã¤ã³ã¹ãã¼ã«ãåºæ¥ãªãã§ãã
sudo apt-get install autoconf libtool automake build-essential git
æ°ãã GCC ãã¤ã³ã¹ãã¼ã«
Raspbian ã® GCC 㯠4.6 ãªã®ã§ãæ°ãããã¼ã¸ã§ã³ãå ¥ãã¦ããã¾ãã
sudo apt-get install gcc-4.8 g++-4.8 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 20 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 20 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50
update-alternatives ã使ã£ã¦å¤ã gcc/g++ ã使ããããã«ãã¦ããã¾ãã
æ°ãã Mono ãã¤ã³ã¹ãã¼ã«
å ¬å¼ã§ armhf åããã¤ããªãå ¬éããã¦ããã®ã§ãããã使ãã¾ãã
æ°ãã Node.js ãã¤ã³ã¹ãã¼ã«
apt-get ã§å ¥ããã¼ã¸ã§ã³ã¯å¤ãã®ã¨ãååã nodejs ã«ãªã£ã¦ããã®ã§èªåã§ãã«ããã¾ãã