changeset 526:80ee7eacdaeb

L1 configuration: try a cut-down version first
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 14 Jul 2014 20:57:06 +0000
parents 98c6be4d3d8d
children a6ff7b513bcf
files gsm-fw/L1/include/l1_confg.h
diffstat 1 files changed, 11 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/L1/include/l1_confg.h	Mon Jul 14 18:42:38 2014 +0000
+++ b/gsm-fw/L1/include/l1_confg.h	Mon Jul 14 20:57:06 2014 +0000
@@ -65,15 +65,20 @@
 #define	CODE_VERSION	NOT_SIMULATION
 #define	AMR		1
 #define	L1_12NEIGH	1
-#define	L1_DYN_DSP_DWNLD	1
+#define	L1_DYN_DSP_DWNLD	0	/* for now */
 #define	L1_EOTD		0
 #define	L1_GTT		0
-#define	MELODY_E2	1
 #define	ORDER2_TX_TEMP_CAL	1
-#define	TESTMODE	1
 #define	TRACE_TYPE	4
 #define	VCXO_ALGO	1
 
+/* TESTMODE will be enabled with feature l1tm */
+
+#if CONFIG_AUDIO
+#  define AUDIO_TASK	1  // Enable the L1 audio features
+#  define MELODY_E2	1
+#endif
+
 #if CONFIG_GPRS
 #  define L1_GPRS	1
 #else
@@ -212,7 +217,10 @@
   #define ADC_TIMER_ON           0  // Timer for ADC measurements
   #define AFC_ON                 1  // Enable of the Omega AFC module
 
+#if 0
+  /* FreeCalypso: moved to config section above */
   #define AUDIO_TASK             1  // Enable the L1 audio features
+#endif
   #define AUDIO_SIMULATION       0  // Audio simulator for the audio tasks (works only with the new audio design i.e. AUDIO_TASK=1)
   #if (OP_L1_STANDALONE == 1)
     #define AUDIO_L1_STANDALONE    1  // Flag to enable the audio simulator used with the L1 stand-alone (works only with the new audio design i.e. AUDIO_TASK=1)