This issue has something to do with the pins_arduino.h file.
The attached file is for the Goldilock-20. If I substitute this into the bobuino variant folder then the sketch compiles with no problem.
Obviously this pins file can not be used for the Bobuino but it gives a good clue as far as what this issue is.
Any attention to this issue is appreciated.
pins_arduino.h (5.64 KB)