FreeCalypso > hg > fc-tourmaline
changeset 29:9ab2f6dc1974
components/frame_{fl,ir} crafted
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 16 Oct 2020 18:39:09 +0000 |
parents | b5a5e3ea94ed |
children | 572c3ee87676 |
files | components/frame_fl components/frame_ir |
diffstat | 2 files changed, 138 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/frame_fl Fri Oct 16 18:39:09 2020 +0000 @@ -0,0 +1,70 @@ +# Building frame_fl.lib using a mixture of source and blobs as configured + +CFLAGS="-mw -x -pw2 -o3 -me -mt -g -mn" + +# Defines + +CPPFLAGS="-DNU_DEBUG -D_FF_RV_EXIST_ -DRUN_FLASH" +CPPFLAGS="$CPPFLAGS -D_TARGET_ -D_NUCLEUS_" + +# Includes + +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame" +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc/nuc" +CPPFLAGS="$CPPFLAGS -I$SRC/nucleus" +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc" +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/tst" + +# Source modules + +SRCDIR=$SRC/gpf/frame + +cfile_symlink $SRCDIR/frame.c +cfile_symlink $SRCDIR/vsi_sem.c +cfile_symlink $SRCDIR/vsi_com.c +cfile_symlink $SRCDIR/vsi_mem.c +cfile_symlink $SRCDIR/vsi_tim.c +cfile_symlink $SRCDIR/vsi_mis.c +cfile_symlink $SRCDIR/vsi_drv.c +cfile_symlink $SRCDIR/vsi_trc.c +cfile_symlink $SRCDIR/vsi_pro.c +cfile_symlink $SRCDIR/xalert.c +cfile_symlink $SRCDIR/route.c +cfile_symlink $SRCDIR/prf_func.c +cfile_symlink $SRCDIR/frm_ext.c +cfile_symlink $SRCDIR/frame_version.c + +# OSL + +if [ "$OSL" = 1 ] +then + + # drop -o3 + CFLAGS="-mw -x -pw2 -o -me -mt -g -mn" + + SRCDIR=$SRC/gpf/osl + + cfile_plain $SRCDIR/os_com_fl.c + cfile_plain $SRCDIR/os_drv.c + cfile_plain $SRCDIR/os_isr.c + cfile_plain $SRCDIR/os_mem_fl.c + cfile_plain $SRCDIR/os_mis_fl.c + cfile_plain $SRCDIR/os_pro_fl.c + cfile_plain $SRCDIR/os_sem_fl.c + cfile_plain $SRCDIR/os_tim_fl.c + +else + + OBJDIR=../../blobs/osl/fl + + OBJS="$OBJS $OBJDIR/os_com.obj" + OBJS="$OBJS $OBJDIR/os_drv.obj" + OBJS="$OBJS $OBJDIR/os_evt.obj" + OBJS="$OBJS $OBJDIR/os_isr.obj" + OBJS="$OBJS $OBJDIR/os_mem.obj" + OBJS="$OBJS $OBJDIR/os_mis.obj" + OBJS="$OBJS $OBJDIR/os_pro.obj" + OBJS="$OBJS $OBJDIR/os_sem.obj" + OBJS="$OBJS $OBJDIR/os_tim.obj" + +fi
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/frame_ir Fri Oct 16 18:39:09 2020 +0000 @@ -0,0 +1,68 @@ +# Building frame_ir.lib using a mixture of source and blobs as configured + +CFLAGS="-mw -x -pw2 -o3 -me -mt -g -mn" + +# Defines + +CPPFLAGS="-DNU_DEBUG -D_FF_RV_EXIST_ -DRUN_INT_RAM" +CPPFLAGS="$CPPFLAGS -D_TARGET_ -D_NUCLEUS_" + +# Includes + +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame" +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc/nuc" +CPPFLAGS="$CPPFLAGS -I$SRC/nucleus" +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc" +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/tst" + +# Source modules + +SRCDIR=$SRC/gpf/frame + +cfile_symlink $SRCDIR/frame.c +cfile_symlink $SRCDIR/vsi_sem.c +cfile_symlink $SRCDIR/vsi_com.c +cfile_symlink $SRCDIR/vsi_mem.c +cfile_symlink $SRCDIR/vsi_tim.c +cfile_symlink $SRCDIR/vsi_mis.c +cfile_symlink $SRCDIR/vsi_drv.c +cfile_symlink $SRCDIR/vsi_trc.c +cfile_symlink $SRCDIR/vsi_pro.c +cfile_symlink $SRCDIR/xalert.c +cfile_symlink $SRCDIR/route.c +cfile_symlink $SRCDIR/prf_func.c +cfile_symlink $SRCDIR/frm_ext.c +cfile_symlink $SRCDIR/frame_version.c + +# OSL + +if [ "$OSL" = 1 ] +then + + # drop -o3 + CFLAGS="-mw -x -pw2 -o -me -mt -g -mn" + + SRCDIR=$SRC/gpf/osl + + cfile_plain $SRCDIR/os_com_ir.c + cfile_plain $SRCDIR/os_mem_ir.c + cfile_plain $SRCDIR/os_mis_ir.c + cfile_plain $SRCDIR/os_pro_ir.c + cfile_plain $SRCDIR/os_sem_ir.c + cfile_plain $SRCDIR/os_tim_ir.c + +else + + OBJDIR=../../blobs/osl/ir + + OBJS="$OBJS $OBJDIR/os_com.obj" + OBJS="$OBJS $OBJDIR/os_drv.obj" + OBJS="$OBJS $OBJDIR/os_evt.obj" + OBJS="$OBJS $OBJDIR/os_isr.obj" + OBJS="$OBJS $OBJDIR/os_mem.obj" + OBJS="$OBJS $OBJDIR/os_mis.obj" + OBJS="$OBJS $OBJDIR/os_pro.obj" + OBJS="$OBJS $OBJDIR/os_sem.obj" + OBJS="$OBJS $OBJDIR/os_tim.obj" + +fi