X-Git-Url: http://git.linex4red.de/pub/USBaspLoader.git/blobdiff_plain/e484a9d34be1ee8b9a15746b350cb0e168e54ce6..5b68d3343df7c2c9a81c220ee268f3dcfc840886:/firmware/bootloaderconfig.h diff --git a/firmware/bootloaderconfig.h b/firmware/bootloaderconfig.h index 991b9d0..7b9a4b7 100644 --- a/firmware/bootloaderconfig.h +++ b/firmware/bootloaderconfig.h @@ -143,6 +143,14 @@ these macros are defined, the boot loader usees them. * feature. */ +#define HAVE_SPMINTEREFACE_NORETMAGIC 1 +/* + * If sth. went wrong within "bootloader__do_spm" and this macro is ACTIVATED, + * then "bootloader__do_spm" will not return the call and loop infinity instead. + * + * This feature prevents old updaters to do sth. undefined on wrong magic. + */ + /* all boards should use a magic to make it safe to confuse updatefiles :-) */ #define HAVE_SPMINTEREFACE_MAGICVALUE 0 /* If this feature is enabled (value != 0), the configured 32bit value is