]> rtime.felk.cvut.cz Git - sysless.git/commitdiff
Added priliminary support for h8eurobot board.
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 23 Jan 2007 10:20:00 +0000 (10:20 +0000)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Tue, 16 Nov 2010 15:54:51 +0000 (16:54 +0100)
darcs-hash:20070123102025-f2ef6-e773c95072e64de2542dbbb76839ffb1b7b54c43.gz

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

diff --git a/board/h8300/h8eurobot/config/config.h8eurobot b/board/h8300/h8eurobot/config/config.h8eurobot
new file mode 100644 (file)
index 0000000..c2685bd
--- /dev/null
@@ -0,0 +1,44 @@
+# -*- makefile -*-
+
+ARCH=h8300
+MACH=2638
+BOARD=h8eurobot
+
+PREFIX_DIR=$(BOARD)
+
+CFLAGS+=-DBTH_LX
+
+CROSS_COMPILE = h8300-coff-
+TARGET_ARCH = -ms
+
+# Set default C flags. If theese are set elsewhere (e.g. on a command
+# line), these default flags are not used.
+DEBUG ?= -g
+OPTIMIZE ?= -O2
+
+-include $(MAKERULES_DIR)/config.tohit
+HIT_BAUD ?= 57600
+HIT_DEV ?= /dev/ttyS0
+TOHIT = $(MAKERULES_DIR)/$(COMPILED_DIR_NAME)/bin-utils/tohit --baud $(HIT_BAUD) --sdev $(HIT_DEV)
+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
+RUN_CMD-flash = $(TOHIT) --go 0x004000
+
+# This selects linker script
+LD_SCRIPT = h8canusb
+DEFAULT_LD_SCRIPT_VARIANT = flash
+
+OUTPUT_FORMATS = bin
+
+
+CONFIG_USB_BASE=n
+CONFIG_USB_PDIUSB=n
+CONFIG_USB_MORE=n
+CONFIG_NO_STDIO=y
\ No newline at end of file