求教如何写dat或者makefile 来实现keil的编译下载功能

2019-07-20 13:49发布

SET PATH=D:Keil_v5ARMARMCCBin;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:Program Files (x86)Windows Kits8.1Windows Performance Toolkit;C:Program FilesMicrosoft SQL Server110ToolsBinn;D:QtQt5.5.15.5msvc2013_64in;
SET CPU_TYPE=STM32F407ZG
SET CPU_VENDOR=STMicroelectronics
SET UV2_TARGET=LED
SET CPU_CLOCK=0x007A1200
"D:Keil_v5ARMARMCCBinArmCC" --Via "..objmain.__i"
"D:Keil_v5ARMARMCCBinArmCC" --Via "..objstm32f4xx_it.__i"
"D:Keil_v5ARMARMCCBinArmCC" --Via "..objsystem_stm32f4xx.__i"
"D:Keil_v5ARMARMCCBinArmCC" --Via "..objled.__i"
"D:Keil_v5ARMARMCCBinArmCC" --Via "..objdelay.__i"
"D:Keil_v5ARMARMCCBinArmCC" --Via "..objsys.__i"
"D:Keil_v5ARMARMCCBinArmCC" --Via "..objusart.__i"
"D:Keil_v5ARMARMCCBinArmAsm" --Via "..objstartup_stm32f40_41xxx._ia"
"D:Keil_v5ARMARMCCBinArmCC" --Via "..objmisc.__i"
"D:Keil_v5ARMARMCCBinArmCC" --Via "..objstm32f4xx_gpio.__i"
"D:Keil_v5ARMARMCCBinArmCC" --Via "..objstm32f4xx_rcc.__i"
"D:Keil_v5ARMARMCCBinArmCC" --Via "..objstm32f4xx_syscfg.__i"
"D:Keil_v5ARMARMCCBinArmCC" --Via "..objstm32f4xx_usart.__i"
"D:Keil_v5ARMARMCCBinArmAr" --Via "..OBJArInp.Scr"

这是keil自己生成的dat 但我把OBJ里的文件全删了后 运行什么都没有  该如何引入.c .h文件进去

友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。