annotate components/misc_na7_db_ir @ 107:b882091ebb68

gprscomp.c: DMEM_PARTITION_1_SIZE bumped from 1600 to 1700 for gcc These large DMEM partitions are used for T_CCD_Globs structure allocations by the GRLC and GRR entities, and this structure contains a jmp_buf for setjmp/longjmp. Our gcc/newlib version of jmp_buf is bigger than TI's TMS470, and the whole structure is now 1636 bytes instead of 1584.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 23 Jul 2018 19:45:50 +0000
parents 5c4db73d289a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 # Building misc_na7_db_ir.lib using the GPF source bits we got with TCS211
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 CFLAGS="-mw -x -pw2 -o -me -mt -g -mn"
103
1155be085fc1 components/*: added -g to CFLAGS_gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 50
diff changeset
4 CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork"
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 # Defines
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 CPPFLAGS="-D_TARGET_ -D_NUCLEUS_ -DRUN_INT_RAM"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
105
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
10 if [ "$MEMSUPER" != 0 ]
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
11 then
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
12 CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION"
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
13 fi
5c4db73d289a build system support for memory supervision
Mychaela Falconia <falcon@freecalypso.org>
parents: 103
diff changeset
14
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 # Includes
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
27
0309400d714d components: gpf2/gpf3 paths changed to just gpf
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
17 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/misc"
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
18 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc/nuc"
32
b6c8dd9a1b02 components: switch to new Nucleus
Mychaela Falconia <falcon@freecalypso.org>
parents: 29
diff changeset
19 CPPFLAGS="$CPPFLAGS -I$SRC/nucleus"
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
20 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc"
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 # Source modules
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23
27
0309400d714d components: gpf2/gpf3 paths changed to just gpf
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
24 SRCDIR=$SRC/gpf/misc
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
26 c_file $SRCDIR/printtofile.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
27 c_file $SRCDIR/tok.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
28 c_file $SRCDIR/tools.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
29 c_file $SRCDIR/misc_version.c