compile conflict (sensor_t) between CoreS3 camera and Adafruit sensor BNO055
-
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.- Are there any plans to modify the name of this variable in the M5 world to another name?
- Is there any "trick" to allow successful compile without changing the name either here or in the Adafruit libraries?
Many thanks in advance!
-
@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