Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. jrs
    J
    • Continue chat with jrs
    • Start new chat with jrs
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    jrs

    @jrs

    1
    Reputation
    7
    Posts
    1543
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    jrs Follow

    Posts made by jrs

    • RE: M5stack programming without Arduino IDE : how ?

      @jimit
      I am running Mac OS

      In my setup the M5Stack-IDF is in esp-idf.

      I achieved to run esp-idf hello-world example on the M5Stack but I need to use M5 specific functions, hence the need for M5Stack.h I guess

      The content of hello_world is (sorry indentation is not kept by this site FAQ engine):

      build/
      components/
      arduino/
      appveyor.yml
      boards.txt
      component.mk
      cores/
      docs/
      Kconfig
      libraries/
      Makefile.projbuild
      package/
      package.json
      platform.txt
      programmers.txt
      README.md
      tools/
      variants/
      main
      component.mk
      hello_world_main.c
      Makefile
      README.md
      sdkconfig
      sdkconfig.old

      I'll keep on tomorrow

      posted in FAQS
      J
      jrs
    • RE: M5stack programming without Arduino IDE : how ?

      @jimit
      Hi,

      Now, make menuconfig has Arduino options.
      I had followed
      https://github.com/m5stack/M5Stack-IDF
      which lacks some parts of
      https://github.com/m5stack/M5Stack/blob/master/docs/esp-idf_component.md

      But now, when trying to use M5.xxx functions, the #include <M5Stack.h> yields in a missing M5Stack.h message.

      I keep searching to solve the issues

      posted in FAQS
      J
      jrs
    • RE: M5stack programming without Arduino IDE : how ?

      @jimit
      Hi,
      I have re-installed esp-idf and compiling a project for the WRover kit works nicely, as always.
      Next, I have cloned M5Stack-IDF but it is not clear in my minds where the directory should go. Should individual components be copied into esp-idf's own components directory ?

      As per the M5Stack documentation (https://github.com/m5stack/M5Stack-IDF), make menuconfig should have some Arduino option ... but I don't see any
      All other compilation issues could stem from this initial installation/configuration mistakes on my side.

      Any idea ?

      TIA for your help !

      posted in FAQS
      J
      jrs
    • RE: M5stack programming without Arduino IDE : how ?

      @jimit
      Yes, the install was done with git cloning
      I'll try again tomorrow to better trace the errors
      Thanks for your hints so far, I value your help

      posted in FAQS
      J
      jrs
    • RE: M5stack programming without Arduino IDE : how ?

      @all, sorry for not mentioning my goal : to code in C/C++ with ESP-IDF framework

      @jimit
      Thank you for your message.
      Indeed, I have already written SW fo ESP32 (WRover kit) with ESP-IDF and I would like to do the same with M5stack.
      Yes, I have read the following help : https://github.com/m5stack/M5Stack/blob/master/docs/esp-idf_component.md
      but at compile time, some librairis are reported as missing.

      Did you succeed in this same endeavor ?

      Rgds

      posted in FAQS
      J
      jrs
    • M5stack programming without Arduino IDE : how ?

      Hi all,

      I am lost and I cannot find out how to do.
      I have read the short help on this subject but I seem to miss something

      Your help will be appreciated, TIA

      posted in FAQS
      J
      jrs
    • Missing step

      Hi all,

      I hope my issue is not resolved anywhere in this forum. I don't think so ...

      My goal is to be able to use M5stack exactly as I use the ESP-WRover-kit.

      I cannot figure how to develop without Arduino, I mean only with make and esp-idf.
      I acheieved to git clone M5stack component but :

      1. I don't know where the M5stack-IDF directory should be located
      2. When I issue the make menuconfig command, I cannot see any Arduino option with which to select for instance the "Disable mutex locks for HAL"

      I may have missed a step but I cannot find which one nor any more helpful hint.

      Thanks in advance for any helps

      posted in FAQS
      J
      jrs