标签:style os ar strong 文件 sp on ef size
MDK编译at91sam9261-ek的basic-fatfs-project,出现错误:
.\at91sam9261-sdram\at91sam9261-sdram.axf: Error: L6915E: Library reports error: __use_no_semihosting_swi was requested, but _sys_open was referenced
解决办法:
在retarget.c文件中,做如下定义:
struct __FILE { int handle;} ; FILE __stdout; FILE __stdin; FILE __stderr;
重新编译即可。
标签:style os ar strong 文件 sp on ef size
原文地址:http://www.cnblogs.com/rtos/p/4020567.html