view components/ccddata @ 192:4f40ae165be4

abb.c & init.c: sync with Magnetite for Luna additions These Luna target-specific additions are conditionalized on CONFIG_TARGET_LUNA, a C preprocessor symbol that will never be defined in Selenite, hence this change has exactly zero impact on FC Selenite. However, they are being pulled in as a sync in order to keep the diff between Magnetite and Selenite to a minimum; keeping this diff to a minimum increases our opportunities for possible evolution of future FC firmwares.
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 23 May 2020 07:03:46 +0000
parents 5c4db73d289a
children
line wrap: on
line source

# Building ccddata.lib using TCS3.2 CCD source

CFLAGS="-me -mt -o -pw2 -x -mw"
CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb"
CPPFLAGS="-D_TMS470 -DNEW_FRAME -DNEW_ENTITY -DCCDDATA_STATIC_DATA"

if [ "$MEMSUPER" != 0 ]
then
	CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION"
fi

# Includes

CPPFLAGS="$CPPFLAGS -I$SRC/gpf/ccd"
CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc"
CPPFLAGS="$CPPFLAGS -I../../cdg-hybrid/cdginc"

# Source modules

SRCDIR=$SRC/gpf/ccd

c_file $SRCDIR/ccd_config.c
c_file $SRCDIR/ccddata_mconst.c
c_file $SRCDIR/ccddata_ccdmtab.c
c_file $SRCDIR/ccddata_cdemval.c
c_file $SRCDIR/ccddata_ccdent.c
c_file $SRCDIR/ccddata_ccd.c