Re-add signature byte defines to the DFU and CDC class bootloaders -- the SIGNATURE_x defines in the AVR device header files only exist in a newer version of avr-libc than is in the Debian repositories, causing build issues on Linux.
This commit is contained in:
parent
b2de451959
commit
e0420015df
9 changed files with 74 additions and 32 deletions
|
@ -47,12 +47,7 @@
|
|||
|
||||
#include "Descriptors.h"
|
||||
|
||||
#include <LUFA/Drivers/USB/USB.h> // USB Functionality
|
||||
|
||||
/* Preprocessor Checks: */
|
||||
#if !defined(SIGNATURE_0) || !defined(SIGNATURE_1) || !defined(SIGNATURE_2)
|
||||
#error Device signature byte constants are not defined due to outdated avr-libc version. See demo documentation.
|
||||
#endif
|
||||
#include <LUFA/Drivers/USB/USB.h>
|
||||
|
||||
/* Macros: */
|
||||
/** Configuration define. Define this token to true to case the bootloader to reject all memory commands
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue