Arduino library conflict. How to resolve?



  • First run of the M5-Core2 and Arduino is trying to load its own SD library over the M5 library. Any ideas how to fix? I con't believe I'm the only one getting this issue.

    This is the error:
    Multiple libraries were found for "SD.h"
    Used: /Applications/Arduino.app/Contents/Java/libraries/SD
    Not used: /Users/andrewh/Library/Arduino15/packages/m5stack/hardware/esp32/1.0.7/libraries/SD

    How do I force it to use the right library?