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

    'USBSerial' was not declared in this scope

    Scheduled Pinned Locked Moved SOFTWARE
    4 Posts 2 Posters 4.7k Views
    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.
    • I Offline
      ispybadguys
      last edited by

      I am compiling a project that was hosted on the CORE device on the AtomS3 and I am getting this error

      In member function 'void M5AtomS3::begin(bool, bool, bool, bool)': 'USBSerial' was not declared in this scope.

      Thanks

      Kurt

      1 Reply Last reply Reply Quote 0
      • I Offline
        ispybadguys
        last edited by

        Created a new sketch directory and added libraries one by one and as soon it makes it to the linker it has this same error.

        teastainT 1 Reply Last reply Reply Quote 0
        • teastainT Offline
          teastain @ispybadguys
          last edited by teastain

          @ispybadguys if this is Arduino IDE then maybe try and set the tool config to
          0_1700698550459_Screenshot 2023-11-22 at 7.15.41 PM.png
          USB CDC on boot "disabled".
          -Terry

          Cheers, Terry!

          100% M5Stack addict with several drawers full of product!

          1 Reply Last reply Reply Quote 0
          • I Offline
            ispybadguys
            last edited by

            Thanks that worked!

            1 Reply Last reply Reply Quote 1

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post