AppConfigHeaders: Make sure that in applications using an AppConfig.h configuration file, all application headers include the configuration file.
This commit is contained in:
parent
e9e6730d49
commit
cb9e7392c5
108 changed files with 69 additions and 89 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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: */
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -46,7 +46,6 @@
|
|||
|
||||
#include "Descriptors.h"
|
||||
|
||||
#include <LUFA/Version.h>
|
||||
#include <LUFA/Drivers/Board/LEDs.h>
|
||||
#include <LUFA/Drivers/USB/USB.h>
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -48,7 +48,6 @@
|
|||
#include "Lib/CircularBitBuffer.h"
|
||||
#include "Config/AppConfig.h"
|
||||
|
||||
#include <LUFA/Version.h>
|
||||
#include <LUFA/Drivers/USB/USB.h>
|
||||
|
||||
/* Macros: */
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -45,7 +45,6 @@
|
|||
|
||||
#include "Descriptors.h"
|
||||
|
||||
#include <LUFA/Version.h>
|
||||
#include <LUFA/Drivers/Board/LEDs.h>
|
||||
#include <LUFA/Drivers/USB/USB.h>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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. */
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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. */
|
||||
|
|
|
@ -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. */
|
||||
|
|
|
@ -44,7 +44,8 @@
|
|||
#include <stdbool.h>
|
||||
|
||||
#include "../XPLAINBridge.h"
|
||||
|
||||
#include "Config/AppConfig.h"
|
||||
|
||||
/* Macros: */
|
||||
#define SRX PD0
|
||||
#define SRXPIN PIND
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue