view components/frame_na7_db_fl-partial @ 634:6edd9be81b94

doc/Leonardo-target: update for Tango and Caramel
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 04 Jan 2020 20:48:07 +0000
parents 41b6a18ffa0b
children
line wrap: on
line source

# Building frame_na7_db_fl.lib using the GPF source bits we got with TCS3.2
# This version uses the original TCS211 objects for the OSL part

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/$GPF/inc/nuc/arm7"
CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
CPPFLAGS="$CPPFLAGS -I$SRC/gpf2/tst"

# Source modules

SRCDIR=$SRC/gpf3/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

OBJDIR=../../blobs/obj/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"