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

    compile conflict (sensor_t) between CoreS3 camera and Adafruit sensor BNO055

    Arduino
    1
    2
    597
    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.
    • B
      bmeyer29
      last edited by

      I have a project that works fine with an ESP8266, and am attempting to move it to a CoreS3. Apparently,
      both Adafruit and the ESP cam module use a variable called sensor_t.

      1. Are there any plans to modify the name of this variable in the M5 world to another name?
      2. Is there any "trick" to allow successful compile without changing the name either here or in the Adafruit libraries?
        Many thanks in advance!
      B 1 Reply Last reply Reply Quote 0
      • B
        bmeyer29 @bmeyer29
        last edited by

        @bmeyer29 Didn't get a response to my questions, so proceeded to make changes to coreS3 camera file. Changed sensor_t to cam_sensor_t in files esp_camera.h and sensor.h. These are buried waaaay down in
        C:\Users<me>\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\tools\sdk\esp32s3\include\esp32-camera\driver\include

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