changeset 30:572c3ee87676

components/nucleus_{flash,intram}: ported from Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 18:54:33 +0000
parents 9ab2f6dc1974
children e35ac0b021b6
files components/nucleus_flash components/nucleus_intram
diffstat 2 files changed, 106 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/nucleus_flash	Fri Oct 16 18:54:33 2020 +0000
@@ -0,0 +1,73 @@
+# New Tourmaline component: compiling Nucleus from source (XIP)
+
+CFLAGS="-mn -me -mt -o -mw"
+CPPFLAGS=
+
+SRCDIR=$SRC/nucleus
+
+cfile_plain $SRCDIR/dmce.c
+cfile_plain $SRCDIR/dmd.c
+cfile_plain $SRCDIR/dmf.c
+cfile_plain $SRCDIR/dmi.c
+cfile_plain $SRCDIR/dms.c
+cfile_plain $SRCDIR/erc.c
+cfile_plain $SRCDIR/erd.c
+cfile_plain $SRCDIR/eri.c
+cfile_plain $SRCDIR/evc.c
+cfile_plain $SRCDIR/evce.c
+cfile_plain $SRCDIR/evd.c
+cfile_plain $SRCDIR/evf.c
+cfile_plain $SRCDIR/evi.c
+cfile_plain $SRCDIR/hic.c
+cfile_plain $SRCDIR/hid.c
+cfile_plain $SRCDIR/hii.c
+cfile_plain $SRCDIR/inc.c
+cfile_plain $SRCDIR/ioc.c
+cfile_plain $SRCDIR/ioce.c
+cfile_plain $SRCDIR/iod.c
+cfile_plain $SRCDIR/iof.c
+cfile_plain $SRCDIR/ioi.c
+cfile_plain $SRCDIR/lic.c
+cfile_plain $SRCDIR/lid.c
+cfile_plain $SRCDIR/mbc.c
+cfile_plain $SRCDIR/mbce.c
+cfile_plain $SRCDIR/mbd.c
+cfile_plain $SRCDIR/mbf.c
+cfile_plain $SRCDIR/mbi.c
+cfile_plain $SRCDIR/mbs.c
+cfile_plain $SRCDIR/mbse.c
+cfile_plain $SRCDIR/pic.c
+cfile_plain $SRCDIR/pice.c
+cfile_plain $SRCDIR/pid.c
+cfile_plain $SRCDIR/pif.c
+cfile_plain $SRCDIR/pii.c
+cfile_plain $SRCDIR/pis.c
+cfile_plain $SRCDIR/pise.c
+cfile_plain $SRCDIR/pmf.c
+cfile_plain $SRCDIR/pmi.c
+cfile_plain $SRCDIR/quc.c
+cfile_plain $SRCDIR/quce.c
+cfile_plain $SRCDIR/qud.c
+cfile_plain $SRCDIR/quf.c
+cfile_plain $SRCDIR/qui.c
+cfile_plain $SRCDIR/qus.c
+cfile_plain $SRCDIR/quse.c
+cfile_plain $SRCDIR/rlc.c
+cfile_plain $SRCDIR/rld.c
+cfile_plain $SRCDIR/smf.c
+cfile_plain $SRCDIR/smi.c
+cfile_plain $SRCDIR/sms.c
+cfile_plain $SRCDIR/smse.c
+cfile_plain $SRCDIR/tcf.c
+cfile_plain $SRCDIR/tcfe.c
+cfile_plain $SRCDIR/tci.c
+cfile_plain $SRCDIR/tcs.c
+cfile_plain $SRCDIR/tcse.c
+cfile_plain $SRCDIR/tmf.c
+cfile_plain $SRCDIR/tmi.c
+
+# TCS211 version of Nucleus has dmc.c compiled without -o
+
+CFLAGS="-mn -me -mt -mw"
+
+cfile_plain $SRCDIR/dmc.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/nucleus_intram	Fri Oct 16 18:54:33 2020 +0000
@@ -0,0 +1,33 @@
+# New Tourmaline component: compiling Nucleus from source (internal RAM)
+
+CFLAGS="-mn -me -mt -o -mw"
+CPPFLAGS=
+
+SRCDIR=$SRC/nucleus
+
+cfile_plain $SRCDIR/csc.c
+cfile_plain $SRCDIR/pmc.c
+cfile_plain $SRCDIR/pmce.c
+cfile_plain $SRCDIR/pmd.c
+cfile_plain $SRCDIR/smc.c
+cfile_plain $SRCDIR/smce.c
+cfile_plain $SRCDIR/smd.c
+cfile_plain $SRCDIR/tcc.c
+cfile_plain $SRCDIR/tcce.c
+cfile_plain $SRCDIR/tcd.c
+cfile_plain $SRCDIR/tmc.c
+cfile_plain $SRCDIR/tmd.c
+cfile_plain $SRCDIR/tms.c
+cfile_plain $SRCDIR/tmse.c
+
+# assembly modules
+
+ASMFLAGS=-me
+ASMFLAGS="$ASMFLAGS -dOP_L1_STANDALONE=0"
+ASMFLAGS="$ASMFLAGS -dTI_NUC_MONITOR=0"
+
+SRCDIR=$SRC/cs/os/nucleus
+asm_file $SRCDIR/tct.s
+
+SRCDIR=$SRC/nucleus/tms470
+asm_file $SRCDIR/tmt.s