#define PROTOCOL_KISS 0x01 #define PROTOCOL_SIMPLE_SERIAL 0x02 #define m328p 0x01 #define m1284p 0x02 #define m644p 0x03 #define REF_3V3 0x01 #define REF_5V 0x02 #define SERIAL_FRAMING_KISS 0x01 #define SERIAL_FRAMING_DIRECT 0x02