How to Add Arduino Libraries Path in Cursor

Hi everyone,

I’m currently upgrading an Arduino project I worked on last year, and I’m using Cursor for the first time. I’m encountering some issues with missing libraries, and I could use some help.

I’m seeing errors because the #include directives are not finding the necessary libraries. For example:

#include <SPI.h>
#include <Ethernet.h>

Is there a way to point Cursor to the Arduino IDE libraries folder on my Mac? Specifically, I need it to recognize the libraries located in:

/Users/thomasfraley/Documents/Arduino/libraries

Any guidance on how to configure Cursor to include this path would be greatly appreciated!

Thanks in advance!