🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    質問:M5Stackライブラリをアップデートできません

    Scheduled Pinned Locked Moved 日本語フォーラム
    2 Posts 2 Posters 5.2k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      TsuKaP0n
      last edited by

      初めまして。Arduinoのプログラムを何本か書いたことのある程度の初心者です。
      先日までArduino IDE ver2.1.x を使って順調にM5Stack basicやAtomに書き込んでいました。
      使用しているPCのOSがクラッシュしてしまったのでWindows11の再インストールからやり直し、Arduino IDE ver2.2.0 をインストール、ボードマネージャも入れて、M5Stackライブラリ0.4.5をインストールしようとしたところ、エラーがでて失敗します。
      0.3.2までバージョンを落とすと何とかインストールできます。
      M5Familyなど他のライブラリは全く支障なくインストールできます。
      試しにIDEをアンインストール、隠しフォルダを含めてわかる範囲でArduino関連ファイルを削除し再インストールしても状況が変わりません。
      何かヒントをお持ちの方がいらっしゃったらご教示いただけますとありがたいです。どうぞよろしくお願いいたします。

      OS: Windows11 22H2
      ArduinoIDEのバージョン: 2.2.0
      ボード(esp32やM5Stack)のバージョン : M5stack by M5stack 2.0.7
      使用しているライブラリのバージョン:  動かせる最大が0.3.2
      0.4.5をインストールする際のエラーメッセージ: Failed to install library: 'M5Stack:0.4.5'. No valid dependencies solution found: dependency 'MODULE_GRBL13.2' is not available
      (ライブラリのバージョンごとにnot availableなものの名称が変わります)

      申し訳ありません、3日ほど電波の届かない山中に出張しますので、リプライが遅くなります。

      1 Reply Last reply Reply Quote 0
      • T Offline
        takurx
        last edited by

        私もそのエラーがでました。
        下記のmaze2904さんの方法で解決しました。

        M5Stack Basic V2.7: can't install library M5Stack | M5Stack Community
        https://community.m5stack.com/topic/5642/m5stack-basic-v2-7-can-t-install-library-m5stack/5
        M5Stack Library won't install on Arduino IDE · Issue #314 · m5stack/M5Stack
        https://github.com/m5stack/M5Stack/issues/314

        The package's name "MODULE_GRBL13.2" in library.properties should be "MODULE_GRBL_13.2" (underline instead of space before 13.2).

        So

        1. download M5Stack
        2. unzip it
        3. edit file "library.properties", line to "depends=M5Family,M5Module-4Relay,MODULE_GRBL_13.2,M5_BMM150"
        4. zip it and install zipped library
        5. restart IDE
        6. update now performed flawless

        m5stack/M5Stack: M5Stack Arduino Library
        https://github.com/m5stack/M5Stack
        からzipファイルをダウンロードして
        解凍して
        library.propertiesを
        "MODULE_GRBL13.2" から "MODULE_GRBL_13.2"
        に書き換えて
        再度ZIP圧縮して
        Arduino IDEで
        sketch > Include Library > add .ZIP Library...
        からそのzipファイルを追加して
        Arduino IDEを再起動したところ、解決しました。

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post