在官网上下载了kl25_sc_rev10,路径如下:F:\MKL25\kl25_sc_rev10。
用IAR6.70.1.5794工具,打开FRDM_KL25ZDemo.eww工程,Rebuild All时提示以下错误,请大家帮我看看,谢谢。
Fatal Error[Pe1696]: cannot open source file "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\src\common\alloc.c"
Error while running C/C++ Compiler
angle_cal.c
Fatal Error[Pe1696]: cannot open source file "common.h" F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\src\projects\FRDM_KL25ZDemo\angle_calculation\angle_cal.c 9
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\src\projects\FRDM_KL25ZDemo\angle_calculation\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\..\..\src\projects\FRDM_KL25ZDemo\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\..\..\src\projects\FRDM_KL25ZDemo\usb\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\..\..\src\projects\FRDM_KL25ZDemo\bsp\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\..\..\src\projects\FRDM_KL25ZDemo\freedom_gpio\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\..\..\src\projects\FRDM_KL25ZDemo\pit\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\..\..\src\projects\FRDM_KL25ZDemo\tsi\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\..\..\src\projects\FRDM_KL25ZDemo\task_mgr\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\..\..\src\projects\FRDM_KL25ZDemo\angle_calculation\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\..\..\src\projects\FRDM_KL25ZDemo\i2c\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\..\..\src\common\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\..\..\src\cpu\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\..\..\src\cpu\headers\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\..\..\src\drivers\llwu\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\..\..\src\drivers\lptmr\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\..\..\src\drivers\mcg\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\..\..\src\drivers\pmc\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\..\..\src\drivers\rcm\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\..\..\src\drivers\rtc\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\..\..\src\drivers\smc\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\..\..\src\drivers\uart\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\..\..\src\drivers\wdog\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\..\..\src\drivers\lpsci\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\..\..\src\drivers\sci\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\..\..\src\platforms\"
searched: "F:\MKL25\kl25_sc_rev10\klxx-sc-baremetal\build\iar\FRDM_KL25ZDemo\..\"
searched: "C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.5\arm\inc\"
searched: "C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.5\arm\inc\c\"
看Linker的配置是这样的:
$PROJ_DIR$\..\..\..\src\projects\FRDM_KL25ZDemo
$PROJ_DIR$\..\..\..\src\projects\FRDM_KL25ZDemo\usb
$PROJ_DIR$\..\..\..\src\projects\FRDM_KL25ZDemo\bsp
$PROJ_DIR$\..\..\..\src\projects\FRDM_KL25ZDemo\freedom_gpio
$PROJ_DIR$\..\..\..\src\projects\FRDM_KL25ZDemo\pit
$PROJ_DIR$\..\..\..\src\projects\FRDM_KL25ZDemo\tsi
$PROJ_DIR$\..\..\..\src\projects\FRDM_KL25ZDemo\task_mgr
$PROJ_DIR$\..\..\..\src\projects\FRDM_KL25ZDemo\angle_calculation
$PROJ_DIR$\..\..\..\src\projects\FRDM_KL25ZDemo\i2c
$PROJ_DIR$\..\..\..\src\common
$PROJ_DIR$\..\..\..\src\cpu
$PROJ_DIR$\..\..\..\src\cpu\headers
$PROJ_DIR$\..\..\..\src\drivers\llwu
$PROJ_DIR$\..\..\..\src\drivers\lptmr
$PROJ_DIR$\..\..\..\src\drivers\mcg
$PROJ_DIR$\..\..\..\src\drivers\pmc
$PROJ_DIR$\..\..\..\src\drivers\rcm
$PROJ_DIR$\..\..\..\src\drivers\rtc
$PROJ_DIR$\..\..\..\src\drivers\smc
$PROJ_DIR$\..\..\..\src\drivers\uart
$PROJ_DIR$\..\..\..\src\drivers\wdog
$PROJ_DIR$\..\..\..\src\drivers\lpsci
$PROJ_DIR$\..\..\..\src\drivers\sci
$PROJ_DIR$\..\..\..\src\platforms
$PROJ_DIR$\..\
|