Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

raspi, raspi-i2cモジュールへの依存を取り除きi2c-busモジュールを直接用いる #82

Merged
merged 7 commits into from
Oct 2, 2019

Conversation

kou029w
Copy link
Contributor

@kou029w kou029w commented Oct 2, 2019

目的: Raspbian (32bit) 環境以外のARMボードの環境のサポート

変更内容:

  • jetson-nano環境(aarch64)ではraspi-i2cを利用できないため削除 2bcbc68
  • バージョンはpackage.jsonにあるので不要 07d662f
  • format with prettier 6f2eb4a
  • use Date.prototype.toLocaleString bc4cc6b
  • i2c-bus対応 53eea49
  • update dependences 2a2cc6a
  • increment major version dd45fbf

確認した内容:

Jetson Nano Developer Kitにて以下の項目を確認

  • npm i && node srv.js を実行できること
  • 証明書のインストール
  • chromium-browserから対応するポート番号のGPIOを使えること
    • ピンアサインがRasPiと異なるためサンプルコードは適宜書き換えなければ想定外の挙動があると考える
  • chromium-browserから対応するポート番号のI2Cを使えること
    • ピンアサインとデバイスファイルはRasPiと同じ (/dev/i2c-1) に接続可能
    • 接続後、RasPiのものと同じいくつかのI2Cのサンプルコードが動作することを確認

環境:

  • Jetson Nano Developer Kit JP 4.2.22019/08/26
    • md5sum: 130ece72ef18c7627ba645e94be2e0b5

@kou029w kou029w merged commit 248667f into master Oct 2, 2019
@kou029w kou029w deleted the jetson-nano branch October 2, 2019 10:13
@kou029w
Copy link
Contributor Author

kou029w commented Oct 2, 2019

ref. #65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant