Building configuration: zhidai - Debug Updating build tree... startup.c iccarm.exe D:\work\MP3解码\ME-MP3-Dome1\IAR4.4\src\startup.c -o D:\work\MP3解码\ME-MP3-Dome1\IAR4.4\Debug\Obj\ -z2 --no_cse --no_unroll --no_inline --no_code_motion --no_tbaa --no_clustering --no_scheduling --debug --cpu_mode thumb --endian little --cpu cortex-M3 --stack_align 4 -e --fpu None --dlib_config C:\Program Files\IAR Systems\Embedded Workbench 4.0 Evaluation\arm\LIB\dl7mptnnl8n.h -I C:\Program Files\IAR Systems\ Embedded Workbench 4.0 Evaluation\arm\inc\Luminary\ -I C:\Program Files\IAR Systems\Embedded Workbench 4.0 Evaluation\arm\INC\ IAR ARM ANSI C/C++ Compiler V4.42A/W32 EVALUATION Copyright 1999-2005 IAR Systems. All rights reserved. 82 bytes of CODE memory (+ 20 bytes shared) 240 bytes of CONST memory 1 024 bytes of DATA memory Errors: none Warnings: none Linking xlink.exe C:\Program Files\IAR Systems\Embedded Workbench 4.0 Evaluation\arm\lib\Luminary\CH375MAI.R79 C:\Program Files\IAR Systems\ Embedded Workbench 4.0 Evaluation\arm\lib\Luminary\driverlib.r79 D:\work\MP3解码\ME-MP3-Dome1\IAR4.4\Debug\Obj\main.r79 D:\work\MP3解码\ ME-MP3-Dome1\IAR4.4\Debug\Obj\startup.r79 D:\work\MP3解码\ME-MP3-Dome1\IAR4.4\Debug\Obj\target.r79 -o D:\work\MP3解码\ME-MP3-Dome1\ IAR4.4\Debug\Exe\zhidai.d79 -l D:\work\MP3解码\ME-MP3-Dome1\IAR4.4\Debug\List\zhidai.map -xms -IC:\Program Files\IAR Systems\Embedded Workbench 4.0 Evaluation\arm\LIB\ -ID:\work\MP3解码\ME-MP3-Dome1\IAR4.4\src\ -f c:\Program Files\IAR Systems\Embedded Workbench 4.0 Evaluation\arm\config\lnk_LM3.xcl -rt C:\Program Files\IAR Systems\Embedded Workbench 4.0 Evaluation\arm\LIB\dl7mptnnl8n.r79 -Osimple-code=D:\ work\MP3解码\ME-MP3-Dome1\IAR4.4\Debug\Exe\zhidai.sim -s ResetISR -e__write_buffered=__write IAR Universal Linker V4.60I/386 Copyright 1987-2007 IAR Systems. All rights reserved. Error[e46]: Undefined external "xWriteCH375Cmd" referred in CH375MAI ( C:\Program Files\IAR Systems\Embedded Workbench 4.0 Evaluation\arm\lib\ Luminary\CH375MAI.R79 ) Error[e46]: Undefined external "xWriteCH375Data" referred in CH375MAI ( C:\Program Files\IAR Systems\Embedded Workbench 4.0 Evaluation\arm\lib\ Luminary\CH375MAI.R79 ) Error[e46]: Undefined external "xReadCH375Data" referred in CH375MAI ( C:\Program Files\IAR Systems\Embedded Workbench 4.0 Evaluation\arm\lib\ Luminary\CH375MAI.R79 ) Error[e46]: Undefined external "xReadCH375Cmd" referred in main ( D:\work\MP3解码\ME-MP3-Dome1\IAR4.4\Debug\Obj\main.r79 ) 5 714 bytes of CODE memory 1 140 bytes of DATA memory 24 bytes of CONST memory Errors: 4 Warnings: none Total number of errors: 4 Total number of warnings: 0
///////////////////////////////////////////////////////////////////// #include "CH375HFU.H" #include #include #include #include #include "LM3S-UART0.H" #include "systick.h" #include "target.H" int main ( void ) { char i; if ( CH375DiskReady( ) == ERR_SUCCESS ) i=i*5; CH375FileOpen( ); while(1); }
//////////////////////////////////////////// 随便调用了几个库里面的函数测试的。