3 @@ -1665,6 +1665,30 @@ AC_ARG_WITH(cflags,
7 +dnl overwrite default FW file name
10 + [--with-fw-file=val],
11 + [overwrite default FW file name]
14 + AC_MSG_RESULT([using firmware file $withval])
15 + AC_DEFINE_UNQUOTED([TD_FW_FILE], ["$withval"], [using firmware file])
19 +dnl overwrite default BBD file name
20 +AC_ARG_WITH(bbd-file,
22 + [--with-bbd-file=val],
23 + [overwrite default BBD file name]
26 + AC_MSG_RESULT([using BBD file $withval])
27 + AC_DEFINE_UNQUOTED([TD_BBD_FILE], ["$withval"], [using BBD file])
31 AC_CONFIG_FILES([Makefile])
32 AC_CONFIG_FILES([src/Makefile])
34 --- a/src/device_vmmc.c
35 +++ b/src/device_vmmc.c
41 + IFX_char_t* sBBD_CRAM_File_VMMC = TD_BBD_FILE;
42 + IFX_char_t* sBBD_CRAM_File_VMMC_Old = TD_BBD_FILE;
44 + /** File holding coefficients. */
46 + /** Prepare file names for DANUBE */
47 + IFX_char_t* sBBD_CRAM_File_VMMC = "danube_bbd.bin";
48 + IFX_char_t* sBBD_CRAM_File_VMMC_Old = "danube_bbd_fxs.bin";
50 + IFX_char_t* sBBD_CRAM_File_VMMC = "ar9_bbd.bin";
51 + IFX_char_t* sBBD_CRAM_File_VMMC_Old = "ar9_bbd_fxs.bin";
53 + IFX_char_t* sBBD_CRAM_File_VMMC = "bbd.bin";
54 + IFX_char_t* sBBD_CRAM_File_VMMC_Old = "";
56 + IFX_char_t* sBBD_CRAM_File_VMMC = "vr9_bbd.bin";
57 + IFX_char_t* sBBD_CRAM_File_VMMC_Old = "vr9_bbd_fxs.bin";
60 +#endif /* TD_BBD_FILE */
62 + IFX_char_t* sPRAMFile_VMMC = TD_FW_FILE;
63 + IFX_char_t* sPRAMFile_VMMC_Old = TD_FW_FILE;
64 + IFX_char_t* sDRAMFile_VMMC = "";
67 /** Prepare file names for DANUBE */
68 IFX_char_t* sPRAMFile_VMMC = "voice_danube_firmware.bin";
69 IFX_char_t* sPRAMFile_VMMC_Old = "danube_firmware.bin";
70 IFX_char_t* sDRAMFile_VMMC = "";
71 - /** File holding coefficients. */
72 - IFX_char_t* sBBD_CRAM_File_VMMC = "danube_bbd.bin";
73 - IFX_char_t* sBBD_CRAM_File_VMMC_Old = "danube_bbd_fxs.bin";
75 /** Prepare file names for AR9 */
76 IFX_char_t* sPRAMFile_VMMC = "voice_ar9_firmware.bin";
77 IFX_char_t* sPRAMFile_VMMC_Old = "ar9_firmware.bin";
78 IFX_char_t* sDRAMFile_VMMC = "";
79 - /** File holding coefficients. */
80 - IFX_char_t* sBBD_CRAM_File_VMMC = "ar9_bbd.bin";
81 - IFX_char_t* sBBD_CRAM_File_VMMC_Old = "ar9_bbd_fxs.bin";
83 /** Prepare file names for VINAX */
84 IFX_char_t* sPRAMFile_VMMC = "voice_vinax_firmware.bin";
85 IFX_char_t* sPRAMFile_VMMC_Old = "firmware.bin";
86 IFX_char_t* sDRAMFile_VMMC = "";
87 - /** File holding coefficients. */
88 - IFX_char_t* sBBD_CRAM_File_VMMC = "bbd.bin";
89 - IFX_char_t* sBBD_CRAM_File_VMMC_Old = "";
91 /** Prepare file names for VR9 */
92 IFX_char_t* sPRAMFile_VMMC = "voice_vr9_firmware.bin";
93 IFX_char_t* sPRAMFile_VMMC_Old = "vr9_firmware.bin";
94 IFX_char_t* sDRAMFile_VMMC = "";
95 - /** File holding coefficients. */
96 - IFX_char_t* sBBD_CRAM_File_VMMC = "vr9_bbd.bin";
97 - IFX_char_t* sBBD_CRAM_File_VMMC_Old = "vr9_bbd_fxs.bin";
100 +#endif /* TD_FW_FILE */
101 #endif /* USE_FILESYSTEM */
106 @@ -509,6 +509,10 @@ IFX_return_t Common_CheckDownloadPath(IF
107 if (IFX_TRUE != Common_FindBBD_CRAM(pCpuDevice, psPath, psFile))
111 + TRACE(TAPIDEMO, DBG_LEVEL_LOW,
112 + ("Download path %s does not contain the required file %s.\n",
116 if ((IFX_SUCCESS == ret) &&
117 @@ -521,6 +525,10 @@ IFX_return_t Common_CheckDownloadPath(IF
119 ret = Common_CheckFileExists(psFile);
121 + if(bPrintTrace && ret != IFX_SUCCESS)
122 + TRACE(TAPIDEMO, DBG_LEVEL_LOW,
123 + ("Download path %s does not contain the required file %s.\n",
126 #ifndef TAPI_VERSION4
127 if (IFX_SUCCESS == ret)
128 @@ -532,13 +540,6 @@ IFX_return_t Common_CheckDownloadPath(IF
132 - if (IFX_ERROR == ret)
135 - TRACE(TAPIDEMO, DBG_LEVEL_LOW,
136 - ("Download path %s does not contain the required files.\n",
141 } /* Common_CheckDownloadPath */