view components/frame_na7_db_fl @ 10:a8f9cc376e98

components: pruned import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 21:19:43 +0000
parents
children 0a1a78944683
line wrap: on
line source

# Building frame_na7_db_fl.lib using the GPF source bits we got with TCS3.2

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_plain $SRCDIR/frame.c
cfile_plain $SRCDIR/vsi_sem.c
cfile_plain $SRCDIR/vsi_com.c
cfile_plain $SRCDIR/vsi_mem.c
cfile_plain $SRCDIR/vsi_tim.c
cfile_plain $SRCDIR/vsi_mis.c
cfile_plain $SRCDIR/vsi_drv.c
cfile_plain $SRCDIR/vsi_trc.c
cfile_plain $SRCDIR/vsi_pro.c
cfile_plain $SRCDIR/xalert.c
cfile_plain $SRCDIR/route.c
cfile_plain $SRCDIR/prf_func.c
cfile_plain $SRCDIR/frm_ext.c
cfile_plain $SRCDIR/frame_version.c

# OSL

# drop -o3
CFLAGS="-mw -x -pw2 -o -me -mt -g -mn"

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