Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 4:52c937978bb3, committed 2019-07-18
- Comitter:
- Osamu Nakamura
- Date:
- Thu Jul 18 10:43:16 2019 +0900
- Parent:
- 3:b4a4111c9e15
- Commit message:
- Remove unnecessary documents
Changed in this revision
--- a/doc/lbg[N«̧äÉ¢Ä.txt Thu Jul 18 10:23:07 2019 +0900
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-==================================
- lbg[N«̧äÉ¢Ä
-==================================
-
-javascript ©çlbg[N«ð§ä·éû@É¢ÄLqµÜ·B
-
-¡ nic W
[
-
- nodejs â iotjs ÅÍWÀ³êĢȢAlbg[N«ð§ä·é½ßÌ
-nic W
[ðWÀµÄ¢Ü·B
-
-
-¡ nic W
[Ì@\
-
- nic W
[ÉͺLÌ@\ª èÜ·B
-
- Eenumerate - {[hÉÚ³ê½ NIC êðæ¾µÜ·B
- Eifup - IPAmaskAgatewayA(dns)ðwèµÄlbg[NÖÚ±µÜ·B
- Eifdown - lbg[N©çØfµÜ·B
- Eifconfig - óÔðæ¾µÜ·B
- Entpdate - C^[lbgƯúµÜ·B
-
- ÁÉwèªÈ¢êÍ javascript ÌæªÉÌR[hðÜßĨ±Æð
-¨©ßµÜ·B
-
- var nic = require('nic');
- var eth = nic.enumerate().ETHERNET;
- if( eth ) {
- eth.ifup(); // DHCP
- eth.ntpdate({ server: "ntp.nict.jp" }); // ¯ú
- }
-
- nic W
[ÌÚ×É¢ÄÍAudoc/api/nic.htmlvð²¾³¢B
-
- Èã
--- a/doc/rhû@.txt Thu Jul 18 10:23:07 2019 +0900
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,138 +0,0 @@
-==============
- rhû@
-==============
-
-¡XVð
-
- 2018N0827ú i1jÓÌèðXV
- 2018N1220ú i2jÓÌèðXV
- svÈèÌíE®
- 2019N0201ú iotjsÌæ¾³ðÏXiàeÍÏXȵj
- i3jÓÌèðXV
-
-¡rh«\z
-
- ®ìmF«
- OS : Ubuntu 16.04
-
- 1) pbP[WXgÌXV
- sudo apt update
-
- 2) CXg[ÏÝpbP[WÌXV
- sudo apt upgrade
-
- 3) pbP[WÌÇÁ
- sudo apt install [package]
-
- ypackagez : yversionz
- build-essential : 12.1ubuntu2
- gyp : 0.1+20150913git1f374df9-1ubuntu1
- mercurial : 3.7.3-1ubuntu1
- cmake : 3.5.1-1ubuntu3
- git : 1:2.7.4-0ubuntu1.4
- python2.7 : 2.7.12-1ubuntu0~16.04.3
- valgrind : 1:3.11.0-1ubuntu4.2
- python-pip : 8.1.1-2ubuntu0.4
-
- 4) Mbed CLI ÌCXg[
- sudo -H pip install mbed-cli
-
- 5) gcc-arm-none-eabi ÌCXg[i2j
- ȺÌURL©ç gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2 ð
- _E[hµÜ·B
- https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads
-
- _E[hµ½t@CðCÓÌfBNgÉðµÜ·B
- tar xjf gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2
-
- pXÌÝèðs¢Ü·B
- # «Ïðgp·éê
- export GCC_ARM_ROOT=ðæÌpX/gcc-arm-none-eabi-6-2017-q2-update/bin
- export PATH=$GCC_ARM_ROOT:$PATH
-
- # Mbed CLI Åwè·éê
- mbed config -G GCC_ARM_PATH $GCC_ARM_ROOT
-
-
-¡rhû@É¢Ä
-
- ºLÌR}hÅJ«Ì\zErhðs¢Ü·B
-
- # ìÆfBNgì¬
- export WORK=${HOME}/work
- mkdir -p ${WORK}
- cd ${WORK}
-
- # iotjsæ¾
- git clone https://github.com/pando-project/iotjs
- cd iotjs
- git checkout -b posix acae9c8b2d40e7598b8d39b630b79113ce880a7e
-
- # mbed-osæ¾
- mkdir -p ${WORK}/iotjs/src/platform/mbedos5
- cd ${WORK}/iotjs/src/platform/mbedos5
-
- git clone -b mbed-os-5.9 https://github.com/ARMmbed/mbed-os.git
- cd mbed-os
- git checkout -b posix 50bd61a4a72332baa6b1bac6caccb44dc5423309
-
- # sd-driveræ¾
- cd ${WORK}/iotjs/src/platform/mbedos5
- git clone https://github.com/ARMmbed/sd-driver.git
- cd sd-driver
- git checkout -b posix c8ae38fb291e086232566b0f1372cfb69c277e84
-
- # mbed-gr-libsæ¾i1j
- cd ${WORK}/iotjs/src/platform/mbedos5
- git clone https://github.com/d-kato/mbed-gr-libs
- cd mbed-gr-libs
- git checkout -b posix d921d611d596ecaebaab49070ef82450c583309c
-
- # AsciiFontæ¾i3j
- cd ${WORK}/iotjs/src/platform/mbedos5
- mbed add https://os.mbed.com/teams/Renesas/code/AsciiFont/
-
- # iotjsrh
- cd ${WORK}/iotjs
- ./tools/build.py --no-snapshot
-
- # \[XR[hðzui3j
- # ù¶Ì«Éã«·éêÍAȺÌt@CíðÀsµÄ¾³¢B
- rm -rf ${WORK}/iotjs/deps/posix
- rm -rf ${WORK}/iotjs/src/ext-modules
- rm ${WORK}/iotjs/src/platform/mbedos5/iotjs_def.h
-
- # [CDROM]Ì src/iotjs/* ð iotjs/ Éã«Rs[
- cp -pr [CDROM]/src/iotjs/* ${WORK}/iotjs/
-
- # lwippb`Kp
- cd ${WORK}/iotjs/src/platform/mbedos5/mbed-os
- git apply lwip_improve.patch
-
- # Mbed TLS Å Wireless Camera Shield ÉÚ³êÄ¢é ESP32 Ì^«¶í
- # ðgp·éêÍȺÌèðÀsµÄ¾³¢Bi2j
- cd ${WORK}/iotjs/src/platform/mbedos5/mbed-os
- git apply trng_support.patch
-
- ##ym[gz
- ## Wireless Camera Shield ðÚ±¹¸É IoT.js ð®ì³¹½¢êâA
- ## ESP32 pb`ðKpµÈ¢êÍAºLQÓÌÏXðsÁÄÄrhµÄ¾³¢B
- t@CpXFiotjs / src / platform / mbedos5 / Makefile
- 35sÚ:
- ÏXOj --cmake-param=-DENABLE_MODULE_VIDEO=ON \
- ÏXãj --cmake-param=-DENABLE_MODULE_VIDEO=OFF \
- t@CpXFiotjs / src / platform / mbedos5 / mbed_app.json
- 107sÚ:
- ÏXOj "ENABLE_MODULE_VIDEO=1",
- ÏXãj "ENABLE_MODULE_VIDEO=0",
-
- # mbed«ü¯rh
- cd ${WORK}/iotjs/src/platform/mbedos5
- make clean; make DEBUG=0
- ¦debugrh·éêÍ DEBUG=1 Ƶľ³¢
-
- # GR-PEACH É«ÞoCit@CªÈºÉ¶¬³êÜ·
- ls -l ${WORK}/iotjs/src/platform/mbedos5/BUILD/RZ_A1H/GCC_ARM/iotjs.bin
-
-
- Èã
--- a/doc/W [Îóµ.txt Thu Jul 18 10:23:07 2019 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,28 +0,0 @@ -====================== - W [Îóµ -====================== - -1) ÎW [É墀 -~~~~~~~~~~~~~~~~~~~~~~~~~ - IoT.js ÌW [inodejsÌW [Éj̤¿ - ºLW [É¢ĮìmF𮹵ĢܷB - - assert, buffer, console, dgram, dns, events, fs, - http, https, module, net, stream, timers, tls, process - - ãLÈOÌá¦Î BLE ÈÇÌW [ÉÍεĢܹñB - -2) API Reference É墀 -~~~~~~~~~~~~~~~~~~~~~~~~~ - »ÝgpÌ IoT.js Ìo[WÍȺÉÈèÜ·B - - IoT.js version - Wed Jul 4 12:03:55 2018 - commit : acae9c8b2d40e7598b8d39b630b79113ce880a7e - - ãLo[WÌeW [Ì API dlÉ¢ÄÍAȺð²Qƾ³¢B - - IoT.js API Reference - https://github.com/pando-project/iotjs/blob/acae9c8b2d40e7598b8d39b630b79113ce880a7e/docs/api/IoT.js-API-reference.md - - Èã
Binary file doc/ÚAÖê.xlsx has changed
--- a/doc/gpû@.txt Thu Jul 18 10:23:07 2019 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ -============ - gpû@ -============ - -gpû@É¢ÄÍAºLÌhL gðQƵľ³¢B - - - test/case.txt - - - Èã
--- a/doc/§À.txt Thu Jul 18 10:23:07 2019 +0900
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,120 +0,0 @@
-============
- §À
-============
-
-»ÝAȺ̧Àª èÜ·B
-
-¡§À
-
-1) POSIX/LINUX ÖÌÚAóµÉ¢Ä
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ÚAÖÍ IoT.js ð®ì³¹é½ßÉKvÈàÌÌÝÆÈèÜ·B
- POSIX/LINUX ÌÖdlÉ®SεĢéí¯ÅÍ èܹñB
- ÚAóµÚ×É¢ÄÍAºLÌhL
gðQƵľ³¢B
-
- - ÚAÖê.xlsx
-
-
-2) Åå\PbgÉ¢Ä
-~~~~~~~~~~~~~~~~~~~~~~~~~
- LWIP ÉÄgpÂ\È\PbgâTCYðºLÝèt@CÉÄ
- ÝèµÄ¢Ü·B
- ÝèðÏX·éêÍÝèt@CðÒWµÄÄrhµÄ¾³¢B
-
- t@CpXF
- iotjs / src / platform / mbedos5 / mbed_app.json
-
- 161: "target_overrides": {
- +1: "*": {
- +1: "lwip.socket-max": 60,
- +1: "lwip.tcp-server-max": 60,
- +1: "lwip.tcp-socket-max": 60,
- +1: "lwip.udp-socket-max": 60,
- +1: "lwip.pbuf-pool-size": 10,
- +1: "lwip.pbuf-pool-bufsize": 1072,
- +1: "lwip.mem-size": 3200
- +1: }
- +1: }
-
-
-3) IPv6 É¢Ä
-~~~~~~~~~~~~~~~~
- mbed-os(5.9.3)ÌftHgÝèÍIPv6ª³øÉÈÁĢܷB
- IPv6ðLøÉ·éêͺLÝèt@CðÒWµÄÄrhµÄ¾³¢B
- ¦È¨ IPv6 ðLøÉµ½êÌe¿ÍͨæÑ®ìÉ¢ÄÍ¢mFÅ·B
-
- t@CpXF
- iotjs / src / platform / mbedos5 / mbed_app.json
-
- 161: "target_overrides": {
- +1: "*": {
- <ÇÁ>: "lwip.ipv6-enabled": true,
- +1: "lwip.socket-max": 60,
- +1: "lwip.tcp-server-max": 60,
- +1: "lwip.tcp-socket-max": 60,
- +1: "lwip.udp-socket-max": 60,
- +1: "lwip.pbuf-pool-size": 10,
- +1: "lwip.pbuf-pool-bufsize": 1072,
- +1: "lwip.mem-size": 3200
- +1: }
- +1: }
-
-
-4) lbg[N«̧äÉ¢Ä
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- »óAlbg[NÖÌÚ±Í EthernetInterface NXÖ}bsO³êé
-foCX(GR-Peach ÌêÍI{[hÌfoCX)ÌÝðT|[gµÄ¢Ü·B
- javascript ©ç§ä·éû@É¢ÄÍAºLÌhL
gðQƵľ³¢B
-
- - lbg[N«̧äÉ¢Ä.txt
-
-
-5) JELCḐäÉ¢Ä
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- videoW
[(J)ÆdisplayW
[(LCD)ð¯Égp·éêA
- display.openLCD() ðÀsãÉ video.openCMOSCamera() ðÀsµÄ¾³¢B
-
- ܽAlcd.start() Ì format Ìwè¢ÄAeC[ÉεÄñÀsÌÝ
- LøÉÈèÜ·B
- ññÚÈ~ÍñÆÙÈé format ðwèµÄàAñÌÝèªLøÉÈèÜ·B
-
- áj
- lcd.startSync(0, buf, 'rgb565');
- lcd.stopSync(0);
- lcd.startSync(0, buf, 'rgb888'); // format Í 'rgb565' ÉÈèÜ·
-
-
-6) IoT.js IWiÌ http(https) W
[ÌâèÉ¢Ä
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- IoT.js IWiÌ http(https) W
[ÉÄAêñÌ SOCKET ÊMÅÍè«ê
- È¢TCYÌf[^ðMµæ¤Æ·éÆAññÚÈ~ÉM³êéf[^ðÜÞÌæ
- ªMOÉðú (jó) ³êĵܤ±Æªí©èܵ½B
-
- ±Ìâèðñð·é½ßAÌÎôðs¢Üµ½B
-
- 1. IoT.js IWiÌMÖ write() ðI[o[ChµA»ÌÖàÅ
- f[^ð ç©¶ßêñÌ SOCKET ÊMÅè«êéTCYɪµÄ¨B
- ªµ½f[^ðIWiÌMÖÉn·B
- - 4096 oCg²ÆÉª
- - [UR[h©çÍ write() ÖÍgXyAg
- 2. POSIX wÌ SOCKET ÖÌMÍAøÅwè³ê½TCYªðèØéÜÅ
- [v·éB
-
- ãL 1. ðÀ»·é½ßAhttp(s) W
[ðgp·éêÍ fixup W
[ð
- Ìæ¤É require µÄ¾³¢B
-
- - http W
[ðgp·éêF
-
- require('fixup')('http'); // http ð require ·é¼OÉÇL
- // http W
[ðC·éAÌÓ
- var http = require('http');
-
- - https W
[ðgp·éêF
-
- require('fixup')('https'); // https ð require ·é¼OÉÇL
- // https W
[ðC·éAÌÓ
- var https = require('https');
-
- ±ÌLqð·éÆ IoT.js IWiÌMÖªu«·¦çêÜ·B
-
- Èã