错误信息如下:
.\at91sam9260-sdram\at91sam9260-sdram.axf: Error: L6915E: Library reports error: __use_no_semihosting_swi was requested, but _sys_open was referenced
ARM技术支持中心FAQ:
Information in this article applies to:
RealView MDK-ARM version: 3.46 and higher QUESTIONI have updated MDK-ARM to version V3.46 and now when I try to build the Atmel examples I get the linker error:
Error: L6915E: Library reports error: __use_no_semihosting_swi was requested, but _sys_open was referenced
Before the update the Atmel examples compile and link without erros. How can I solve the problem?
ANSWERYou need to add the following definitions to file retarget.c.
struct __FILE { int handle;} ;FILE __stdout;FILE __stdin;FILE __stderr;
Once you added the definitions the linker error should go away.
阅读(8541) | 评论(0) | 转发(0) |