I got a new computer recently so I had to reinstall Arduino and my various third party board packages and libraries.
One of the packages is my own version of a third party board package that I have made some changes to (new board variant files mostly). Its based on the MattairTech SAM D|L|C Core which in turn is a fork of the Arduino SAMD distribution.
I have made sure that the Arduino SAMD package is installed, and I have my own board package in the sketchbook/hardware directory as normal, but whenever I try and compile I get the message:
fatal error: sam.h: No such file or directory
50 | #include "sam.h"
I thought that maybe I need to install the MattairTech board distribution, but the website that hosts the json file no longer exists so I can’t install that package any more with the board manager. The actual source is still on GitHub, but simply copying it into the local Hardware directory doesn’t fix the problem, and its also there if I compile using that board distribution in my hardware directory
Does anyone have any idea how to fix this?