X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Finclude%2Favr.h;h=bcf76ef7573042faf5663fb2337411a8760af4f2;hp=c56d86cff2ca20759413e224864fb8296985d294;hb=a031b4a563978102c664466d1e91a9c3ab0553dd;hpb=dbcedaa279472080a2585e959a3146f3c5859556 diff --git a/firmware/include/avr.h b/firmware/include/avr.h index c56d86c..bcf76ef 100644 --- a/firmware/include/avr.h +++ b/firmware/include/avr.h @@ -3,7 +3,13 @@ \brief AVR SPI Programmer */ +#ifndef AVR_H +#define AVR_H + #include "spi.h" +#include "app.h" + +#define AVR 0x32 //! Setup the AVR pins. void avrsetup(); @@ -55,3 +61,9 @@ u8 avr_isready(); #define AVR_READFUSES 0x84 //! Read calibration byte. #define AVR_READCAL 0x85 +//! Bulk load data +#define AVR_BULKLOAD 0x86 + +extern app_t const avr_app; + +#endif // AVR_H