我用 Keil-MDK 搭建好了一个工程,在Built的时候发现很多C文件被多次的编译,虽然最终没有产生错误,但是感觉应该是我代码或者软件设置的问题。请高手指教!Build target 'nrf51822_xxaa (256K)'
Clean started - Project: 'spi_master_example'
deleting intermediate output files for target 'nrf51822_xxaa (256K)'
assembling arm_startup_nrf51.s...
compiling system_nrf51.c...
compiling FAT.c...
SDcard_driver\FAT.h(154): warning: #1-D: last line of file ends without a newline
SDcard_driver\SDcard_driver.h(425): warning: #1-D: last line of file ends without a newline
compiling SDcard_driver.c...
SDcard_driver\SDcard_driver.h(425): warning: #1-D: last line of file ends without a newline
compiling main.c...
.\SDcard_driver\SDcard_driver.h(425): warning: #1-D: last line of file ends without a newline
.\SDcard_driver\FAT.h(154): warning: #1-D: last line of file ends without a newline
compiling nrf51_spi.c...
compiling simple_uart.c...
compiling nrf_delay.c...
linking...
Program Size: Code=4692 RO-data=208 RW-data=1728 ZI-data=3232
".\_build\spi_master_example_arm.axf" - 0 Errors, 5 Warning(s).
*** Performing Cross-Module-Optimization:
compiling system_nrf51.c...
compiling FAT.c...
SDcard_driver\FAT.h(154): warning: #1-D: last line of file ends without a newline
SDcard_driver\SDcard_driver.h(425): warning: #1-D: last line of file ends without a newline
compiling SDcard_driver.c...
SDcard_driver\SDcard_driver.h(425): warning: #1-D: last line of file ends without a newline
compiling main.c...
.\SDcard_driver\SDcard_driver.h(425): warning: #1-D: last line of file ends without a newline
.\SDcard_driver\FAT.h(154): warning: #1-D: last line of file ends without a newline
compiling nrf51_spi.c...
compiling simple_uart.c...
compiling nrf_delay.c...
linking...
Program Size: Code=4296 RO-data=208 RW-data=1728 ZI-data=3232
compiling system_nrf51.c...
compiling FAT.c...
SDcard_driver\FAT.h(154): warning: #1-D: last line of file ends without a newline
SDcard_driver\SDcard_driver.h(425): warning: #1-D: last line of file ends without a newline
compiling SDcard_driver.c...
SDcard_driver\SDcard_driver.h(425): warning: #1-D: last line of file ends without a newline
compiling main.c...
.\SDcard_driver\SDcard_driver.h(425): warning: #1-D: last line of file ends without a newline
.\SDcard_driver\FAT.h(154): warning: #1-D: last line of file ends without a newline
compiling nrf51_spi.c...
compiling simple_uart.c...
compiling nrf_delay.c...
linking...
Program Size: Code=4296 RO-data=208 RW-data=1728 ZI-data=3232
FromELF: creating hex file...
".\_build\spi_master_example_arm.axf" - 0 Errors, 5 Warning(s).
*** Completed Cross-Module-Optimization after 3 iteration(s).
|