X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Finclude%2Fchipcon.h;h=4b01b64ef06b9b291e772bc9ab2bd730382aea66;hp=deed945d0368c8c5d9b5d79d08575d21f69e9dfb;hb=5fb0341d348e101b30794945a6c91546e25e8e7b;hpb=1969a022e69bdac64a0d88de3d0ce88d79a27804 diff --git a/firmware/include/chipcon.h b/firmware/include/chipcon.h index deed945..4b01b64 100644 --- a/firmware/include/chipcon.h +++ b/firmware/include/chipcon.h @@ -3,7 +3,13 @@ \brief Chipcon application functions. */ +#ifndef CHIPCON_H +#define CHIPCON_H + #include "command.h" +#include "app.h" + +#define CHIPCON 0x30 //Chipcon command definitions. #define CCCMD_CHIP_ERASE 0x14 @@ -107,3 +113,7 @@ void cc_lockchip(); #define CC_PROGRAM_FLASH 0x98 #define CC_WIPEFLASHBUFFER 0x99 #define CC_LOCKCHIP 0x9A + +extern app_t const chipcon_app; + +#endif // CHIPCON_H