introduce new feature: BOOTLOADER_IGNOREPROGBUTTON
authorStephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
Thu, 12 Sep 2013 13:24:18 +0000 (15:24 +0200)
committerStephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
Thu, 12 Sep 2013 14:26:58 +0000 (14:26 +0000)
commit8ce9055cc4df6de93528cf3e12a4b69d5fcc1a19
tree221730306faf10bf7e6f2e94d54d1e62b73ace91
parentd7ac76b34c7ead103afb231d705976faa5c4beae
introduce new feature: BOOTLOADER_IGNOREPROGBUTTON

"CONFIG_HAVE__BOOTLOADER_IGNOREPROGBUTTON" generates an USBaspLoader
without using the PROGBUTTON.
It can be used to reduce the required PINcount for USBaspLoader on the MCU.

However this feature is very dangerous, so it becomes only enabled, if
"CONFIG_HAVE__BOOTLOADER_ALWAYSENTERPROGRAMMODE" is enabled and
"CONFIG_NO__BOOTLOADER_CAN_EXIT" is disabled, too.

Additionally "BOOTLOADER_LOOPCYCLES_TIMEOUT" must be greater or equal
than 8 (In order to give user enough time to program).

When active, "JUMPER_PORT" and "JUMPER_BIT" are ignored and can be soldered
otherwise.

Default if off. But the Option can be enabled by adding
"-DCONFIG_HAVE__BOOTLOADER_IGNOREPROGBUTTON" to the DEFINES variable of
Makefile.inc

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