aboutsummaryrefslogtreecommitdiffstats
path: root/src/sdk_config.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-01-05 11:09:07 +0100
committerJF <jf@codingfield.com>2020-01-05 11:09:07 +0100
commitbbe4e500c3a972146d834d21dc355b8509f88342 (patch)
tree780ccd768997f93dd3fdc4db7d612e610bfb3bc0 /src/sdk_config.h
parent7688f468988ed26f522170bf0a5237ad974be02e (diff)
Improve power consumption and SLEEP mode :
- Disable IDLE hook (it would wake the device up as soon as possible). - Logger task sleep for 100ms (disable logging for better battery life) - Logging is disabled by default - Apply fix for ERRATA 87 (clear FPU interrupt before going to sleep). Ports files from FreeRTOS are now in the sources (they where in the SDK before)
Diffstat (limited to 'src/sdk_config.h')
-rw-r--r--src/sdk_config.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sdk_config.h b/src/sdk_config.h
index e74751ef..21363202 100644
--- a/src/sdk_config.h
+++ b/src/sdk_config.h
@@ -8452,15 +8452,15 @@
// <e> NRF_LOG_ENABLED - nrf_log - Logger
//==========================================================
#ifndef NRF_LOG_ENABLED
-#define NRF_LOG_ENABLED 1
+#define NRF_LOG_ENABLED 0
#endif
#ifndef NRF_LOG_BACKEND_RTT_ENABLED
-#define NRF_LOG_BACKEND_RTT_ENABLED 1
+#define NRF_LOG_BACKEND_RTT_ENABLED 0
#endif
#ifndef NRF_LOG_BACKEND_SERIAL_USES_RTT
-#define NRF_LOG_BACKEND_SERIAL_USES_RTT 1
+#define NRF_LOG_BACKEND_SERIAL_USES_RTT 0
#endif
// <h> Log message pool - Configuration of log message pool