X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/e40f0eb2897756a7a439c2ad1610554249539697..334f70aa80ecfa05a42c6006cb49d14f05555fa8:/Bootloaders/Printer/BootloaderPrinter.h diff --git a/Bootloaders/Printer/BootloaderPrinter.h b/Bootloaders/Printer/BootloaderPrinter.h index 4995cdca9..acd6001ff 100644 --- a/Bootloaders/Printer/BootloaderPrinter.h +++ b/Bootloaders/Printer/BootloaderPrinter.h @@ -47,6 +47,11 @@ #include #include + /* Preprocessor Checks: */ + #if !defined(__OPTIMIZE_SIZE__) + #error This bootloader requires that it be optimize for size, not speed, to fit into the target device. Change optimization settings and try again. + #endif + /* Macros: */ /** LED mask for the library LED driver, to indicate that the USB interface is not ready. */ #define LEDMASK_USB_NOTREADY LEDS_LED1