From 1ef32551ecd5cd8a8ecbfc00e5fb32cacf075934 Mon Sep 17 00:00:00 2001 From: Markus Multrus Date: Mon, 10 Jul 2023 09:58:17 +0200 Subject: [PATCH 1/3] template for options.h --- lib_com/options.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/lib_com/options.h b/lib_com/options.h index e4d3a06b58..f3e1e67887 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -134,7 +134,8 @@ /* #################### End DEBUGGING switches ############################ */ -/* ################# Start DEVELOPMENT switches ######################## */ +/* ################# Start BE DEVELOPMENT switches ######################## */ +/* only BE switches wrt operation points tested in selection */ #define BASOP_NOGLOB /* Disable global symbols in BASOPs, Overflow/Carry in BASOPs disabled, additional BASOPs in case of Overflow */ /*#define FIX_I4_OL_PITCH*/ /* fix open-loop pitch used for EVS core switching */ @@ -162,7 +163,15 @@ #define FIX_580_PARAMMC_ENER_BURSTS /* FhG: issue 580: energy bursts due to ILD holding when energy relations change too much */ -/* ################## End DEVELOPMENT switches ######################### */ +/* ################## End BE DEVELOPMENT switches ######################### */ + + +/* #################### Start NON-BE CR switches ########################## */ +/* any switch which is non-be wrt operation points tested in selection */ + + +/* ##################### End NON-BE CR switches ########################### */ + /* clang-format on */ #endif -- GitLab From 75963c2b147a67117d181b76632f0cdd1f74ebaa Mon Sep 17 00:00:00 2001 From: knj Date: Mon, 10 Jul 2023 13:15:45 +0200 Subject: [PATCH 2/3] add comment with notion of prefix --- lib_com/options.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib_com/options.h b/lib_com/options.h index f3e1e67887..7cc61b8c31 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -168,6 +168,7 @@ /* #################### Start NON-BE CR switches ########################## */ /* any switch which is non-be wrt operation points tested in selection */ +/* all switches in this category should start with "CR_" */ /* ##################### End NON-BE CR switches ########################### */ -- GitLab From c6e5fca025b9a7331cdce126f774309171561676 Mon Sep 17 00:00:00 2001 From: Markus Multrus Date: Mon, 10 Jul 2023 16:39:32 +0200 Subject: [PATCH 3/3] move our BASOP_NOGLOB of any section --- lib_com/options.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib_com/options.h b/lib_com/options.h index f3e1e67887..65c5f1eacd 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -134,10 +134,14 @@ /* #################### End DEBUGGING switches ############################ */ + +/* keep as part of options.h */ +#define BASOP_NOGLOB /* Disable global symbols in BASOPs, Overflow/Carry in BASOPs disabled, additional BASOPs in case of Overflow */ + + /* ################# Start BE DEVELOPMENT switches ######################## */ /* only BE switches wrt operation points tested in selection */ -#define BASOP_NOGLOB /* Disable global symbols in BASOPs, Overflow/Carry in BASOPs disabled, additional BASOPs in case of Overflow */ /*#define FIX_I4_OL_PITCH*/ /* fix open-loop pitch used for EVS core switching */ -- GitLab