comparison components/frame_fl @ 38:e58a5bb12de4

experimental support for GPF memory supervision
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 17 Oct 2020 07:35:14 +0000
parents 9ab2f6dc1974
children
comparison
equal deleted inserted replaced
37:820ce39cf6df 38:e58a5bb12de4
4 4
5 # Defines 5 # Defines
6 6
7 CPPFLAGS="-DNU_DEBUG -D_FF_RV_EXIST_ -DRUN_FLASH" 7 CPPFLAGS="-DNU_DEBUG -D_FF_RV_EXIST_ -DRUN_FLASH"
8 CPPFLAGS="$CPPFLAGS -D_TARGET_ -D_NUCLEUS_" 8 CPPFLAGS="$CPPFLAGS -D_TARGET_ -D_NUCLEUS_"
9
10 if [ "$MEMSUPER" != 0 ]
11 then
12 CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION"
13 fi
14 if [ "$MEMSUPER" = 2 ]
15 then
16 CPPFLAGS="$CPPFLAGS -DOPTIMIZE_POOL"
17 fi
9 18
10 # Includes 19 # Includes
11 20
12 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame" 21 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame"
13 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc/nuc" 22 CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc/nuc"
26 cfile_symlink $SRCDIR/vsi_tim.c 35 cfile_symlink $SRCDIR/vsi_tim.c
27 cfile_symlink $SRCDIR/vsi_mis.c 36 cfile_symlink $SRCDIR/vsi_mis.c
28 cfile_symlink $SRCDIR/vsi_drv.c 37 cfile_symlink $SRCDIR/vsi_drv.c
29 cfile_symlink $SRCDIR/vsi_trc.c 38 cfile_symlink $SRCDIR/vsi_trc.c
30 cfile_symlink $SRCDIR/vsi_pro.c 39 cfile_symlink $SRCDIR/vsi_pro.c
40 if [ "$MEMSUPER" != 0 ]
41 then
42 cfile_symlink $SRCDIR/vsi_ppm.c
43 fi
31 cfile_symlink $SRCDIR/xalert.c 44 cfile_symlink $SRCDIR/xalert.c
32 cfile_symlink $SRCDIR/route.c 45 cfile_symlink $SRCDIR/route.c
33 cfile_symlink $SRCDIR/prf_func.c 46 cfile_symlink $SRCDIR/prf_func.c
34 cfile_symlink $SRCDIR/frm_ext.c 47 cfile_symlink $SRCDIR/frm_ext.c
35 cfile_symlink $SRCDIR/frame_version.c 48 cfile_symlink $SRCDIR/frame_version.c
54 cfile_plain $SRCDIR/os_tim_fl.c 67 cfile_plain $SRCDIR/os_tim_fl.c
55 68
56 else 69 else
57 70
58 OBJDIR=../../blobs/osl/fl 71 OBJDIR=../../blobs/osl/fl
72 OBJDIR_PS=../../blobs/osl/fl_ps
59 73
60 OBJS="$OBJS $OBJDIR/os_com.obj" 74 OBJS="$OBJS $OBJDIR/os_com.obj"
61 OBJS="$OBJS $OBJDIR/os_drv.obj" 75 OBJS="$OBJS $OBJDIR/os_drv.obj"
62 OBJS="$OBJS $OBJDIR/os_evt.obj" 76 OBJS="$OBJS $OBJDIR/os_evt.obj"
63 OBJS="$OBJS $OBJDIR/os_isr.obj" 77 OBJS="$OBJS $OBJDIR/os_isr.obj"
64 OBJS="$OBJS $OBJDIR/os_mem.obj" 78 if [ "$MEMSUPER" != 0 ]
65 OBJS="$OBJS $OBJDIR/os_mis.obj" 79 then
80 OBJS="$OBJS $OBJDIR_PS/os_mem.obj"
81 OBJS="$OBJS $OBJDIR_PS/os_mis.obj"
82 else
83 OBJS="$OBJS $OBJDIR/os_mem.obj"
84 OBJS="$OBJS $OBJDIR/os_mis.obj"
85 fi
66 OBJS="$OBJS $OBJDIR/os_pro.obj" 86 OBJS="$OBJS $OBJDIR/os_pro.obj"
67 OBJS="$OBJS $OBJDIR/os_sem.obj" 87 OBJS="$OBJS $OBJDIR/os_sem.obj"
68 OBJS="$OBJS $OBJDIR/os_tim.obj" 88 OBJS="$OBJS $OBJDIR/os_tim.obj"
69 89
70 fi 90 fi