Skip to content

Commit 324b076

Browse files
bootloader: Advertise protocol version 2.2
This also updates BootloaderTest to expect this version.
1 parent af06ad2 commit 324b076

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

BootloaderTest/Constants.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ static const uint8_t LAST_ADDRESS = 15;
9090
static const uint8_t MAX_EXTRA_INFO = 16;
9191

9292
// Expected values
93-
static const uint16_t PROTOCOL_VERSION = 0x0201;
93+
static const uint16_t PROTOCOL_VERSION = 0x0202;
9494
#if defined(TEST_SUBJECT_ATTINY)
9595
static const uint8_t HARDWARE_TYPE = 0x01;
9696
static const uint8_t HARDWARE_COMPATIBLE_REVISION = 0x01;

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#
1212
# To compile, just make sure that avr-gcc and friends are in your path
1313
# and type "make".
14-
PROTOCOL_VERSION = 0x0201
14+
PROTOCOL_VERSION = 0x0202
1515

1616
CPPSRC = $(wildcard *.cpp)
1717
CPPSRC += $(ARCH)/SelfProgram.cpp $(ARCH)/uart.cpp $(ARCH)/Reset.cpp $(ARCH)/Clock.cpp

0 commit comments

Comments
 (0)