diff gsm-fw/cfgmagic/processconf.sh @ 865:f5affe83ba2d

lldbg hack (poor girl's substitute for JTAG) implemented
author Space Falcon <falcon@ivan.Harhan.ORG>
date Fri, 15 May 2015 00:02:03 +0000
parents cbc49d533b7d
children 7f305eb3c530
line wrap: on
line diff
--- a/gsm-fw/cfgmagic/processconf.sh	Sun May 10 19:35:29 2015 +0000
+++ b/gsm-fw/cfgmagic/processconf.sh	Fri May 15 00:02:03 2015 +0000
@@ -53,8 +53,10 @@
 # Serial configuration
 case "$RVTMUX_UART_port" in
 	IrDA)
+		CONFIG_LLDBG_UART_BASE=0xFFFF5000
 		;;
 	MODEM)
+		CONFIG_LLDBG_UART_BASE=0xFFFF5800
 		CONFIG_RVTMUX_ON_MODEM=1
 		export_to_c CONFIG_RVTMUX_ON_MODEM
 		;;
@@ -118,6 +120,10 @@
 	BUILD_COMPONENTS="$BUILD_COMPONENTS ccd comlib"
 	BUILD_COMPONENTS="$BUILD_COMPONENTS g23m-aci g23m-glue g23m-gsm"
 fi
+if [ "$CONFIG_LLDBG" = 1 ]
+then
+	BUILD_COMPONENTS="$BUILD_COMPONENTS lldbg"
+fi
 
 export_to_mk BUILD_COMPONENTS