How to encounter this error
Hi.
You have to include the file boards.h in your project, read here about that.
Best regards,
Andreas