diff src/cs/drivers/drv_app/fchg/fchg_messages.c @ 256:aec644728174

FCHG BSIM: ETM connection implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 13 May 2021 02:37:14 +0000
parents 4e78acac3d88
children 7420959e02ec
line wrap: on
line diff
--- a/src/cs/drivers/drv_app/fchg/fchg_messages.c	Wed May 12 23:20:23 2021 +0000
+++ b/src/cs/drivers/drv_app/fchg/fchg_messages.c	Thu May 13 02:37:14 2021 +0000
@@ -4,6 +4,7 @@
 
 #include "fchg/fchg_env.h"
 #include "fchg/fchg_func_i.h"
+#include "fchg/bsim_func_i.h"
 #include "rv/rv_general.h"
 #include "rvf/rvf_api.h"
 #include "rvm/rvm_use_id_list.h"
@@ -26,6 +27,9 @@
 	case PWR_ADC_IND:
 		pwr_process_adc((struct pwr_adc_ind_s *) msg_ptr);
 		return;
+	case ETM_DATA_READY:
+		bsim_process_etm((T_ETM_DATA_READY *) msg_ptr);
+		return;
 	default:
 		rvf_send_trace("FCHG task: Received an unknown message", 38,
 				NULL_PARAM, RV_TRACE_LEVEL_DEBUG_HIGH,