From d5e84db5ab84d05d135d2522a419db65a4491628 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 11 Apr 2013 17:30:14 +0000 Subject: [PATCH] Don't generate the full HTML documentation when only needing the XML version for post-processing. --- LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.h | 3 +++ LUFA/StudioIntegration/makefile | 2 +- Maintenance/makefile | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.h b/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.h index eb56bc796d..c4864ab7ea 100644 --- a/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.h +++ b/LUFA/Drivers/Peripheral/AVR8/Serial_AVR8.h @@ -171,6 +171,8 @@ * \param[in] BaudRate Serial baud rate, in bits per second. * \param[in] DoubleSpeed Enables double speed mode when set, halving the sample time to double the baud rate. */ + static inline void Serial_Init(const uint32_t BaudRate, + const bool DoubleSpeed); static inline void Serial_Init(const uint32_t BaudRate, const bool DoubleSpeed) { @@ -185,6 +187,7 @@ } /** Turns off the USART driver, disabling and returning used hardware to their default configuration. */ + static inline void Serial_Disable(void); static inline void Serial_Disable(void) { UCSR1B = 0; diff --git a/LUFA/StudioIntegration/makefile b/LUFA/StudioIntegration/makefile index 3e795a119b..c47ddbe092 100644 --- a/LUFA/StudioIntegration/makefile +++ b/LUFA/StudioIntegration/makefile @@ -34,7 +34,7 @@ clean: @rm -f $(TEMP_MANIFEST_XML) $(MODULE_OUTPUT_XML) $(EXTENSION_OUTPUT_XML) $(DOXYGEN_TAG_FILE_XML) $(DOXYGEN_COMBINED_XML) $(DOXYGEN_TAG_FILE_XML): - $(MAKE) -C ../ doxygen DOXYGEN_OVERRIDE_PARAMS="GENERATE_TAGFILE=Documentation/lufa_doc_tags.xml GENERATE_XML=yes" + $(MAKE) -C ../ doxygen DOXYGEN_OVERRIDE_PARAMS="GENERATE_TAGFILE=Documentation/lufa_doc_tags.xml GENERATE_HTML=no GENERATE_XML=yes" $(DOXYGEN_COMBINED_XML): $(DOXYGEN_TAG_FILE_XML) @xsltproc $(dir $@)/combine.xslt $(dir $@)/index.xml > $(DOXYGEN_COMBINED_XML) diff --git a/Maintenance/makefile b/Maintenance/makefile index 9b37d7d5a5..df04037755 100644 --- a/Maintenance/makefile +++ b/Maintenance/makefile @@ -16,7 +16,7 @@ all: # Generate a header containing all library functions function-list: - $(MAKE) -C $(patsubst %/,%,$(LUFA_ROOT))/LUFA doxygen DOXYGEN_OVERRIDE_PARAMS="GENERATE_XML=yes" + $(MAKE) -C $(patsubst %/,%,$(LUFA_ROOT))/LUFA doxygen DOXYGEN_OVERRIDE_PARAMS="GENERATE_HTML=no GENERATE_XML=yes" @xsltproc $(patsubst %/,%,$(LUFA_ROOT))/LUFA/Documentation/xml/combine.xslt $(patsubst %/,%,$(LUFA_ROOT))/LUFA/Documentation/xml/index.xml > temp.xml @xsltproc lufa_functionlist_transform.xslt temp.xml > function_list.h @rm temp.xml