Keil Studio Cloud Arm's IDE for IoT, embedded and Mbed development
Webãã©ã¦ã¶ããJavascriptã§mbedãå¶å¾¡ã§ãã次ä¸ä»£ãã£ã¸ã«ã«ã³ã³ãã¥ã¼ãã£ã³ã°ã½ããã¦ã§ã¢ï¼ï¼ï¼ï½´ï½ªï½ªï½ªï½ªï¾ï¾ï¾ï½¯ï¾ï¾JS (mbedJS)ããªãªã¼ã¹ãã¾ããã*1 ããã¯ä½ï¼ エェェェェï¾ï¾ï¾ï½¯ï¾ï¾JSã¯ãmbedåä½ã§ç¨¼åãããããã¯ã¼ã¯ãã£ã¸ã«ã«ã³ã³ãã¥ã¼ãã£ã³ã°ã®ç¨ã®Webãµã¼ãã¹ã½ããã¦ã§ã¢ã§ãã HTMLã¨JavaScriptã§HTMLãæ¸ãç¥èãããã°ãç¹ã«æ°ãããã¨ãè¦ããªãã¦ããã£ã¸ã«ã«ã³ã³ãã¥ã¼ãã£ã³ã°ãå§ãããã¨ãã§ãã¾ãã mbedããããã¯ã¼ã¯çµç±ã§ãªã¢ã¼ãå¶å¾¡ããããã®ãã¡ã¼ã ã¦ã§ã¢ãåã³JavascriptAPIã§æ§æããã¦ãã¾ããWebsocketä¸ã®JSON RPC 2.0ãç¨ããé«éãªRPCã¨ãmbedSDKã©ã¤ã¯ãªJavascriptAPIãç¹å¾´ã§ãã ä¾ãã°ãããããLãã«ããã°ã©ã ã¯æ¬¡ã®ãããªJavascriptã§æ¸ããã¨ãã§ãã¾ã
éèªInterfaceã®2009å¹´5æå·ï¼LPC2388ä»é²åºæ¿ä»ãï¼ãè³¼å ¥ãã¾ããï¼ï¼å¹´ä»¥ä¸åã®ãã®ã§ããæ®éã«CQåºçã®Webãµã¤ãã§é販ãã¦ã¾ãï¼ãããããMacä¸ãªã©ã§ã³ã³ãã¤ã©GCCã使ã£ã¦éçºããæ¹æ³ã¯ç´¹ä»ããã¦ããªãâ¦ï¼å½ããåï¼ï¼ ããã§ãèªåã§ARMç¨ã®GCCï¼ arm-none-eabi-gcc 4.5.0 + newlib 1.18.0 ï¼ããã«ããã¦ãMacä¸ã§ãã®LPC2388(ARM7TDMI-S)ã®éçºãã§ããããã«ããnewlibã«ããCæ¨æºã©ã¤ãã©ãªã使ããããã«ãã¾ãããç°å¢ã¯Mac OS Xä¸ã§ããããã以å¤ã®LinuxãCygwinãªã©ã§ãä¼¼ããããªæ¹æ³ã§ãã«ãã§ããã¨æãã¾ãã ç°å¢ï¼Mac OS X Snow Leopard 10.6.4 XCodeããã³MacPortsã®ã¤ã³ã¹ãã¼ã«ãåæã§è©±ãé²ãã¦ããã¾ããï¼MacPortsã®å ¥ãæ¹ã¯å¾ã§ç´¹
ARMã®éçºç°å¢ã®ã»ããã¢ããã¯ãé£ããã¨ããã¤ã¡ã¼ã¸ãããã¾ãããã ããã§ã¯ã以ä¸ã®3ã¤ã®æ¹æ³ãç´¹ä»ãã¾ãï¼ãã·ã³ç°å¢ã¯Mac OS X Leopardã§ãï¼ã å¿ è¦æä½éã®ãã¼ã«ãã½ã¼ã¹ããä½æãã MacPortã使ã£ã¦ã¤ã³ã¹ãã¼ã«ãã YAGARTOããå¿ è¦ãªããã±ã¼ã¸ããã¦ã³ãã¼ããã¦ãã¤ã³ã¹ãã¼ã«ãã ã©ã¡ããæ¡ç¨ãããã¯ãããããã§ããç§ã¯MacPortçã使ããã¨ã«ãã¾ããã å¿ è¦æä½éã®ãã¼ã«ã®ã½ã¼ã¹ããã®ã¤ã³ã¹ãã¼ã« â ãã¼ã«ãæã£ãéãã«æ©è½ããªãã¨ããåå ã®åãåããããããã«ãæ©è½ã å¿ è¦æä½éã«çµã£ã¦ãã¹ããããã¨ãããã¾ãã ããã§ã¯ãARMã®ã¯ãã¹éçºã«å¿ è¦ãªgccã¨binutilsã®ã¿ãä½æããæ¹æ³ã説æãã¾ãã *1 newlibãC++ãªã©çµã¿è¾¼ã¿ã§ãã¾ãå¿ è¦ã§ãªããã¼ã«ãé¤ããã¨ã§makeãé常ã«ç°¡æ½ã«ãªãã¾ãã ä½æãããã¼ã«ã®ãã¼ã¸ã§ã³ã¯ä»¥ä¸
è¿ã ãªãªã¼ã¹ãããã¨åã§ããããmbedã®RTOSï¼ãªã¢ã«ã¿ã¤ã OS) αçããªãªã¼ã¹ããã¾ããã 以åã«ç´¹ä»ããmbedã¦ã¼ã¶ã¼ã«ããRTOSã¯ããã¾ãããä»åº¦ã¯ãªãã£ã·ã£ã«ãCMSIS APIããµãã¼ãããå½¢ã§å ¬éããã¾ããã http://mbed.org/handbook/RTOS 以ä¸ã®RTOSã®æ¨æºçãªæ©è½ã使ããæ§ã§ãã ã¹ã¬ããï¼Threadï¼ æä»å¶å¾¡ï¼MUTEX) ã»ããã©ï¼Semaphoreï¼ ã·ã°ãã«ï¼Signalsï¼ ãã¥ã¼ï¼Queueï¼ ã¡ã¼ã«ï¼Mailï¼ RTOSã¿ã¤ãã¼ï¼RTOS Timerï¼ RTOSã使ãã¨ã¹ã¬ããã«ãã£ã¦è¤æ°ã®å¦çãã¹ã¬ããã¨ããåä½ã§åæã«åããã¤ã¡ã¼ã¸ã§æ±ããã¨ãåºæ¥ã¾ããæä»å¶å¾¡ãã»ããã©ãã·ã°ãã«ããã¥ã¼ãã¡ã¼ã«ã¯ãã®ã¹ã¬ããéã§å¦çã®é çªããã¼ã¿ã®ããã¨ããå¶å¾¡ããæ©è½ã§ãã RTOSã¿ã¤ãã¼ã¯ä¸å®ã®å¨æï¼ééï¼ã§å¦çãåãã
Android端æ«ã¨mbedãBluetooth SPPã§æ¥ç¶ããå®é¨ããã¾ããã®ã§ããã®æé ãã¾ã¨ãã¦ã¿ã¾ããã ããã§ä½¿ç¨ãã¦ããmbedã§Bluetooth SPPæ¥ç¶ãã¤ãããããã«ããããã°ã©ã âmyBlueUSBâã¯ãã¾ã éçºä¸ã§æã æ´æ°ããã¦ããããã§ãã ãããã£ã¦ããã®éããã£ã¦ããã¾ããããªãå ´åãããããããã¾ããã®ã§ãæ¿ç¥ãããã ããã ã¾ããã®è¨äºã¯ãããç¨åº¦Androidãmbedã®éçºçµé¨ãããæ¹ã対象ã«ãã¦ãã¾ãã®ã§ããã¼ã«é¡ã®æä½æ¹æ³ã®ç´°ãã説æã¯çç¥ãã¦ãã¾ãã âï¼ï¼è£è¶³ï¼ Window PCã¨æ¥ç¶ãããå ´åâã追è¨ãã¾ããã 2011.11.7 âï¼ï¼æè¶³ï¼ btserialã¯ã©ã¹ã使ã£ã¦éä¿¡ããå ´åâã追è¨ãã¾ããã2012.3.4 ï¼ï¼å¿ è¦ãªãã® ã»mbedå´ ï¼ï¼ï¼mbedãNXP LPC1768 mbedãåãã¦ä½¿ãæ¹ã¯ãã¡ããã©ããã ï¼ï¼
ã©ã³ãã³ã°
ã¡ã³ããã³ã¹
ãç¥ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}