From: Stephan Baerwolf Date: Wed, 11 Sep 2013 19:07:20 +0000 (+0200) Subject: introduce new feature: BOOTLOADER_LOOPCYCLES_TIMEOUT X-Git-Tag: testing-head~21 X-Git-Url: http://git.linex4red.de/pub/USBaspLoader.git/commitdiff_plain/a3d7386c66be4c2479a15ebfa60eb733c0005dbc?hp=a3d7386c66be4c2479a15ebfa60eb733c0005dbc introduce new feature: BOOTLOADER_LOOPCYCLES_TIMEOUT This feature must be explicitly defined (Makefile.inc) When greater than "0", "BOOTLOADER_LOOPCYCLES_TIMEOUT" defines how many 16bit loopcycles can be cycled, before bootloader times out and starts user firmware. Of course "BOOTLOADER_CAN_EXIT" must be enabled. Even if this value is too small, bootloader will not exit as long as bootLoaderConditionSimple() stays true. Signed-off-by: Stephan Baerwolf ---