Build current firmware with rle compression
This commit is contained in:
parent
f8db20fccb
commit
15abd671fe
5
.gitignore
vendored
5
.gitignore
vendored
@ -34,5 +34,10 @@ tmtags
|
||||
bsnes
|
||||
web
|
||||
ucon64.exe
|
||||
project
|
||||
huffman-decode
|
||||
huffman-encode
|
||||
unpack
|
||||
pack
|
||||
|
||||
|
||||
|
||||
@ -16,20 +16,21 @@
|
||||
# Author: Christian Starkjohann
|
||||
# =====================================================================================
|
||||
|
||||
DEBUG = 1
|
||||
DEBUG = 0
|
||||
TTY = /dev/tty.PL2303-00002126
|
||||
DEVICE = atmega644
|
||||
F_CPU = 20000000
|
||||
TARGET = main
|
||||
AVRDUDE = avrdude -c usbasp -p $(DEVICE)
|
||||
SIZE = avr-size
|
||||
BOOT_LOADER = 1
|
||||
BOOT_LOADER = 2
|
||||
BOOT_COMPRESS = rle
|
||||
BOOT_ROM01 = ../../roms/qd16boot01.smc
|
||||
BOOT_ROM02 = ../../roms/qd16boot02.smc
|
||||
|
||||
|
||||
ifeq ($(DEBUG),1)
|
||||
BOOT_DEBUG = debug
|
||||
LDFLAGS =-Wl,-u,vfprintf
|
||||
CFLAGS =-Iusbdrv -I. -DDEBUG_LEVEL=0
|
||||
OBJECTS = usbdrv/usbdrv.o usbdrv/usbdrvasm.o usbdrv/oddebug.o \
|
||||
@ -37,7 +38,8 @@ ifeq ($(DEBUG),1)
|
||||
dump.o timer.o watchdog.o loader.o info.o shared_memory.o \
|
||||
system.o pwm.o util.o shell.o irq.o command.o testing.o
|
||||
else
|
||||
LDFLAGS =-Wl,-u
|
||||
BOOT_DEBUG = nodebug
|
||||
LDFLAGS =
|
||||
CFLAGS =-Iusbdrv -I. -DDEBUG_LEVEL=0 -DNO_DEBUG -DNO_INFO
|
||||
OBJECTS = usbdrv/usbdrv.o usbdrv/usbdrvasm.o usbdrv/oddebug.o main.o usb_bulk.o \
|
||||
sram.o crc.o debug.o dump.o loader.o \
|
||||
@ -104,7 +106,7 @@ bootconvert:
|
||||
$(BOOT_CONVERTER) $(BOOT_ROM)
|
||||
|
||||
release: main.hex
|
||||
cp -v main.hex ../../files/firmware/firmware-loader0$(BOOT_LOADER)-$$(date +%Y%m%d).hex
|
||||
cp -v main.hex ../../files/firmware/firmware-loader0$(BOOT_LOADER)-$(BOOT_COMPRESS)-$(BOOT_DEBUG)-$$(date +%Y%m%d).hex
|
||||
|
||||
.c.o:
|
||||
$(COMPILE) -c $< -o $@
|
||||
|
||||
3230
avr/usbload/loader.c
3230
avr/usbload/loader.c
File diff suppressed because it is too large
Load Diff
@ -1,15 +1,16 @@
|
||||
/*
|
||||
File: qd16boot01.smc
|
||||
Time: Sun, 21 Feb 2016 18:47:17
|
||||
File: qd16boot02.smc
|
||||
Time: Wed, 18 May 2016 15:44:45
|
||||
*/
|
||||
#ifndef __FIFO_H__
|
||||
#define __FIFO_H__
|
||||
|
||||
#define LOADER_NAME "qd16boot01.smc"
|
||||
#define LOADER_NAME "qd16boot02.smc"
|
||||
#define LOADER_COMPRESS "ZIP"
|
||||
#define ROM_ZIP_SIZE 17897
|
||||
#define ROM_BUFFER_CNT 1
|
||||
#define ROM_ZIP_SIZE 33654
|
||||
#define ROM_BUFFER_CNT 2
|
||||
|
||||
#define ROM_BUFFER_SIZE01 17897
|
||||
#define ROM_BUFFER_SIZE01 32767
|
||||
#define ROM_BUFFER_SIZE02 887
|
||||
|
||||
#endif
|
||||
|
||||
3351
files/firmware/firmware-20090601.hex
Normal file
3351
files/firmware/firmware-20090601.hex
Normal file
File diff suppressed because it is too large
Load Diff
3379
files/firmware/firmware-20091203.hex
Normal file
3379
files/firmware/firmware-20091203.hex
Normal file
File diff suppressed because it is too large
Load Diff
3199
files/firmware/firmware-loader01-20160220.hex
Normal file
3199
files/firmware/firmware-loader01-20160220.hex
Normal file
File diff suppressed because it is too large
Load Diff
26
sizes.txt
Normal file
26
sizes.txt
Normal file
@ -0,0 +1,26 @@
|
||||
Debug
|
||||
ROM: 20060 bytes (data=154)
|
||||
RAM: 792 bytes
|
||||
|
||||
No Debug
|
||||
ROM: 6336 bytes (data=102)
|
||||
RAM: 372 bytes
|
||||
|
||||
|
||||
#define LOADER_NAME "qd16boot01.smc"
|
||||
#define LOADER_COMPRESS "RLE"
|
||||
#define ROM_RLE_SIZE 31091
|
||||
|
||||
#define LOADER_NAME "qd16boot02.smc"
|
||||
#define LOADER_COMPRESS "RLE"
|
||||
#define ROM_RLE_SIZE 58046
|
||||
|
||||
|
||||
|
||||
#define LOADER_NAME "qd16boot01.smc"
|
||||
#define LOADER_COMPRESS "ZIP"
|
||||
#define ROM_ZIP_SIZE 17897
|
||||
|
||||
#define LOADER_NAME "qd16boot02.smc"
|
||||
#define LOADER_COMPRESS "ZIP"
|
||||
#define ROM_ZIP_SIZE 33654
|
||||
Loading…
x
Reference in New Issue
Block a user