FreeCalypso > hg > fc-magnetite
diff components/riviera_cust_flash @ 319:9ffdfacfe969
implemented pseudo-modem keepalive for C139 and Pirelli targets
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 03 Dec 2017 03:51:28 +0000 |
parents | 036e8f92c158 |
children | aee911923299 |
line wrap: on
line diff
--- a/components/riviera_cust_flash Sun Dec 03 01:24:19 2017 +0000 +++ b/components/riviera_cust_flash Sun Dec 03 03:51:28 2017 +0000 @@ -3,6 +3,19 @@ CFLAGS="-mn -mt -me -pw2" CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470" +if [ "$MMI" = 0 ] +then + case "$TARGET" in + c139) + CPPFLAGS="$CPPFLAGS -DPSEUDO_MODEM_KEEPALIVE" + ;; + pirelli) + CPPFLAGS="$CPPFLAGS -DPSEUDO_MODEM_KEEPALIVE" + CPPFLAGS="$CPPFLAGS -DPSEUDO_MODEM_USB" + ;; + esac +fi + # Includes CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus" @@ -40,3 +53,4 @@ cfile_plain $SRCDIR/rvt/rvt_api.c cfile_plain $SRCDIR/rvt/rvt_env.c cfile_plain $SRCDIR/rvt/rvt_task.c +cfile_plain $SRCDIR/rvt/rvt_keepalive.c