Fix typo in the Atmel Studio integration Getting Started page.
[pub/USBasp.git] / Bootloaders / CDC / BootloaderCDC.h
index b5d5e0b..89f90a6 100644 (file)
 
                #include <LUFA/Drivers/USB/USB.h>
                #include <LUFA/Drivers/Board/LEDs.h>
+               #include <LUFA/Platform/Platform.h>
+
+       /* Preprocessor Checks: */
+               #if !defined(__OPTIMIZE_SIZE__)
+                       #error This bootloader requires that it be optimized for size, not speed, to fit into the target device. Change optimization settings and try again.
+               #endif
 
        /* Macros: */
                /** Version major of the CDC bootloader. */