annotate components/main @ 66:3d8f62baeca1

src/cs/drivers/drv_app/r2d/r2d_config.h: include case fixes
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 20 Jul 2018 00:28:56 +0000
parents 1eb391057168
children 621b358b760d
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 main.lib with recompilation of the init module
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 # C modules
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 CFLAGS="-mn -mt -o -x -mw -me -pw2"
50
a9a7d531e673 components: initial support for gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 32
diff changeset
6 CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb"
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 if [ "$TARGET" = c139 -o "$TARGET" = c11x ]
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 then
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 CPPFLAGS="$CPPFLAGS -DCONFIG_RVTMUX_ON_MODEM"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 fi
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 # Includes
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15
32
b6c8dd9a1b02 components: switch to new Nucleus
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
16 CPPFLAGS="$CPPFLAGS -I$SRC/nucleus"
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 CPPFLAGS="$CPPFLAGS -I.."
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 CPPFLAGS="$CPPFLAGS -I../config"
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
19 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc"
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
20 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame/cust_os"
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_cust0"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_include"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/cust0"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/hmacs"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/p_include"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_include"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_cust0"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/dyn_dwl_include"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/p_source0"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source0"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52 CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53
52
1eb391057168 Main and Audio source directories lowercased
Mychaela Falconia <falcon@freecalypso.org>
parents: 50
diff changeset
54 SRCDIR=$SRC/cs/system/main
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
56 c_file $SRCDIR/init.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
57 c_file $SRCDIR/create_RVtasks.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
58 c_file $SRCDIR/main.c
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
59 c_file $SRCDIR/sys_dummy.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60
50
a9a7d531e673 components: initial support for gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 32
diff changeset
61 # mem_load.c and int.s are for the TMS470 version only
a9a7d531e673 components: initial support for gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 32
diff changeset
62
a9a7d531e673 components: initial support for gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 32
diff changeset
63 if [ "$COMPILER" = tms470 ]
a9a7d531e673 components: initial support for gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 32
diff changeset
64 then
a9a7d531e673 components: initial support for gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 32
diff changeset
65
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
66 # Different CFLAGS for mem_load.c
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
67
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
68 CFLAGS="-o -mw -me -pw2"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
69
22
0a1a78944683 components: first automated conversion pass
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
70 c_file $SRCDIR/mem_load.c
10
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
71
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
72 # Assembly module
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
73
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
74 ASMFLAGS=-me
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
75 ASMFLAGS="$ASMFLAGS -dBOARD=41"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
76 ASMFLAGS="$ASMFLAGS -dCHIPSET=$CHIPSET"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
77 ASMFLAGS="$ASMFLAGS -dLONG_JUMP=3"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
78 ASMFLAGS="$ASMFLAGS -dTOOL_CHOICE=0"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
79 ASMFLAGS="$ASMFLAGS -dR2D_ASM=0"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
80 ASMFLAGS="$ASMFLAGS -dR2D_LCD_TEST=0"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
81 ASMFLAGS="$ASMFLAGS -dTI_PROFILER=0"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
82 ASMFLAGS="$ASMFLAGS -dTI_NUC_MONITOR=0"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
83 ASMFLAGS="$ASMFLAGS -dL1_GPRS=$GPRS"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
84 ASMFLAGS="$ASMFLAGS -dOP_WCP=0"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
85 ASMFLAGS="$ASMFLAGS -dWCP_PROF=0"
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
86
a8f9cc376e98 components: pruned import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
87 asm_file $SRCDIR/int.s
50
a9a7d531e673 components: initial support for gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 32
diff changeset
88
a9a7d531e673 components: initial support for gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 32
diff changeset
89 fi