AppConfigHeaders: Make sure that in applications using an AppConfig.h configuration file, all application headers include the configuration file.

This commit is contained in:
Dean Camera 2012-05-15 19:51:41 +00:00
parent e9e6730d49
commit cb9e7392c5
108 changed files with 69 additions and 89 deletions

View file

@ -42,7 +42,6 @@
#include <avr/interrupt.h>
#include <avr/power.h>
#include <LUFA/Version.h>
#include <LUFA/Drivers/Board/LEDs.h>
#include <LUFA/Drivers/USB/USB.h>

View file

@ -44,7 +44,8 @@
#include <LUFA/Drivers/USB/USB.h>
#include <LUFA/Drivers/Peripheral/SPI.h>
#include "../V2ProtocolParams.h"
#include "../V2Protocol.h"
#include "ISPProtocol.h"
#include "Config/AppConfig.h"
/* Preprocessor Checks: */

View file

@ -46,7 +46,7 @@
#include "../Descriptors.h"
#include "V2ProtocolConstants.h"
#include "V2ProtocolParams.h"
#include "ISP/ISPProtocol.h"
// #include "ISP/ISPProtocol.h"
#include "XPROG/XPROGProtocol.h"
#include "Config/AppConfig.h"

View file

@ -40,8 +40,6 @@
#include <avr/io.h>
#include <avr/eeprom.h>
#include <LUFA/Version.h>
#if defined(ADC)
#include <LUFA/Drivers/Peripheral/ADC.h>
#endif

View file

@ -44,7 +44,6 @@
#include "Descriptors.h"
#include "Config/AppConfig.h"
#include <LUFA/Version.h>
#include <LUFA/Drivers/Board/LEDs.h>
#include <LUFA/Drivers/Peripheral/Serial.h>
#include <LUFA/Drivers/Misc/RingBuffer.h>

View file

@ -45,7 +45,6 @@
#include <stdio.h>
#include <inttypes.h>
#include <LUFA/Version.h>
#include <LUFA/Drivers/Misc/TerminalCodes.h>
#include <LUFA/Drivers/Peripheral/Serial.h>
#include <LUFA/Drivers/Board/LEDs.h>

View file

@ -46,7 +46,6 @@
#include "Descriptors.h"
#include <LUFA/Version.h>
#include <LUFA/Drivers/Board/LEDs.h>
#include <LUFA/Drivers/USB/USB.h>

View file

@ -41,6 +41,8 @@
#include <avr/pgmspace.h>
#include "Config/AppConfig.h"
/* Macros: */
/** Endpoint address of the MIDI streaming data IN endpoint, for device-to-host data transfers. */
#define MIDI_STREAM_IN_EPADDR (ENDPOINT_DIR_IN | 2)

View file

@ -47,7 +47,6 @@
#include "Descriptors.h"
#include "Config/AppConfig.h"
#include <LUFA/Version.h>
#include <LUFA/Drivers/Board/LEDs.h>
#include <LUFA/Drivers/Peripheral/ADC.h>
#include <LUFA/Drivers/USB/USB.h>

View file

@ -48,7 +48,6 @@
#include "Lib/CircularBitBuffer.h"
#include "Config/AppConfig.h"
#include <LUFA/Version.h>
#include <LUFA/Drivers/USB/USB.h>
/* Macros: */

View file

@ -46,7 +46,6 @@
#include "Descriptors.h"
#include <LUFA/Version.h>
#include <LUFA/Drivers/Board/Joystick.h>
#include <LUFA/Drivers/Board/LEDs.h>
#include <LUFA/Drivers/Board/Buttons.h>

View file

@ -45,7 +45,6 @@
#include <string.h>
#include <stdio.h>
#include <LUFA/Version.h>
#include <LUFA/Drivers/USB/USB.h>
#include <LUFA/Drivers/Board/Buttons.h>
#include <LUFA/Drivers/Board/Joystick.h>

View file

@ -45,7 +45,6 @@
#include "Descriptors.h"
#include <LUFA/Version.h>
#include <LUFA/Drivers/Board/LEDs.h>
#include <LUFA/Drivers/USB/USB.h>

