#ifndef TARGET_H_ #define TARGET_H_ /* *********************************************************************** */ #if defined(CONFIG_ispprog) /* * using ATmega16 @7.3728MHz: * Fuse H: 0xDA (512 words bootloader, jtag disabled) * Fuse L: 0xFF (ext. Crystal) */ #define F_CPU 7372800ULL #define BAUDRATE 115200 #define ISP_RESET PORTB1 /* to target */ #define ISP_LED PORTB3 /* low active */ #define ISP_MOSI PORTB5 /* to target */ #define ISP_MISO PORTB6 /* to target */ #define ISP_SCK PORTB7 /* to target */ #define RESET_IN PORTD3 /* high active */ #define RESET_INACTIVE(){ PORTB |= (1<