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

    M5Unified FreeRTOS (ESP-IDF) Application not Compiling

    Scheduled Pinned Locked Moved SOFTWARE
    2 Posts 1 Posters 755 Views
    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.
    • N Offline
      NevynUK
      last edited by

      I am attempting to create a new ESP-IDF application that will use FreeRTOS application (so not Arduino). I am getting build errors and I was wondering if anyone has managed to get this working.

      So I did the following:

      idf.py create-project M5Test
      idf.py set-target esp32p4
      idf.py add-dependency "m5stack/m5unified^0.1.16"
      idf.py build
      

      I see the managed components (M5Unifed and M5GFX) caaded to the managed_components directory as expected.

      However I see build errors in the M5GFX component.

      ESP-IDF: 5.5
      Target platform: Tab5

      Thanks in advance,
      Mark

      N 1 Reply Last reply Reply Quote 0
      • N Offline
        NevynUK @NevynUK
        last edited by

        I finally managed to get an application working with graphics and touch on the Tab5. My solution:

        • Removed any reference to managed components in the idf_component.yml files.
        • Clone the M5Unified and M5GFX repositories and put them in the components directory.
        • Added references to CMakeLists.txt for the added components.

        Application now builds and I have tested the display with the BarGraph anf the TouchTest applications.

        Hope this helps anyone experiencing the same issue.

        Regards,
        Mark

        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