I am trying to use a BARTH STG-850 connected with an ST-LINK V2, with Arduino as the IDE, but when I try to compile any code, I get the following error:
fatal error: variant.h: No such file or directory
The IDE also does not seem to be able to find the BARTH board when it is connected and powered, although the computer can tell there is something in the port and the light on the ST-Link is on.
I tried following the instructions on two different computers (one Ubuntu the other Windows), but I don’t think the error is related to how the software is downloaded.
I was previously having a problem where the stm32f0xx_hal_conf.h file was missing, but I just copy pasted it into the directory, and now it says it is missing “variant.h”
I’m currently just trying to get it to connect and get Blink to run.
ToffeeCat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.