After some time from my last time playing around with Arduinos, I got back to it, but when trying to upload the compiled code to my Arduino Nano, I got this error:

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xa7

I wasn’t sure what this was all about as I had the correct COM Port selected and the correct board.

Solution: In my case, the fix was really easy. All I had to do was:

Now I can compile and upload code to this specific Arduino Nano without any issues.

Hope this helps!