From ec2e1fd5c6271bdf45ce22b3bb5cd3b690d92d5b Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sat, 23 Jan 2021 14:25:04 -0500 Subject: increase signal buffers; fix oversample --- cfg/halconf.h | 8 ++++---- cfg/mcuconf.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'cfg') diff --git a/cfg/halconf.h b/cfg/halconf.h index 1c77c25..24c6fde 100644 --- a/cfg/halconf.h +++ b/cfg/halconf.h @@ -230,7 +230,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(ADC_USE_WAIT) || defined(__DOXYGEN__) -#define ADC_USE_WAIT TRUE +#define ADC_USE_WAIT FALSE #endif /** @@ -238,7 +238,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(ADC_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define ADC_USE_MUTUAL_EXCLUSION TRUE +#define ADC_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ @@ -290,7 +290,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(DAC_USE_WAIT) || defined(__DOXYGEN__) -#define DAC_USE_WAIT TRUE +#define DAC_USE_WAIT FALSE #endif /** @@ -298,7 +298,7 @@ * @note Disabling this option saves both code and data space. */ #if !defined(DAC_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define DAC_USE_MUTUAL_EXCLUSION TRUE +#define DAC_USE_MUTUAL_EXCLUSION FALSE #endif /*===========================================================================*/ diff --git a/cfg/mcuconf.h b/cfg/mcuconf.h index af176ad..27a2939 100644 --- a/cfg/mcuconf.h +++ b/cfg/mcuconf.h @@ -46,8 +46,8 @@ */ #define STM32_NOCACHE_MPU_REGION MPU_REGION_6 #define STM32_NOCACHE_SRAM1_SRAM2 FALSE -#define STM32_NOCACHE_SRAM3 FALSE // keep -#define STM32_NOCACHE_SRAM4 TRUE +#define STM32_NOCACHE_SRAM3 FALSE +#define STM32_NOCACHE_ALLSRAM TRUE /* * PWR system settings. -- cgit v1.2.3