changeset 121:746db8fa3398

C155 bootloader interface support for TMS470
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 07 Nov 2018 06:42:31 +0000
parents 43a210bbcc63
children 7c68000b87cf
files components/main src/cs/system/main/int.s
diffstat 2 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/components/main	Wed Nov 07 06:33:43 2018 +0000
+++ b/components/main	Wed Nov 07 06:42:31 2018 +0000
@@ -84,6 +84,13 @@
 ASMFLAGS="$ASMFLAGS -dOP_WCP=0"
 ASMFLAGS="$ASMFLAGS -dWCP_PROF=0"
 
+if [ "$TARGET" = c155 ]
+then
+	ASMFLAGS="$ASMFLAGS -dC155_TARGET=1"
+else
+	ASMFLAGS="$ASMFLAGS -dC155_TARGET=0"
+fi
+
 asm_file $SRCDIR/int.s
 
 fi
--- a/src/cs/system/main/int.s	Wed Nov 07 06:33:43 2018 +0000
+++ b/src/cs/system/main/int.s	Wed Nov 07 06:42:31 2018 +0000
@@ -335,6 +335,12 @@
 	.ref	.bss
 	.ref	end
 
+  .if C155_TARGET = 1
+	.def	INT_C155_Boot_Entry
+INT_C155_Boot_Entry
+	B	_INT_Initialize
+  .endif
+
 ;
 ;/* Define indirect branching labels for the vector table  */
 ;