diff components/main @ 121:746db8fa3398

C155 bootloader interface support for TMS470
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 07 Nov 2018 06:42:31 +0000
parents 7f0681afe430
children 5b0e7f9b3d05
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