URL
https://opencores.org/ocsvn/minsoc/minsoc/trunk
Subversion Repositories minsoc
Compare Revisions
- This comparison shows the changes necessary to convert path
/minsoc/trunk/sw/uart
- from Rev 64 to Rev 55
- ↔ Reverse comparison
Rev 64 → Rev 55
/common.mk
File deleted
common.mk
Property changes :
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: Makefile
===================================================================
--- Makefile (nonexistent)
+++ Makefile (revision 55)
@@ -0,0 +1,24 @@
+cases = uart-nocache uart-icdc
+common = ../support/except.o ../support/libsupport.a
+drivers = ../drivers/libdrivers.a
+
+all: $(cases)
+
+uart-nocache: uart.o ../support/reset-nocache.o $(common) $(drivers)
+ $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32
+ $(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
+ ../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
+ ../utils/bin2vmem $@.bin > $@.vmem
+
+
+uart-icdc: uart.o ../support/reset-icdc.o $(common) $(drivers)
+ $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $(GCC_LIB_OPTS) -T ../support/orp.ld $? -o $@.or32
+ $(OR32_TOOL_PREFIX)-objcopy -O binary $@.or32 $@.bin
+ ../utils/bin2hex $@.bin 1 -size_word > $@$(FLASH_MEM_HEX_FILE_SUFFIX).hex
+ ../utils/bin2vmem $@.bin > $@.vmem
+
+
+uart.o: uart.c
+ $(OR32_TOOL_PREFIX)-gcc $(GCC_OPT) $? -c -o $@
+
+include ../support/Makefile.inc
Makefile
Property changes :
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: uart.c
===================================================================
--- uart.c (revision 64)
+++ uart.c (revision 55)
@@ -1,5 +1,5 @@
-#include "../../backend/board.h"
#include "../support/support.h"
+#include "../support/board.h"
#include "../support/or1200.h"
#include "../drivers/uart.h"