changeset 252:27f17fbf0657

FCHG: add dependency on ETM for BSIM
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 12 May 2021 03:18:50 +0000
parents 1fe443ccb656
children 769cf6273fe4
files src/cs/drivers/drv_app/fchg/fchg_env.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/cs/drivers/drv_app/fchg/fchg_env.c	Wed May 12 03:13:48 2021 +0000
+++ b/src/cs/drivers/drv_app/fchg/fchg_env.c	Wed May 12 03:18:50 2021 +0000
@@ -38,9 +38,10 @@
    infoSWE->type_info.type4.mem_bank[0].initial_params.size          = FCHG_MB_PRIM_SIZE;
    infoSWE->type_info.type4.mem_bank[0].initial_params.watermark     = FCHG_MB_PRIM_WATERMARK;
 
-   /* linked SWE info: we use FFS */
-   infoSWE->type_info.type4.nb_linked_swe    = 1;
+   /* linked SWE info: we use FFS and ETM (for BSIM) */
+   infoSWE->type_info.type4.nb_linked_swe    = 2;
    infoSWE->type_info.type4.linked_swe_id[0] = FFS_USE_ID;
+   infoSWE->type_info.type4.linked_swe_id[1] = ETM_USE_ID;
 
    /* generic functions */
    infoSWE->type_info.type4.set_info = fchg_set_info;