Skip to content

Missing sam.h file while compiling #6

@thebigcath

Description

@thebigcath

Hi! I operate the Brunel hand through the Arduino Serial monitor interface without problem. However I fail to compile either Beetroot or the MyoWare_Sensor_Test due to a missing file. The error message is copied below.

I tried the following debug steps:
-Tried without sucess to find the missing "sam.h"
-Tried to comment out the line "include sam.h" in the file mentioned in the error message. But then it gives me the same error for another related file

thanks for your help!
Cath

ERROR MESSAGE AFTER TRYING TO COMPILE IN ARDUINO:

Arduino: 1.8.3 (Windows 10), Board: "Chestnut"

In file included from sketch\MyoWare_Sensor_Test_V1.1.ino.cpp:1:0:

C:\Users\Catherine\AppData\Local\Arduino15\packages\openbionics\hardware\samd\1.2.12\cores\arduino/Arduino.h:48:17: fatal error: sam.h: No such file or directory

#include "sam.h"

             ^

compilation terminated.

exit status 1
Error compiling for board Chestnut.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions