mirror of
https://github.com/raphnet/gc_n64_usb-v3
synced 2024-12-21 23:08:53 -05:00
Add shorter version string
This commit is contained in:
parent
158fc4fdca
commit
b6386b8948
2
Makefile
2
Makefile
@ -7,7 +7,7 @@ include Makefile.inc
|
||||
PROGNAME=gcn64usb
|
||||
OBJDIR=objs-$(PROGNAME)
|
||||
CPU=atmega32u2
|
||||
CFLAGS=-Wall -mmcu=$(CPU) -DF_CPU=16000000L -Os -DUART1_STDOUT -DVERSIONSTR=$(VERSIONSTR)
|
||||
CFLAGS=-Wall -mmcu=$(CPU) -DF_CPU=16000000L -Os -DUART1_STDOUT -DVERSIONSTR=$(VERSIONSTR) -DVERSIONSTR_SHORT=$(VERSIONSTR_SHORT)
|
||||
LDFLAGS=-mmcu=$(CPU) -Wl,-Map=$(PROGNAME).map
|
||||
HEXFILE=$(PROGNAME).hex
|
||||
|
||||
|
@ -1,2 +1,3 @@
|
||||
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 gcn64txrx.o gamepads.o
|
||||
VERSIONSTR=\"3.2.0\"
|
||||
VERSIONSTR=\"3.2.1\"
|
||||
VERSIONSTR_SHORT=\"3.2\"
|
||||
|
@ -7,7 +7,7 @@ include Makefile.inc
|
||||
PROGNAME=gcn64usb-stk500
|
||||
OBJDIR=objs-$(PROGNAME)
|
||||
CPU=at90usb1287
|
||||
CFLAGS=-Wall -mmcu=$(CPU) -DF_CPU=16000000L -Os -DUART1_STDOUT -DSTK525 -DVERSIONSTR=$(VERSIONSTR)
|
||||
CFLAGS=-Wall -mmcu=$(CPU) -DF_CPU=16000000L -Os -DUART1_STDOUT -DSTK525 -DVERSIONSTR=$(VERSIONSTR) -DVERSIONSTR_SHORT=$(VERSIONSTR_SHORT)
|
||||
LDFLAGS=-mmcu=$(CPU) -Wl,-Map=$(PROGNAME).map
|
||||
HEXFILE=$(PROGNAME).hex
|
||||
|
||||
@ -46,7 +46,7 @@ justflash: $(HEXFILE)
|
||||
./scripts/wait_then_flash.sh $(CPU) $(HEXFILE)
|
||||
|
||||
chip_erase:
|
||||
dfu-programmer atmega32u2 erase
|
||||
dfu-programmer at90usb1287 erase
|
||||
|
||||
reset:
|
||||
dfu-programmer atmega32u2 reset
|
||||
dfu-programmer at90usb1287 reset
|
||||
|
Loading…
Reference in New Issue
Block a user