Navigation

    M5Stack Community

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

    wtakuo

    @wtakuo

    2
    Reputation
    6
    Posts
    1528
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online
    Location Yokohama, Japan

    wtakuo Follow

    Posts made by wtakuo

    • RE: M5Stack website is broken on Safari

      Thank you. A member in Japanese Facebook community gave me a nice advice; Simply zooming out the Safari window (command-minus) resolved the situation. The website seems to switch mobile and desktop views using the window resolution of the browser (instead of user-agent).

      posted in General
      wtakuo
    • M5Stack website is broken on Safari

      Hello,
      The current M5Stack website looks broken in Safari (version 12.1, macOS 10.14.4). The site looks like a mobile site and its menu doesn't work. Clearing of the browser cache and the removing of browser extensions do not help. I have no problems on Chrome and Firefox (so I can post this message). But I'd like to use Safari as much as I can...

      posted in General
      wtakuo
    • RE: M5stack programming without Arduino IDE : how ?

      Now my PR has just been incorporated into the latest commit of M5Stack. So I removed patch.txt.

      In addition, to tidy up the repository of my fixed M5Stack-IDF, I moved my modifications to components_patch branch. So main branch no longer contains the fix now. If you'd like to try my fixed version of M5Stack-IDF, please do like the following commands.

      git clone --recursive -b components_patch https://github.com/wtakuo/M5Stack-IDF.git
      

      Sorry for inconvenience due to the changes.

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

      I fixed my patch in https://github.com/wtakuo/M5Stack-IDF.

      The path variables in component.mk should look like the following.

      COMPONENT_SRCDIRS := src src/utility src/Fonts
      COMPONENT_ADD_INCLUDEDIRS := src
      

      As shown in the above code, I added src/Fonts to COMPONENT_SRCDIRS and removed unnecessary "." (current directory) from both paths. Header files in the subdirectories are specified using relative paths from src. So we don't need to add these subdirectories to COMPONENT_ADD_INCLUDEDIRS.

      Anyway, I sent pull request regarding this fix. If my PR is accepted, the patch file in https://github.com/wtakuo/M5Stack-IDF will be unnecessary.

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

      My forked and updated version (implementing the setup in my previous post) of M5Stack-IDF template project is available: https://github.com/wtakuo/M5Stack-IDF

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

      Hello.
      I started to use M5Stack a month ago. I tried several simple projects using Arduino IDE. Before moving to ESP-IDF based development, I tried a trivial (hello world) project to test my settings.

      Unfortunately, current https://github.com/m5stack/M5Stack-IDF looks outdated and incomplete. So I use https://github.com/m5stack/M5Stack as an IDF component as well as https://github.com/espressif/arduino-esp32 .

      The project directory looks like the following.

      Makefile
      sdkconfig
      components/
          arduino/            (recursive clone of https://github.com/espressif/arduino-esp32, idf-update branch)
          M5Stack/            (clone of https://github.com/m5stack/M5Stack)
              component.mk    (should be modified. See below)
              ...
      main/
          component.mk
          main.cpp            (copy of components/M5Stack/examples/Basics/Hello/Hello.ino)
      

      The only tweak I did is the addition of src/utlitity to the end of these path variables in components/M5Stack/component.mk.

      COMPONENT_SRCDIRS := . src src/utility
      COMPONENT_ADD_INCLUDEDIRS := . src src/utility
      

      Without this modification, make cannot correctly find the source codes and headers under src/utility.

      The above setup looks OK and works for other projects.
      My questions are:
      * Is this a correct setup for ESP-IDF projects? (Is there any better one?)
      * Is there any way to avoid the modification of components/M5Stack/component.mk?

      Thank you for attention.

      posted in FAQS
      wtakuo