changeset 27:1803a0bc5808

components/config_*: -DCTRACE for optional str2ind
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 17:44:57 +0000
parents 598958aec071
children b5a5e3ea94ed
files components/config_gprs_fl components/config_gprs_ir components/config_gsm_fl components/config_gsm_ir
diffstat 4 files changed, 24 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/components/config_gprs_fl	Fri Oct 16 17:26:36 2020 +0000
+++ b/components/config_gprs_fl	Fri Oct 16 17:44:57 2020 +0000
@@ -54,7 +54,12 @@
 CPPFLAGS="$CPPFLAGS -DPRIM_4_INT_RAM"
 CPPFLAGS="$CPPFLAGS -DPRIM_5_INT_RAM"
 CPPFLAGS="$CPPFLAGS -DBOARD=41"
-CPPFLAGS="$CPPFLAGS -DCTRACE"
+
+if [ "$USE_STR2IND" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DCTRACE"
+fi
+
 CPPFLAGS="$CPPFLAGS -DDATA_EXT_RAM"
 CPPFLAGS="$CPPFLAGS -DFF_UPM"
 
--- a/components/config_gprs_ir	Fri Oct 16 17:26:36 2020 +0000
+++ b/components/config_gprs_ir	Fri Oct 16 17:44:57 2020 +0000
@@ -54,7 +54,12 @@
 CPPFLAGS="$CPPFLAGS -DPRIM_4_INT_RAM"
 CPPFLAGS="$CPPFLAGS -DPRIM_5_INT_RAM"
 CPPFLAGS="$CPPFLAGS -DBOARD=41"
-CPPFLAGS="$CPPFLAGS -DCTRACE"
+
+if [ "$USE_STR2IND" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DCTRACE"
+fi
+
 CPPFLAGS="$CPPFLAGS -DDATA_INT_RAM"
 CPPFLAGS="$CPPFLAGS -DFF_UPM"
 
--- a/components/config_gsm_fl	Fri Oct 16 17:26:36 2020 +0000
+++ b/components/config_gsm_fl	Fri Oct 16 17:44:57 2020 +0000
@@ -57,7 +57,12 @@
 CPPFLAGS="$CPPFLAGS -DTEST_2_INT_RAM"
 CPPFLAGS="$CPPFLAGS -DDMEM_0_INT_RAM"
 CPPFLAGS="$CPPFLAGS -DBOARD=41"
-CPPFLAGS="$CPPFLAGS -DCTRACE"
+
+if [ "$USE_STR2IND" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DCTRACE"
+fi
+
 CPPFLAGS="$CPPFLAGS -DDATA_EXT_RAM"
 
 # Includes
--- a/components/config_gsm_ir	Fri Oct 16 17:26:36 2020 +0000
+++ b/components/config_gsm_ir	Fri Oct 16 17:44:57 2020 +0000
@@ -57,7 +57,12 @@
 CPPFLAGS="$CPPFLAGS -DTEST_2_INT_RAM"
 CPPFLAGS="$CPPFLAGS -DDMEM_0_INT_RAM"
 CPPFLAGS="$CPPFLAGS -DBOARD=41"
-CPPFLAGS="$CPPFLAGS -DCTRACE"
+
+if [ "$USE_STR2IND" = 1 ]
+then
+	CPPFLAGS="$CPPFLAGS -DCTRACE"
+fi
+
 CPPFLAGS="$CPPFLAGS -DDATA_INT_RAM"
 
 # Includes