X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/cc9b190919abbc567cd179b31afeef565efb1f17..ea922c98d187eb74c31535afa3334ead5bd50526:/Projects/AVRISP-MKII/Lib/ISP/ISPTarget.h diff --git a/Projects/AVRISP-MKII/Lib/ISP/ISPTarget.h b/Projects/AVRISP-MKII/Lib/ISP/ISPTarget.h index 057aa7ad1..e183dee0f 100644 --- a/Projects/AVRISP-MKII/Lib/ISP/ISPTarget.h +++ b/Projects/AVRISP-MKII/Lib/ISP/ISPTarget.h @@ -37,12 +37,19 @@ #define _ISP_TARGET_ /* Includes: */ - #include - #include - #include - + #include #include - #include + + #if defined(ENABLE_ISP_PROTOCOL) || defined(__DOXYGEN__) + #include // TODO: FIXME + #endif + + #if (ARCH == ARCH_AVR8) + #include + #include + #elif (ARCH == ARCH_UC3) + #include + #endif #include "../V2ProtocolParams.h" @@ -84,6 +91,7 @@ const uint8_t ReadMemCommand); /* Inline Functions: */ + #if defined(ENABLE_ISP_PROTOCOL) || defined(__DOXYGEN__) /** Sends a byte of ISP data to the attached target, using the appropriate SPI hardware or * software routines depending on the selected ISP speed. * @@ -124,6 +132,7 @@ else return ISPTarget_TransferSoftSPIByte(Byte); } + #endif #endif