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

    Using native idf instead of arduino

    General
    6
    15
    27.3k
    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.
    • R
      rob.biernat
      last edited by

      Idf works fine with m5 stack for everything on the esp32 chip.

      The issue is some bright spark assumed everyone uses arduino

      T 1 Reply Last reply Reply Quote 1
      • lukasmaximusL
        lukasmaximus
        last edited by

        I would love to use esp-idf and start to make some tutorial videos on it, but every time I try to set up the development environment no matter which guide i'm following or which OS i'm on, I always seem to hit a brick wall.

        R 1 Reply Last reply Reply Quote 0
        • T
          Thrasher @rob.biernat
          last edited by

          @rob-biernat

          @rob-biernat said in Using native idf instead of arduino:

          Idf works fine with m5 stack for everything on the esp32 chip.

          The issue is some bright spark assumed everyone uses arduino

          Thats mostly because most of us came from Atmega / arduino boards, we are common with it, so why not using it?
          I'm trying to stick with UIFlow / VS Code but its definetly easier to implent most of stuff with 100 years old arduino IDE.

          However, I will give idf ide a try, hopefully I can make it run, Im bit worried Ill burn m5stack's bootloader (still unsure how its realized here)

          R 1 Reply Last reply Reply Quote 0
          • R
            rob.biernat @lukasmaximus
            last edited by

            @lukasmaximus i just cloned their gig repo ran a script and away we went

            1 Reply Last reply Reply Quote -1
            • R
              rob.biernat @Thrasher
              last edited by

              @thrasher yeah i understand the background but 90 percent of the code should have been idf with a 10 percent layer for Arduino

              1 Reply Last reply Reply Quote 1
              • lukasmaximusL
                lukasmaximus
                last edited by

                gig repo? I followed the official esp-idf guide and got as far as it recognizing the xtensa toolchain, but then when I try to make I always get errors and googling those errors hasn't got me anywhere

                ajb2k3A 1 Reply Last reply Reply Quote 0
                • ajb2k3A
                  ajb2k3 @lukasmaximus
                  last edited by

                  @lukasmaximus said in Using native idf instead of arduino:

                  gig repo? I followed the official esp-idf guide and got as far as it recognizing the xtensa toolchain, but then when I try to make I always get errors and googling those errors hasn't got me anywhere

                  Same with me

                  UIFlow, so easy an adult can learn it!
                  If I don't know it, be patient!
                  I've ether not learned it or am too drunk to remember it!
                  Author of the WIP UIFlow Handbook!
                  M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                  1 Reply Last reply Reply Quote 0
                  • R
                    rob.biernat
                    last edited by

                    Im using idf 4.1 whereas you guys are probrably on the older stuff which was crap.

                    Its cmake based now. Python self installers etc.

                    Anyway I have recompiled arduino as an idf component and got a couple of errors in some libraries but am working through it.

                    I also converted m5 to an idf lib and most of that compiles to apart from the dependecy on arduino SD lib.

                    1 Reply Last reply Reply Quote 0
                    • lukasmaximusL
                      lukasmaximus
                      last edited by

                      Any links would be much appreciated, I really want to get stuck in with idf development. I wasn't aware there were any python installer scripts, please enlighten me. I was almost considering an idf docker image I read about.

                      1 Reply Last reply Reply Quote 0
                      • F
                        funghy
                        last edited by

                        I started from https://github.com/m5stack/esp-adf.git

                        1 Reply Last reply Reply Quote 0
                        • o.coplestonO
                          o.copleston
                          last edited by

                          Hi guys, I came across this thread while trying to fix some M5StickC issues and thought I could chime in with some useful info. You can use Arduino as an ESP-IDF component however, it currently only works up to v3.2.3 of ESP-IDF.

                          If you install v3.2.3 you can then use Arduino as a component from this repo here.

                          Hope this helps.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post