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

    Visual Code and M5StamPLC

    Arduino
    2
    3
    153
    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.
    • G
      GermanSheepDog
      last edited by

      Hello,

      what does the correct entry for Visual Code look like in platformio.ini?
      The suggested entries from the AI ​​look like this:

      [env:m5stamplc]
      platform = espressif32
      board = m5stack-stamplc
      framework = arduino
      lib_deps = m5stack/M5StamPLC@^0.0.1
      

      The AI's suggestion is flawed because no "m5stack-stack" board can be loaded:

      Resolving m5stamplc dependencies...
      UnknownBoard: Unknown board ID 'm5stack-stamplc'
      
      felmueF 1 Reply Last reply Reply Quote 0
      • felmueF
        felmue @GermanSheepDog
        last edited by

        Hello @GermanSheepDog

        have you tried the info from the M5StamPLC documents page?

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        G 1 Reply Last reply Reply Quote 0
        • G
          GermanSheepDog @felmue
          last edited by GermanSheepDog

          Hello @felmue,

          yes, I did, but I didn't see this part:

          [env:m5stack-stamp-s3]
          platform = espressif32
          board = esp32-s3-devkitc-1
          framework = arduino
          upload_speed = 1500000
          build_flags =
              -DESP32S3
              -DCORE_DEBUG_LEVEL=5
              -DARDUINO_USB_CDC_ON_BOOT=1
              -DARDUINO_USB_MODE=1
          lib_deps =
              M5StamPLC=https://github.com/m5stack/M5StamPLC
              M5Unified=https://github.com/m5stack/M5Unified
          

          Thanks, I will try it.

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