FreeCalypso > hg > fc-selenite
annotate components/nucleus_intram @ 47:d2074d1102e0
L1 data section placement: support both TMS470 and gcc
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 19 Jul 2018 01:04:05 +0000 |
parents | 614668bbbc4f |
children | a9a7d531e673 |
rev | line source |
---|---|
37
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 # New Selenite component: compiling Nucleus from source (internal RAM) |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 CFLAGS="-mn -me -mt -o -mw" |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 CPPFLAGS= |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 SRCDIR=$SRC/nucleus |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 c_file $SRCDIR/csc.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 c_file $SRCDIR/pmc.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 c_file $SRCDIR/pmce.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 c_file $SRCDIR/pmd.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 c_file $SRCDIR/smc.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 c_file $SRCDIR/smce.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 c_file $SRCDIR/smd.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 c_file $SRCDIR/tcc.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 c_file $SRCDIR/tcce.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 c_file $SRCDIR/tcd.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 c_file $SRCDIR/tmc.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 c_file $SRCDIR/tmd.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 c_file $SRCDIR/tms.c |
77864d54a5ff
components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 c_file $SRCDIR/tmse.c |
39
4934b474b5c3
components/nucleus_intram: incorporated tct.s from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
22 |
4934b474b5c3
components/nucleus_intram: incorporated tct.s from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
23 # assembly modules |
4934b474b5c3
components/nucleus_intram: incorporated tct.s from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
24 |
4934b474b5c3
components/nucleus_intram: incorporated tct.s from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
25 if [ "$COMPILER" = tms470 ] |
4934b474b5c3
components/nucleus_intram: incorporated tct.s from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
26 then |
4934b474b5c3
components/nucleus_intram: incorporated tct.s from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
27 ASMFLAGS=-me |
4934b474b5c3
components/nucleus_intram: incorporated tct.s from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
28 ASMFLAGS="$ASMFLAGS -dOP_L1_STANDALONE=0" |
4934b474b5c3
components/nucleus_intram: incorporated tct.s from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
29 ASMFLAGS="$ASMFLAGS -dTI_NUC_MONITOR=0" |
4934b474b5c3
components/nucleus_intram: incorporated tct.s from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
30 |
4934b474b5c3
components/nucleus_intram: incorporated tct.s from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
31 SRCDIR=$SRC/cs/os/nucleus |
4934b474b5c3
components/nucleus_intram: incorporated tct.s from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
32 asm_file $SRCDIR/tct.s |
40
614668bbbc4f
Nucleus: tmt.s ported over from FreeNucleus by XVilka
Mychaela Falconia <falcon@freecalypso.org>
parents:
39
diff
changeset
|
33 |
614668bbbc4f
Nucleus: tmt.s ported over from FreeNucleus by XVilka
Mychaela Falconia <falcon@freecalypso.org>
parents:
39
diff
changeset
|
34 SRCDIR=$SRC/nucleus/tms470 |
614668bbbc4f
Nucleus: tmt.s ported over from FreeNucleus by XVilka
Mychaela Falconia <falcon@freecalypso.org>
parents:
39
diff
changeset
|
35 asm_file $SRCDIR/tmt.s |
39
4934b474b5c3
components/nucleus_intram: incorporated tct.s from TCS211
Mychaela Falconia <falcon@freecalypso.org>
parents:
37
diff
changeset
|
36 fi |