Navigation

    M5Stack Community

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

    mikesyr

    @mikesyr

    0
    Reputation
    5
    Posts
    157
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    mikesyr Follow

    Posts made by mikesyr

    • Sd2PinMap.h:524:2: error: #error Architecture or board not supported

      Re: sd2pinmap error when compil ?

      I have two Arduino installations - one on a laptop and one on a desktop. Both in a Fedora environement.

      The desktop complies example code and uploads it fine to the M5Stack Core 2, but the laptop generates that error.

      What's the cause?

      posted in Arduino
      M
      mikesyr
    • Having almost no luck working with the M5Stack Core2 in Fedora Linux

      Pardon me for the "needy" question - I'm out of ideas.

      I am able to connect/load/run simple c code using Arduino IDE.
      I can find the device as /dev/ttyACM0
      I can connect with screen /dev/ttyACM0 115200 and run short Python commands.

      However, I cannot get the UIFlow GUI (offline or online), or Visual Studio Code (with micropython extension) to ever find the device. I get tossed errors on the PC like "Upload code failed, maybe your device is offline" etc. Or the type shown on the M5 reported in https://community.m5stack.com/topic/4904/m5stack-programming-with-visual-studio-code-in-linux .
      I tried WiFi connectivity to no avail - I get to the part where I enter the 192.168.4.1 IP address in the browser, I enter my home WiFI Password and it fails.

      I've tried numerous "getting started" videos, but they either don't cover the Core 2, or they don't cover Linux and otherwise just don't help.

      My preferred development environment is VSC, USB connected, micropython (maybe c).

      Any help would be appreciated.

      posted in Core 2
      M
      mikesyr
    • RE: M5Stack programming with Visual Studio Code in Linux

      My code consists of a single line:

      print("Hello m5")

      Are you suggesting clicking "Run in M5Stack" with that code would cause my trouble?

      posted in Core 2
      M
      mikesyr
    • M5Stack programming with Visual Studio Code in Linux

      I'm trying to use Visual Studio Code with an M5Stack Core 2, in Fedora Linux.
      VSC and Fedora are fully updated/restarted/etc.

      After an initial issue getting the "Add M5Stack" to appear (see https://community.m5stack.com/topic/2993/core2-with-visual-studio-code ) I can connect through VSC (as /dev/ttyACM0). I can "reset" the device using VSC. However, after creating a simple py program - print("Hello m5") - and I click the solid right-arrow at the top right of VSC, that's labeled "Run in M5Stack", I get the following error:
      "Cannot read properties of undefined (reading 'sendCommand') "

      After resetting the M5, I get a screen telling me to download UIFLow

      0_1671243772572_Screenshot from 2022-12-16 21-22-14.png

      I've done that, but it keeps asking me to. Perhaps installed incorrectly?

      Any help appreciated.

      -Mike

      posted in Core 2
      M
      mikesyr
    • RE: Core2 with Visual Studio Code

      @kiwilogan I found that updating VSC and uninstalling and re-installing the M5Stack extension made that magic "Add M5Stack" button appear.

      posted in Core 2
      M
      mikesyr