view components/frame_na7_db_ir-partial @ 639:026c98f757a6

tpudrv12.h & targets/gtm900.h: our current support is for MGC2GSMT version only As it turns out, there exist two different Huawei-made hw platforms both bearing the marketing name GTM900-B: one is MG01GSMT, the other is MGC2GSMT. The two are NOT fw-compatible: aside from flash chip differences which should be handled by autodetection, the two hw platforms are already known to have different RFFEs with different control signals, and there may be other differences not yet known. Our current gtm900 build target is for MGC2GSMT only; we do not yet have a specimen of MG01GSMT on hand, hence no support for that version will be possible until and unless someone provides one.
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 30 Jan 2020 18:19:01 +0000
parents 41b6a18ffa0b
children
line wrap: on
line source

# Building frame_na7_db_ir.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_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/$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/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"