From 28d24aff882ee2fee092d6569197e8792b95346a Mon Sep 17 00:00:00 2001 From: erikkaashoek Date: Sat, 25 Jul 2020 16:02:02 +0200 Subject: [PATCH] Enable -Os for minimum size --- sa_core.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sa_core.c b/sa_core.c index f17c005..b3f6421 100644 --- a/sa_core.c +++ b/sa_core.c @@ -20,6 +20,10 @@ #include "SI4432.h" // comment out for simulation #include "stdlib.h" +#pragma GCC push_options +#pragma GCC optimize ("Og") + + //#define __DEBUG_AGC__ If set the AGC value will be shown in the stored trace and FAST_SWEEP rmmode will be disabled #ifdef __DEBUG_AGC__ #ifdef __FAST_SWEEP__ @@ -3295,4 +3299,5 @@ quit: #endif } +#pragma GCC pop_options