CI: Build on Arch (bleeding-ege) and Ubuntu (stable) AVR-GCC toolchains.
[pub/USBasp.git] / Bootloaders / Printer / BootloaderPrinter.h
index 78f938c..c927ec5 100644 (file)
                /** Magic bootloader key to unlock forced application start mode. */
                #define MAGIC_BOOT_KEY             0xDC42
 
                /** Magic bootloader key to unlock forced application start mode. */
                #define MAGIC_BOOT_KEY             0xDC42
 
+       /* Type Defines: */
+               #if (FLASHEND > 0xFFFF)
+                       typedef uint32_t flashaddr_t;
+               #else
+                       typedef uint16_t flashaddr_t;
+               #endif
+
        /* Enums: */
                /** Intel HEX parser state machine states. */
                enum HEX_Parser_States_t
        /* Enums: */
                /** Intel HEX parser state machine states. */
                enum HEX_Parser_States_t