diff --git a/hardware/sam/cores/sam/Arduino.h b/hardware/sam/cores/sam/Arduino.h
index f345e0c97..15e8709ab 100644
--- a/hardware/sam/cores/sam/Arduino.h
+++ b/hardware/sam/cores/sam/Arduino.h
@@ -165,6 +165,8 @@ typedef struct _PinDescription
EAnalogChannel dwAnalogChannel ;
} PinDescription ;
+extern const PinDescription APinDescription[] ;
+
#include "pins_arduino.h"
#endif // Arduino_h
diff --git a/hardware/sam/cores/sam/build_iar/libarduino.ewp b/hardware/sam/cores/sam/build_iar/libarduino.ewp
index f5a85e920..b2a92e62f 100644
--- a/hardware/sam/cores/sam/build_iar/libarduino.ewp
+++ b/hardware/sam/cores/sam/build_iar/libarduino.ewp
@@ -87,7 +87,7 @@