2 bootloaderconfig.h - part of AVRUSBBoot firmware
4 Thomas Fischl <tfischl@gmx.de>
7 The project is built with AVR USB driver by Objective Development, which is
8 published under a proprietary Open Source license. To conform with this
9 license, USBasp is distributed under the same license conditions. See
12 Creation Date..: 2006-03-18
13 Last change....: 2006-06-25
15 To adapt the bootloader to your hardware, you have to modify the following files:
16 - bootloaderconfig.h (this file):
17 Define the condition when the bootloader should be started and the initialisation of the
20 Define the used data line pins. You have to adapt USB_CFG_IOPORT, USB_CFG_DMINUS_BIT and
21 USB_CFG_DPLUS_BIT to your hardware. The rest should be left unchanged.
24 #ifndef __bootloaderconfig_h_included__
25 #define __bootloaderconfig_h_included__
27 #define BOOTLOADER_INIT \
35 #define BOOTLOADER_CONDITION ((PINC & (1 << PC2)) == 0)
37 #endif /* __bootloader_h_included__ */