X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/f670bdeff83ee519b67c661cbe794d787c2a5403..a36012fc4b057dc1fe96f75a005cd8ba017a6a71:/LUFA/CodeTemplates/makefile_template.uc3 diff --git a/LUFA/CodeTemplates/makefile_template.uc3 b/LUFA/CodeTemplates/makefile_template.uc3 index e56cb324a..645f6c288 100644 --- a/LUFA/CodeTemplates/makefile_template.uc3 +++ b/LUFA/CodeTemplates/makefile_template.uc3 @@ -68,12 +68,9 @@ BOARD = ### INSERT NAME OF BOARD HERE, OR NONE IF NO BOARD DRIVERS USED ### F_CPU = ### INSERT PRESCALED SYSTEM CLOCK SPEED HERE, IN HZ ### -# Input clock frequency. +# USB controller master clock frequency. # This will define a symbol, F_USB, in all source code files equal to the -# input clock frequency (before any prescaling is performed) in Hz. This value may -# differ from F_CPU, as the USB clock is often sourced from the same oscillator as -# the CPU clock, but run through multipliers and dividers to achieve the desired -# clock rate. +# input clock frequency of the USB controller's clock generator in Hz. # # For the UC3 chips, this should be equal to 48MHz or 96MHz. F_USB = ### INSERT CLOCK TO USB MODULE HERE, IN HZ ### @@ -465,6 +462,15 @@ doxygen: clean_doxygen: rm -rf Documentation +checksource: + @for f in $(SRC) $(CPPSRC) $(ASRC); do \ + if [ -f $$f ]; then \ + echo "Found Source File: $$f" ; \ + else \ + echo "Source File Not Found: $$f" ; \ + fi; done + + # Create object files directory $(shell mkdir $(OBJDIR) 2>/dev/null) @@ -476,5 +482,5 @@ $(shell mkdir $(OBJDIR) 2>/dev/null) # Listing of phony targets. .PHONY : all begin finish end sizebefore sizeafter gccversion \ build elf hex lss sym doxygen clean clean_list clean_doxygen \ -dfu flip +dfu flip checksource