hackish darwine
This commit is contained in:
@@ -23,9 +23,10 @@ F_CPU = 20000000
|
||||
TARGET = main
|
||||
AVRDUDE = avrdude -c usbasp -p $(DEVICE)
|
||||
SIZE = avr-size
|
||||
BOOT_ROM_SMALL = ../../roms/qd16boot01.smc
|
||||
BOOT_ROM_FULL = ../../roms/qd16boot02.smc
|
||||
ROM_CONVERT = ../../scripts/conv_rle.py
|
||||
BOOT_ROM01 = ../../roms/qd16boot01.smc
|
||||
BOOT_ROM02 = ../../roms/qd16boot02.smc
|
||||
CONVERT_RLE = ../../scripts/conv_rle.py
|
||||
CONVERT_ZIP = ../../scripts/conv_zip.py
|
||||
|
||||
|
||||
|
||||
@@ -79,11 +80,11 @@ fuse:
|
||||
flash: main.hex
|
||||
$(AVRDUDE) -U flash:w:main.hex:i
|
||||
|
||||
loader:
|
||||
python $(ROM_CONVERT) $(BOOT_ROM_SMALL)
|
||||
loader01:
|
||||
python $(CONVERT_RLE) $(BOOT_ROM01)
|
||||
|
||||
loader_full:
|
||||
python $(ROM_CONVERT) $(BOOT_ROM_FULL)
|
||||
loader02:
|
||||
python $(CONVERT_ZIP) $(BOOT_ROM02)
|
||||
|
||||
.c.o:
|
||||
$(COMPILE) -c $< -o $@
|
||||
|
||||
4055
avr/usbload/loader.c
4055
avr/usbload/loader.c
File diff suppressed because it is too large
Load Diff
@@ -1,14 +1,14 @@
|
||||
/*
|
||||
File: qd16boot01.smc
|
||||
Time: Sun, 18 Oct 2009 09:40:40
|
||||
File: qd16boot02.smc
|
||||
Time: Tue, 20 Oct 2009 21:41:01
|
||||
*/
|
||||
#ifndef __FIFO_H__
|
||||
#define __FIFO_H__
|
||||
|
||||
#define ROM_HUFFMAN_SIZE 0
|
||||
#define ROM_RLE_SIZE 31091
|
||||
#define ROM_BUFFER_CNT 1
|
||||
#define ROM_ZIP_SIZE 33654
|
||||
#define ROM_BUFFER_CNT 2
|
||||
|
||||
#define ROM_BUFFER_SIZE01 31091
|
||||
#define ROM_BUFFER_SIZE01 32767
|
||||
#define ROM_BUFFER_SIZE02 887
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user