Changes between Version 5 and Version 6 of EcnlProtoTool
- Timestamp:
- May 2, 2017, 11:57:07 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
EcnlProtoTool
v5 v6 44 44 mrubyのビルド環境にEmscriptenのtoolchainを追加してビルドしたものです。 45 45 リポジトリにある「mruby-1.2.0\build_config.rb」は、GR-PEACH向けのビルドのみが有効になっていますが、コメントアウトされた最後のブロックを有効にすることでmrbc.jsをコンパイルできます。=beginから=endまでのコメントアウトされたブロックがmrbc.js用のビルドになります。 46 このコメントアウトを戻して、通常のmrubyのビルドと同様にmakeを実行すると「mruby-1.2.0\build\emscripten\bin」に「mrbc.js」が出力されます。他のJavaScriptは「tools\yuicompressor-2.4.8.jar」でミニファイしていますが、mrbc.jsはうまくミニファイ出来ないので、 https://jscompress.com/のサイトを利用してミニファイしています。mrbc.jsとmrbc.min.jsは、「webapp\webmrbc」フォルダにコピーしておきます。46 このコメントアウトを戻して、通常のmrubyのビルドと同様にmakeを実行すると「mruby-1.2.0\build\emscripten\bin」に「mrbc.js」が出力されます。他のJavaScriptは「tools\yuicompressor-2.4.8.jar」でミニファイしていますが、mrbc.jsはうまくミニファイ出来ないので、[https://jscompress.com/]のサイトを利用してミニファイしています。mrbc.jsとmrbc.min.jsは、「webapp\webmrbc」フォルダにコピーしておきます。 47 47 48 48 === GR-PEACH側アプリのビルド === … … 52 52 e2studioのメニュー「ファイル」→「インポート」で、EcnlProtoToolを展開したフォルダを指定します。以下のプロジェクトが表示されるので、すべて取り込みます。 53 53 ||asp3_dcre||TOPPERS/ASP3+mbed||libkernel.a|||| 54 ||ntshell||Natural tiny shell、FatFS、 Socketなど||ntshell.bin||asp3_dcreに依存||54 ||ntshell||Natural tiny shell、FatFS、TINET、Socketなど||ntshell.bin||asp3_dcreに依存|| 55 55 ||onigmo-5.15.0||mruby用正規表現ライブラリ||libonigmo.a|||| 56 ||mrbgems||mruby 拡張機能||-||ファイル管理のみ||56 ||mrbgems||mruby-onig-regexp \\ mruby-io、mruby-pack、mruby-socket、mruby-dir \\ mruby-ecnl \\ mruby-arduino(Wakayama.rb Ruby Board V2 library)||-||ファイル管理のみ|| 57 57 ||mruby-1.2.0||mruby||libmruby.a||onigmo-5.15.0、mrbgemsに依存|| 58 58 ||tcc-0.9.26||Tiny C compiler||libtcc.a|||| … … 64 64 == 使用しているオープンソース == 65 65 66 GR-PEACH側には、BusyBoxのviが入っています。BusyBoxはGPLv2でその他のソフトウェアとは性格の違うライセンスとなっていますので、再頒布する際は注意してください。「prototool\src\libbb」フォルダがBusyBoxのソースを含んでいます。 67 66 68 === Webアプリ === 67 69 70 ||[http://bridge.net/ Bridge.NET]||Apache License 2.0|| 71 ||[http://jquery.com jQuery]||MIT license|| 72 ||[http://getbootstrap.com Bootstrap]||MIT license|| 73 ||[https://developers.google.com/blockly/ Blockly]||Apache License 2.0|| 74 ||[https://github.com/jeanlazarou/blockly2ruby blockly2ruby]||MIT license|| 75 ||[http://mruby.org/ mruby]||MIT license|| 76 ||[https://ace.c9.io/#nav=about Ace (Ajax.org Cloud9 Editor)]||BSD 3-clause License|| 77 ||[http://xtermjs.org/ xterm.js]||MIT License|| 78 ||[https://www.cs.rit.edu/~ats/projects/lp/doc/jay/package-summary.html jay]||4-clause BSD licensed|| 79 ||[https://github.com/smalruby/smalruby-editor Smalruby]||MIT License|| 80 68 81 === GR-PEACH側アプリ === 82 83 ||[https://www.toppers.jp/asp3-kernel.html TOPPERS/ASP3]||TOPPERS License|| 84 ||[https://developer.mbed.org/platforms/Renesas-GR-PEACH/ mbed]||Apache License 2.0|| 85 ||[https://www.toppers.jp/tinet.html TINET]||TOPPERS License|| 86 ||[http://mruby.org/ mruby]||MIT license|| 87 ||[https://github.com/iij/mruby-io mruby-io]||MIT license|| 88 ||[https://github.com/iij/mruby-pack mruby-pack]||MIT license|| 89 ||[https://github.com/iij/mruby-socket mruby-socket]||MIT license|| 90 ||[https://github.com/iij/mruby-dir mruby-dir]||MIT license|| 91 ||[https://github.com/mattn/mruby-onig-regexp mruby-onig-regexp]||MIT license|| 92 ||[https://github.com/k-takata/Onigmo Onigmo (Oniguruma-mod)]||BSD license|| 93 ||[http://elm-chan.org/fsw/ff/00index_j.html FAT File System Module]||BSDライク|| 94 ||[https://github.com/wakayamarb/wrbb-v2lib-firm Wakayama.rb Ruby Board V2 library]||MIT license|| 95 ||[https://www.cubeatsystems.com/ntshell/index.html Natual Tiny Shell]||MIT license|| 96 ||[http://bellard.org/tcc/ Tiny C Compiler]||LGPL|| 97 ||[https://www.busybox.net/about.html BusyBox(vi)]||GPLv2|| 98 ||[https://github.com/joyent/http-parser http-parser]||MIT license|| 99 ||[https://github.com/nori0428/mod_websocket mod_websocket]||lighttpd LICENCE (revised BSD license)|| 100 ||[https://github.com/adamdunkels/uip uIP]||BSD 3-clause license|| 69 101 70 102 == TCP Socket API ==