FreeCalypso > hg > ffs-editor
changeset 5:3b367f330821
components: pruned import from Selenite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 15 May 2020 02:20:23 +0000 |
parents | 7ed24ddc5c2a |
children | 6a05d91d1435 |
files | components/buzzer components/dar components/drivers_flash components/etm components/ffs components/ffs_drv components/libsys_fl components/libsys_ir components/main components/main_ir components/nucleus_flash components/nucleus_intram components/riviera_core_flash components/riviera_cust_flash |
diffstat | 14 files changed, 752 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/buzzer Fri May 15 02:20:23 2020 +0000 @@ -0,0 +1,39 @@ +# Building buzzer.lib + +CFLAGS="-mn -mt -o -x -mw -me -pw2" +CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb" +CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" + +# Includes + +CPPFLAGS="$CPPFLAGS -I$SRC/nucleus" +CPPFLAGS="$CPPFLAGS -I.." +CPPFLAGS="$CPPFLAGS -I../config" +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc" +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame/cust_os" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" + +# Source modules + +SRCDIR=$SRC/cs/drivers/drv_app/buzzer + +c_file $SRCDIR/buzzer.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/dar Fri May 15 02:20:23 2020 +0000 @@ -0,0 +1,56 @@ +# Building dar.lib + +CFLAGS="-mn -mt -me -pw2" +CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb" +CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" + +# Includes + +CPPFLAGS="$CPPFLAGS -I$SRC/nucleus" +CPPFLAGS="$CPPFLAGS -I.." +CPPFLAGS="$CPPFLAGS -I../config" +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc" +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame/cust_os" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_cust0" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_include" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/cust0" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/hmacs" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/p_include" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_include" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_cust0" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/dyn_dwl_include" + +# Source modules + +SRCDIR=$SRC/cs/services/dar + +c_file $SRCDIR/dar_env.c +c_file $SRCDIR/dar_api.c +c_file $SRCDIR/dar_task.c +c_file $SRCDIR/dar_handle_message.c +c_file $SRCDIR/dar_diagnose.c +c_file $SRCDIR/dar_error_hdlr.c +c_file $SRCDIR/dar_msg_ft.c +c_file $SRCDIR/dar_watchdog.c +c_file $SRCDIR/dar_emergency.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/drivers_flash Fri May 15 02:20:23 2020 +0000 @@ -0,0 +1,73 @@ +# Building drivers_flash.lib + +CFLAGS="-me -pw2 -mn -x -mt -o2 -mw" +CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb" +CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470 -DMMI=$MMI" + +# Includes + +CPPFLAGS="$CPPFLAGS -I../config" +CPPFLAGS="$CPPFLAGS -I$SRC/nucleus" +CPPFLAGS="$CPPFLAGS -I.." +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame/cust_os" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_cust0" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_include" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/cust0" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/hmacs" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/p_include" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_include" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_cust0" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/dyn_dwl_include" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/p_source0" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source0" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source" + +SRCDIR=$SRC/cs/drivers/drv_core + +# 1st set of source modules + +c_file $SRCDIR/dsp_dwnld/leadapi.c +c_file $SRCDIR/inth/niq.c +c_file $SRCDIR/uart/uart.c +c_file $SRCDIR/inth/inth.c +c_file $SRCDIR/timer/timer.c +c_file $SRCDIR/timer/timer1.c +c_file $SRCDIR/timer/timer2.c +c_file $SRCDIR/timer/timer_sec.c +c_file $SRCDIR/security/certificate.c +c_file $SRCDIR/clkm/clkm.c +c_file $SRCDIR/armio/armio.c + +# 2nd set of source modules + +CFLAGS="-me -pw2 -mn -mt" + +c_file $SRCDIR/spi/spi_drv.c +c_file $SRCDIR/abb/abb.c +c_file $SRCDIR/abb/abb_core_inth.c + +# niq32 + +CFLAGS="-me -pw2 -x -o -mw" +CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork" + +c_file $SRCDIR/inth/niq32.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/etm Fri May 15 02:20:23 2020 +0000 @@ -0,0 +1,55 @@ +# Building etm.lib + +CFLAGS="-mn -mt -mw -me -pw2" +CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb" +CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" + +# Includes + +CPPFLAGS="$CPPFLAGS -I$SRC/nucleus" +CPPFLAGS="$CPPFLAGS -I.." +CPPFLAGS="$CPPFLAGS -I../config" +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc" +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame/cust_os" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_cust0" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_include" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/cust0" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/hmacs" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/p_include" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_include" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_cust0" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/dyn_dwl_include" + +# Source modules + +SRCDIR=$SRC/cs/services/etm + +c_file $SRCDIR/etm_task.c +c_file $SRCDIR/etm_env.c +c_file $SRCDIR/etm_api.c +c_file $SRCDIR/etm_trace.c +#c_file $SRCDIR/etm_at.c +c_file $SRCDIR/etm_audio.c +c_file $SRCDIR/etm_tmcore.c +c_file $SRCDIR/etm_tmpwr.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/ffs Fri May 15 02:20:23 2020 +0000 @@ -0,0 +1,63 @@ +# Building ffs.lib + +CFLAGS="-mn -mt -o -x -mw -me -pw2" +CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb" + +# Defines + +CPPFLAGS="-DWITH_TFFS=0 -DTMFFS2" +if [ "$SRVC" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA=FAX_AND_DATA" +fi +CPPFLAGS="$CPPFLAGS -DTOOL_CHOICE=0 -D_TMS470" + +# Includes + +CPPFLAGS="$CPPFLAGS -I$SRC/nucleus" +CPPFLAGS="$CPPFLAGS -I.." +CPPFLAGS="$CPPFLAGS -I../config" +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc" +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame/cust_os" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" + +# Source modules + +SRCDIR=$SRC/cs/drivers/drv_app/ffs/board + +c_file $SRCDIR/amdsbdrv.c +c_file $SRCDIR/core.c +c_file $SRCDIR/drv.c +c_file $SRCDIR/ffstrace.c +c_file $SRCDIR/fsck.c +c_file $SRCDIR/intelsbdrv.c +c_file $SRCDIR/reclaim.c + +# ffs_target.c generation + +helpers/makeline dep ffs_target.c $SRCDIR/ffs.c $SRCDIR/mktarget.pl \ + >> $BUILD_DIR/$LIBNAME/Makefile +helpers/makeline cmd perl -w $SRCDIR/mktarget.pl $SRCDIR . \ + >> $BUILD_DIR/$LIBNAME/Makefile +echo >> $BUILD_DIR/$LIBNAME/Makefile + +c_file ffs_target.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/ffs_drv Fri May 15 02:20:23 2020 +0000 @@ -0,0 +1,95 @@ +# Building ffs_drv.lib + +CFLAGS="-mn -mt -o -x -mw -me -pw2" +CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb" + +# Defines + +CPPFLAGS="-DWITH_TFFS=0 -DTMFFS2" +if [ "$SRVC" != 0 ] +then + CPPFLAGS="$CPPFLAGS -DFAX_AND_DATA=FAX_AND_DATA" +fi +CPPFLAGS="$CPPFLAGS -DTOOL_CHOICE=0 -D_TMS470" + +# Includes + +CPPFLAGS="$CPPFLAGS -I$SRC/nucleus" +CPPFLAGS="$CPPFLAGS -I.." +CPPFLAGS="$CPPFLAGS -I../config" +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc" +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame/cust_os" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_cust0" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_include" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/cust0" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/hmacs" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/p_include" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_include" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_cust0" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/dyn_dwl_include" + +# Source modules + +SRCDIR=$SRC/cs/drivers/drv_app/ffs/board + +c_file $SRCDIR/cfgffs.c +c_file $SRCDIR/dev.c +c_file $SRCDIR/pcmcode.c +c_file $SRCDIR/task.c +c_file $SRCDIR/tmffs.c + +# Different CFLAGS and CPPFLAGS for ffs_env.c + +CFLAGS="-mn -mt -me -pw2" +CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" + +# Includes + +CPPFLAGS="$CPPFLAGS -I$SRC/nucleus" +CPPFLAGS="$CPPFLAGS -I.." +CPPFLAGS="$CPPFLAGS -I../config" +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc" +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame/cust_os" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" + +c_file $SRCDIR/ffs_env.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/libsys_fl Fri May 15 02:20:23 2020 +0000 @@ -0,0 +1,16 @@ +# gcc-only component: libsys (selective libc replacement) for flash + +ASMFLAGS=-mthumb-interwork +CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb" +CPPFLAGS= + +SRCDIR=$SRC/libsys + +c_file $SRCDIR/rand.c +c_file $SRCDIR/strtok.c +c_file $SRCDIR/sprintf/float.c +c_file $SRCDIR/sprintf/integer.c +c_file $SRCDIR/sprintf/sprintf.c +c_file $SRCDIR/sprintf/vspcore.c + +asm_file $SRCDIR/exitstub.S
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/libsys_ir Fri May 15 02:20:23 2020 +0000 @@ -0,0 +1,8 @@ +# gcc-only component: libsys (selective libc replacement) for IRAM + +ASMFLAGS=-mthumb-interwork +CPPFLAGS= + +SRCDIR=$SRC/libsys + +asm_file $SRCDIR/bzero.S
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/main Fri May 15 02:20:23 2020 +0000 @@ -0,0 +1,114 @@ +# Building main.lib with recompilation of the init module + +# C modules + +CFLAGS="-mn -mt -o -x -mw -me -pw2" +CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb" +CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" + +if [ "$RVTMUX_ON_MODEM" = 1 ] +then + CPPFLAGS="$CPPFLAGS -DCONFIG_RVTMUX_ON_MODEM" +fi + +# Includes + +CPPFLAGS="$CPPFLAGS -I$SRC/nucleus" +CPPFLAGS="$CPPFLAGS -I.." +CPPFLAGS="$CPPFLAGS -I../config" +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc" +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame/cust_os" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_cust0" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_include" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/cust0" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/hmacs" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/p_include" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_include" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_cust0" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/dyn_dwl_include" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/p_source0" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source0" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tpu_drivers/source" + +SRCDIR=$SRC/cs/system/main + +c_file $SRCDIR/init.c +c_file $SRCDIR/create_RVtasks.c +c_file $SRCDIR/main.c +c_file $SRCDIR/sys_dummy.c + +# mem_load.c and int.s are for the TMS470 version only + +if [ "$COMPILER" = tms470 ] +then + +# Different CFLAGS for mem_load.c + +CFLAGS="-o -mw -me -pw2" + +c_file $SRCDIR/mem_load.c + +# Assembly module + +ASMFLAGS=-me +ASMFLAGS="$ASMFLAGS -dBOARD=41" +ASMFLAGS="$ASMFLAGS -dCHIPSET=$CHIPSET" +ASMFLAGS="$ASMFLAGS -dLONG_JUMP=3" +ASMFLAGS="$ASMFLAGS -dTOOL_CHOICE=0" +ASMFLAGS="$ASMFLAGS -dR2D_ASM=0" +ASMFLAGS="$ASMFLAGS -dR2D_LCD_TEST=0" +ASMFLAGS="$ASMFLAGS -dTI_PROFILER=0" +ASMFLAGS="$ASMFLAGS -dTI_NUC_MONITOR=0" +ASMFLAGS="$ASMFLAGS -dL1_GPRS=$GPRS" +ASMFLAGS="$ASMFLAGS -dOP_WCP=0" +ASMFLAGS="$ASMFLAGS -dWCP_PROF=0" + +if [ "$TARGET" = c155 ] +then + ASMFLAGS="$ASMFLAGS -dC155_TARGET=1" +else + ASMFLAGS="$ASMFLAGS -dC155_TARGET=0" +fi + +if [ "$RF" = 12 ] +then + ASMFLAGS="$ASMFLAGS -dVCXO_26MHZ=1" +else + ASMFLAGS="$ASMFLAGS -dVCXO_26MHZ=0" +fi + +asm_file $SRCDIR/int.s + +fi + +# a couple of assembly modules for the gcc-built version + +if [ "$COMPILER" = gcc ] +then + ASMFLAGS=-mthumb-interwork + CPPFLAGS= + + asm_file $SRCDIR/gcc/exceptions.S + asm_file $SRCDIR/gcc/int_dummy.S +fi
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/main_ir Fri May 15 02:20:23 2020 +0000 @@ -0,0 +1,9 @@ +# gcc-only component: assembly modules for IRAM + +ASMFLAGS=-mthumb-interwork +CPPFLAGS=-I$SRC/nucleus/gcc + +SRCDIR=$SRC/cs/system/main/gcc + +asm_file $SRCDIR/irq_twiddle.S +asm_file $SRCDIR/irqfiq.S
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/nucleus_flash Fri May 15 02:20:23 2020 +0000 @@ -0,0 +1,69 @@ +# New Selenite component: compiling Nucleus from source (XIP) + +CFLAGS="-mn -me -mt -o -mw" +CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb" +CPPFLAGS= + +SRCDIR=$SRC/nucleus + +c_file $SRCDIR/dmc.c +c_file $SRCDIR/dmce.c +c_file $SRCDIR/dmd.c +c_file $SRCDIR/dmf.c +c_file $SRCDIR/dmi.c +c_file $SRCDIR/dms.c +c_file $SRCDIR/erc.c +c_file $SRCDIR/erd.c +c_file $SRCDIR/eri.c +c_file $SRCDIR/evc.c +c_file $SRCDIR/evce.c +c_file $SRCDIR/evd.c +c_file $SRCDIR/evf.c +c_file $SRCDIR/evi.c +c_file $SRCDIR/hic.c +c_file $SRCDIR/hid.c +c_file $SRCDIR/hii.c +c_file $SRCDIR/inc.c +c_file $SRCDIR/ioc.c +c_file $SRCDIR/ioce.c +c_file $SRCDIR/iod.c +c_file $SRCDIR/iof.c +c_file $SRCDIR/ioi.c +c_file $SRCDIR/lic.c +c_file $SRCDIR/lid.c +c_file $SRCDIR/mbc.c +c_file $SRCDIR/mbce.c +c_file $SRCDIR/mbd.c +c_file $SRCDIR/mbf.c +c_file $SRCDIR/mbi.c +c_file $SRCDIR/mbs.c +c_file $SRCDIR/mbse.c +c_file $SRCDIR/pic.c +c_file $SRCDIR/pice.c +c_file $SRCDIR/pid.c +c_file $SRCDIR/pif.c +c_file $SRCDIR/pii.c +c_file $SRCDIR/pis.c +c_file $SRCDIR/pise.c +c_file $SRCDIR/pmf.c +c_file $SRCDIR/pmi.c +c_file $SRCDIR/quc.c +c_file $SRCDIR/quce.c +c_file $SRCDIR/qud.c +c_file $SRCDIR/quf.c +c_file $SRCDIR/qui.c +c_file $SRCDIR/qus.c +c_file $SRCDIR/quse.c +c_file $SRCDIR/rlc.c +c_file $SRCDIR/rld.c +c_file $SRCDIR/smf.c +c_file $SRCDIR/smi.c +c_file $SRCDIR/sms.c +c_file $SRCDIR/smse.c +c_file $SRCDIR/tcf.c +c_file $SRCDIR/tcfe.c +c_file $SRCDIR/tci.c +c_file $SRCDIR/tcs.c +c_file $SRCDIR/tcse.c +c_file $SRCDIR/tmf.c +c_file $SRCDIR/tmi.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/nucleus_intram Fri May 15 02:20:23 2020 +0000 @@ -0,0 +1,46 @@ +# New Selenite component: compiling Nucleus from source (internal RAM) + +CFLAGS="-mn -me -mt -o -mw" +CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork" +CPPFLAGS= + +SRCDIR=$SRC/nucleus + +c_file $SRCDIR/csc.c +c_file $SRCDIR/pmc.c +c_file $SRCDIR/pmce.c +c_file $SRCDIR/pmd.c +c_file $SRCDIR/smc.c +c_file $SRCDIR/smce.c +c_file $SRCDIR/smd.c +c_file $SRCDIR/tcc.c +c_file $SRCDIR/tcce.c +c_file $SRCDIR/tcd.c +c_file $SRCDIR/tmc.c +c_file $SRCDIR/tmd.c +c_file $SRCDIR/tms.c +c_file $SRCDIR/tmse.c + +# assembly modules + +if [ "$COMPILER" = tms470 ] +then + ASMFLAGS=-me + ASMFLAGS="$ASMFLAGS -dOP_L1_STANDALONE=0" + ASMFLAGS="$ASMFLAGS -dTI_NUC_MONITOR=0" + + SRCDIR=$SRC/cs/os/nucleus + asm_file $SRCDIR/tct.s + + SRCDIR=$SRC/nucleus/tms470 + asm_file $SRCDIR/tmt.s +fi + +if [ "$COMPILER" = gcc ] +then + ASMFLAGS=-mthumb-interwork + + SRCDIR=$SRC/nucleus/gcc + asm_file $SRCDIR/tct.S + asm_file $SRCDIR/tmt.S +fi
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/riviera_core_flash Fri May 15 02:20:23 2020 +0000 @@ -0,0 +1,52 @@ +# Building riviera_core_flash.lib + +CFLAGS="-mn -mt -me -pw2" +CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb" +CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" + +# Includes + +CPPFLAGS="$CPPFLAGS -I$SRC/nucleus" +CPPFLAGS="$CPPFLAGS -I.." +CPPFLAGS="$CPPFLAGS -I../config" +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc" +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame/cust_os" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" + +# Source modules + +SRCDIR=$SRC/cs/riviera + +c_file $SRCDIR/rvf/rvf_buffer.c +c_file $SRCDIR/rvf/rvf_msg.c +c_file $SRCDIR/rvf/rvf_task.c +c_file $SRCDIR/rvf/rvf_time.c +c_file $SRCDIR/rvm/rvm_api.c +c_file $SRCDIR/rvm/rvm_group_swe.c +c_file $SRCDIR/rvm/rvm_mem.c +c_file $SRCDIR/rvm/rvm_swe_db.c +c_file $SRCDIR/rvm/rvm_swe_hdlr.c +c_file $SRCDIR/rvm/rvm_task.c +c_file $SRCDIR/support/exception.c +c_file $SRCDIR/rvf/rvf_trace_adapt.c +c_file $SRCDIR/rvt/ti_profiler/ti_profiler.c +c_file $SRCDIR/rvt/ti_profiler/ti_profiler_env.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/riviera_cust_flash Fri May 15 02:20:23 2020 +0000 @@ -0,0 +1,57 @@ +# Building riviera_cust_flash.lib + +CFLAGS="-mn -mt -me -pw2" +CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb" +CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" + +if [ "$MMI" = 0 ] +then + case "$TARGET" in + c11x|c139|c155|j100) + CPPFLAGS="$CPPFLAGS -DPSEUDO_MODEM_KEEPALIVE" + ;; + pirelli) + CPPFLAGS="$CPPFLAGS -DPSEUDO_MODEM_KEEPALIVE" + CPPFLAGS="$CPPFLAGS -DPSEUDO_MODEM_USB" + ;; + esac +fi + +# Includes + +CPPFLAGS="$CPPFLAGS -I$SRC/nucleus" +CPPFLAGS="$CPPFLAGS -I.." +CPPFLAGS="$CPPFLAGS -I../config" +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc" +CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame/cust_os" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/system" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app" +CPPFLAGS="$CPPFLAGS -I$SRC/cs/services" + +# Source modules + +SRCDIR=$SRC/cs/riviera + +c_file $SRCDIR/rvf/rvf_mem_pool.c +c_file $SRCDIR/rvm/rvm_swe.c +c_file $SRCDIR/rvt/rvt_api.c +c_file $SRCDIR/rvt/rvt_env.c +c_file $SRCDIR/rvt/rvt_task.c +c_file $SRCDIR/rvt/rvt_keepalive.c