]> rtime.felk.cvut.cz Git - sysless.git/commitdiff
Config files are now in the board direcotry.
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 15 Aug 2005 09:39:00 +0000 (09:39 +0000)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Tue, 16 Nov 2010 15:54:49 +0000 (16:54 +0100)
darcs-hash:20050815093929-f2ef6-7af3ca72c1b6e4df4cafeafb5438ce79d3dcf126.gz

board/h8300/h8canusb/config.h8canusb [new file with mode: 0644]

diff --git a/board/h8300/h8canusb/config.h8canusb b/board/h8300/h8canusb/config.h8canusb
new file mode 100644 (file)
index 0000000..b3f82d0
--- /dev/null
@@ -0,0 +1,29 @@
+# -*- makefile -*-
+
+ARCH=h8300
+MACH=2638
+BOARD=h8canusb
+
+CC = h8300-coff-gcc
+LINK = h8300-coff-ld
+AR = h8300-coff-ar
+OBJCOPY = h8300-coff-objcopy
+
+TARGET_ARCH = -ms
+
+HIT_BAUD = 57600 
+TOHIT = $(MAKERULES_DIR)/app/tohit/tohit --baud $(HIT_BAUD) --sdev /dev/ttyS0
+LOAD_CMD-ram = $(TOHIT) --blockmode 32 --start 0x200000
+LOAD_CMD-boot = \
+       $(TOHIT) --erase --start 0x000000 --length 0x1600; \
+       $(TOHIT) --command 1 --blockmode 32 --start 0x000000 
+LOAD_CMD-bload = $(TOHIT) --command B --blockmode 128 --baud 4800
+LOAD_CMD-flash = \
+       $(TOHIT) --erase --start 0x004000 --length 0x03C000; \
+       $(TOHIT) --command 1 --blockmode 32 --start 0x004000 
+
+RUN_CMD-ram = $(TOHIT) --go 0x200000
+
+# This selects linker script
+BOARD_LAYOUT=h8canusb
+DEFAULT_LINK_VARIANT=ram