Bump version to 3.5.0

This commit is contained in:
Raphael Assenat 2017-11-20 00:09:13 -05:00
parent 7b01a454d4
commit 9f665068ae
4 changed files with 6 additions and 5 deletions

View File

@ -7,7 +7,7 @@ include Makefile.inc
PROGNAME=gcn64usb PROGNAME=gcn64usb
OBJDIR=objs-$(PROGNAME) OBJDIR=objs-$(PROGNAME)
CPU=atmega32u2 CPU=atmega32u2
CFLAGS=-Wall -mmcu=$(CPU) -DF_CPU=16000000L -Os -DUART1_STDOUT -DVERSIONSTR=$(VERSIONSTR) -DVERSIONSTR_SHORT=$(VERSIONSTR_SHORT) -std=gnu99 CFLAGS=-Wall -mmcu=$(CPU) -DF_CPU=16000000L -Os -DUART1_STDOUT -DVERSIONSTR=$(VERSIONSTR) -DVERSIONSTR_SHORT=$(VERSIONSTR_SHORT) -DVERSIONBCD=$(VERSIONBCD) -std=gnu99
LDFLAGS=-mmcu=$(CPU) -Wl,-Map=$(PROGNAME).map LDFLAGS=-mmcu=$(CPU) -Wl,-Map=$(PROGNAME).map
HEXFILE=$(PROGNAME).hex HEXFILE=$(PROGNAME).hex

View File

@ -1,3 +1,4 @@
OBJS=main.o usb.o usbpad.o mappings.o gcn64_protocol.o n64.o gamecube.o usart1.o bootloader.o eeprom.o config.o hiddata.o usbstrings.o intervaltimer.o version.o gcn64txrx0.o gcn64txrx1.o gcn64txrx2.o gcn64txrx3.o gamepads.o stkchk.o OBJS=main.o usb.o usbpad.o mappings.o gcn64_protocol.o n64.o gamecube.o usart1.o bootloader.o eeprom.o config.o hiddata.o usbstrings.o intervaltimer.o version.o gcn64txrx0.o gcn64txrx1.o gcn64txrx2.o gcn64txrx3.o gamepads.o stkchk.o
VERSIONSTR=\"3.4.1\" VERSIONSTR=\"3.5.0\"
VERSIONSTR_SHORT=\"3.4\" VERSIONSTR_SHORT=\"3.5\"
VERSIONBCD=0x0350

View File

@ -7,7 +7,7 @@ include Makefile.inc
PROGNAME=gcn64usb-stk500 PROGNAME=gcn64usb-stk500
OBJDIR=objs-$(PROGNAME) OBJDIR=objs-$(PROGNAME)
CPU=at90usb1287 CPU=at90usb1287
CFLAGS=-Wall -mmcu=$(CPU) -DF_CPU=16000000L -Os -DUART1_STDOUT -DSTK525 -DVERSIONSTR=$(VERSIONSTR) -DVERSIONSTR_SHORT=$(VERSIONSTR_SHORT) -std=gnu99 CFLAGS=-Wall -mmcu=$(CPU) -DF_CPU=16000000L -Os -DUART1_STDOUT -DSTK525 -DVERSIONSTR=$(VERSIONSTR) -DVERSIONSTR_SHORT=$(VERSIONSTR_SHORT) -DVERSIONBCD=$(VERSIONBCD) -std=gnu99
LDFLAGS=-mmcu=$(CPU) -Wl,-Map=$(PROGNAME).map LDFLAGS=-mmcu=$(CPU) -Wl,-Map=$(PROGNAME).map
HEXFILE=$(PROGNAME).hex HEXFILE=$(PROGNAME).hex

2
main.c
View File

@ -262,7 +262,7 @@ struct usb_device_descriptor device_descriptor = {
.bMaxPacketSize = 64, .bMaxPacketSize = 64,
.idVendor = 0x289B, .idVendor = 0x289B,
.idProduct = GCN64_USB_PID, .idProduct = GCN64_USB_PID,
.bcdDevice = 0x0300, // 1.0.0 .bcdDevice = VERSIONBCD,
.bNumConfigurations = 1, .bNumConfigurations = 1,
.iManufacturer = 1, .iManufacturer = 1,
.iProduct = 2, .iProduct = 2,