introduce new feature: BOOTLOADER_ALWAYSENTERPROGRAMMODE
authorStephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
Wed, 11 Sep 2013 20:21:37 +0000 (22:21 +0200)
committerStephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
Wed, 11 Sep 2013 22:00:20 +0000 (22:00 +0000)
commit2bdd5099cb391ff24ba3efa351b42e3745a90dc3
treee5f594cd44f212557eb2de85b72a70393a08a3f4
parenta3d7386c66be4c2479a15ebfa60eb733c0005dbc
introduce new feature: BOOTLOADER_ALWAYSENTERPROGRAMMODE

Enabling "BOOTLOADER_ALWAYSENTERPROGRAMMODE" ignores bootLoaderCondition()
(BUT NOT bootLoaderConditionSimple()) and always enter the program-mode.

This is helpful to emulate behaviour of Arduino bootloaders

Use "-DCONFIG_HAVE__BOOTLOADER_ALWAYSENTERPROGRAMMODE" within
DEFINES variable of Makefile.inc to enable this feature.

Otherwise default is off.

Signed-off-by: Stephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
firmware/bootloaderconfig.h