🤖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

    SOFTWARE
    2
    4
    2.9k
    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
      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
        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
          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
            ispybadguys
            last edited by

            Thanks that worked!

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