1.6.13IDE,直接运行自带的示例都会出现为开发板 Arduino/Genuino Uno 编译时出错。是什么情况,现在彻底没法玩Arduino了。
粘贴错误信息
Arduino:1.6.13 (Windows 10), 开发板:"Arduino/Genuino Uno"
In file included from E:\Arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c:30:0:
e:\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:1529:25: error: unknown type name 'uint_farptr_t'
extern size_t strlen_PF(uint_farptr_t src) __ATTR_CONST__; /* program memory can't change */
^
e:\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:1545:26: error: unknown type name 'uint_farptr_t'
extern size_t strnlen_PF(uint_farptr_t src, size_t len) __ATTR_CONST__; /* program memory can't change */
^
e:\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:1560:36: error: unknown type name 'uint_farptr_t'
extern void *memcpy_PF(void *dest, uint_farptr_t src, size_t len);
^
e:\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:1575:36: error: unknown type name 'uint_farptr_t'
extern char *strcpy_PF(char *dest, uint_farptr_t src);
^
e:\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:1595:37: error: unknown type name 'uint_farptr_t'
extern char *strncpy_PF(char *dest, uint_farptr_t src, size_t len);
^
e:\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:1611:36: error: unknown type name 'uint_farptr_t'
extern char *strcat_PF(char *dest, uint_farptr_t src);
^
e:\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:1632:37: error: unknown type name 'uint_farptr_t'
extern size_t strlcat_PF(char *dst, uint_farptr_t src, size_t siz);
^
e:\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:1649:37: error: unknown type name 'uint_farptr_t'
extern char *strncat_PF(char *dest, uint_farptr_t src, size_t len);
^
e:\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:1665:38: error: unknown type name 'uint_farptr_t'
extern int strcmp_PF(const char *s1, uint_farptr_t s2) __ATTR_PURE__;
^
e:\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:1682:39: error: unknown type name 'uint_farptr_t'
extern int strncmp_PF(const char *s1, uint_farptr_t s2, size_t n) __ATTR_PURE__;
^
e:\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:1698:42: error: unknown type name 'uint_farptr_t'
extern int strcasecmp_PF(const char *s1, uint_farptr_t s2) __ATTR_PURE__;
^
e:\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:1716:43: error: unknown type name 'uint_farptr_t'
extern int strncasecmp_PF(const char *s1, uint_farptr_t s2, size_t n) __ATTR_PURE__;
^
e:\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:1732:40: error: unknown type name 'uint_farptr_t'
extern char *strstr_PF(const char *s1, uint_farptr_t s2);
^
e:\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:1744:37: error: unknown type name 'uint_farptr_t'
extern size_t strlcpy_PF(char *dst, uint_farptr_t src, size_t siz);
^
e:\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:1760:36: error: unknown type name 'uint_farptr_t'
extern int memcmp_PF(const void *, uint_farptr_t, size_t) __ATTR_PURE__;
^
exit status 1
为开发板 Arduino/Genuino Uno 编译时出错。
求助各位大佬指点
|