• R/O
  • SSH
  • HTTPS

kobanzame-sdk: 提交


Commit MetaInfo

修訂49 (tree)
時間2010-12-05 09:06:00
作者koban

Log Message

fixed cache link bug on gcc

Change Summary

差異

--- trunk/kzsdk/kzconfig.h (revision 48)
+++ trunk/kzsdk/kzconfig.h (revision 49)
@@ -16,7 +16,14 @@
1616 *
1717 */
1818
19+ /**
20+ * @def KZCACAHE_ENABLE
21+ * @brief If set (1) Cache Enable. only supported on VDSP++
22+ * @ingroup UserCongifuration
23+ */
24+#define KZCACAHE_ENABLE (0)
1925
26+
2027 /**
2128 * @def KZFILE_MAX_OPEN
2229 * @brief Max files that filesystem can open
--- trunk/kzsdk/kzdev.c (revision 48)
+++ trunk/kzsdk/kzdev.c (revision 49)
@@ -91,8 +91,10 @@
9191 mCycDevPol = idCycDevPol;
9292 mTskDevPol = idTskDevPol;
9393
94+#if KZCACAHE_ENABLE == 1
9495 /*-- cache init --*/
9596 kzdev_cache_ini();
97+#endif
9698
9799 /*-- mmc init --*/
98100 kzdev_mmc_att_ini();
Show on old repository browser