🤖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

    SOFTWARE
    1
    2
    60
    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
      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
        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
        • First post
          Last post