FreeCalypso > hg > ffs-editor
annotate components/nucleus_intram @ 16:9582c4e40607
armio.c: no board-specific GPIO config
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 15 May 2020 04:43:00 +0000 |
parents | 3b367f330821 |
children |
rev | line source |
---|---|
5
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 # New Selenite component: compiling Nucleus from source (internal RAM) |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 CFLAGS="-mn -me -mt -o -mw" |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork" |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 CPPFLAGS= |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 SRCDIR=$SRC/nucleus |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 c_file $SRCDIR/csc.c |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 c_file $SRCDIR/pmc.c |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 c_file $SRCDIR/pmce.c |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 c_file $SRCDIR/pmd.c |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 c_file $SRCDIR/smc.c |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 c_file $SRCDIR/smce.c |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 c_file $SRCDIR/smd.c |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 c_file $SRCDIR/tcc.c |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 c_file $SRCDIR/tcce.c |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 c_file $SRCDIR/tcd.c |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 c_file $SRCDIR/tmc.c |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 c_file $SRCDIR/tmd.c |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 c_file $SRCDIR/tms.c |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 c_file $SRCDIR/tmse.c |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 # assembly modules |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 if [ "$COMPILER" = tms470 ] |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 then |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 ASMFLAGS=-me |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 ASMFLAGS="$ASMFLAGS -dOP_L1_STANDALONE=0" |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 ASMFLAGS="$ASMFLAGS -dTI_NUC_MONITOR=0" |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 SRCDIR=$SRC/cs/os/nucleus |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 asm_file $SRCDIR/tct.s |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 SRCDIR=$SRC/nucleus/tms470 |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 asm_file $SRCDIR/tmt.s |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 fi |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 if [ "$COMPILER" = gcc ] |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 then |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 ASMFLAGS=-mthumb-interwork |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 SRCDIR=$SRC/nucleus/gcc |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 asm_file $SRCDIR/tct.S |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 asm_file $SRCDIR/tmt.S |
3b367f330821
components: pruned import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 fi |