View file

@ -46,7 +46,6 @@
#include "Descriptors.h"
#include "Lib/HD44780.h"
#include <LUFA/Version.h>
#include <LUFA/Drivers/Misc/RingBuffer.h>
#include <LUFA/Drivers/USB/USB.h>

View file

@ -15,6 +15,7 @@
#include <LUFA/Drivers/USB/USB.h>
#include "TempDataLogger.h"
#include "Config/AppConfig.h"
/* Macros: */
/** Endpoint address of the Mass Storage device-to-host data IN endpoint. */

View file

@ -51,7 +51,6 @@
#include "Lib/DS1307.h"
#include "Config/AppConfig.h"
#include <LUFA/Version.h>
#include <LUFA/Drivers/Board/LEDs.h>
#include <LUFA/Drivers/Board/Temperature.h>
#include <LUFA/Drivers/Peripheral/ADC.h>

View file

@ -44,7 +44,6 @@
#include "Descriptors.h"
#include <LUFA/Version.h>
#include <LUFA/Drivers/Board/LEDs.h>
#include <LUFA/Drivers/Peripheral/Serial.h>
#include <LUFA/Drivers/Misc/RingBuffer.h>

View file

@ -41,6 +41,8 @@
#include <LUFA/Drivers/USB/USB.h>
#include "Config/AppConfig.h"
/* Macros: */
/** Endpoint address of the Mass Storage device-to-host data IN endpoint. */
#define MASS_STORAGE_IN_EPADDR (ENDPOINT_DIR_IN | 3)

View file

@ -40,10 +40,11 @@
#include <LUFA/Drivers/USB/USB.h>
#include "Webserver.h"
#include "Lib/uIPManagement.h"
#include "Descriptors.h"
#include "Lib/uIPManagement.h"
#include "Lib/SCSI.h"
#include "Config/AppConfig.h"
/* External Variables: */
extern USB_ClassInfo_RNDIS_Device_t Ethernet_RNDIS_Interface_Device;

View file

@ -41,6 +41,7 @@
#include "Webserver.h"
#include "Lib/uIPManagement.h"
#include "Config/AppConfig.h"
/* External Variables: */
extern USB_ClassInfo_RNDIS_Host_t Ethernet_RNDIS_Interface_Host;

View file

@ -43,7 +43,6 @@
#include <avr/power.h>
#include <avr/interrupt.h>
#include <LUFA/Version.h>
#include <LUFA/Drivers/Board/LEDs.h>
#include <LUFA/Drivers/Board/Dataflash.h>
#include <LUFA/Drivers/Peripheral/SPI.h>
@ -51,6 +50,7 @@
#include "USBDeviceMode.h"
#include "USBHostMode.h"
#include "Config/AppConfig.h"
/* Macros: */
/** LED mask for the library LED driver, to indicate that the USB interface is not ready. */

View file

@ -41,6 +41,8 @@
#include <LUFA/Drivers/USB/USB.h>
#include "Config/AppConfig.h"
/* Macros: */
#if !defined(LIBUSB_DRIVER_COMPAT) || defined(__DOXYGEN__)
/** Endpoint address of the AVRISP data OUT endpoint. */

View file

@ -44,7 +44,8 @@
#include <stdbool.h>
#include "../XPLAINBridge.h"
#include "Config/AppConfig.h"
/* Macros: */
#define SRX PD0
#define SRXPIN PIND

View file

@ -41,6 +41,8 @@
#include <LUFA/Drivers/USB/USB.h>
#include "Config/AppConfig.h"
/* Macros: */
/** Endpoint address of the CDC device-to-host notification IN endpoint. */
#define CDC_NOTIFICATION_EPADDR (ENDPOINT_DIR_IN | 2)

View file

@ -50,7 +50,6 @@
#include "Lib/SoftUART.h"
#include "Config/AppConfig.h"
#include <LUFA/Version.h>
#include <LUFA/Drivers/Board/LEDs.h>
#include <LUFA/Drivers/Misc/RingBuffer.h>
#include <LUFA/Drivers/USB/USB.h>