summaryrefslogtreecommitdiff
path: root/cmake-nRF5x
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-01-05 10:09:07 (GMT)
committerJF <jf@codingfield.com>2020-01-05 10:09:07 (GMT)
commitbbe4e500c3a972146d834d21dc355b8509f88342 (patch)
tree780ccd768997f93dd3fdc4db7d612e610bfb3bc0 /cmake-nRF5x
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 'cmake-nRF5x')
-rwxr-xr-xcmake-nRF5x/CMake_nRF5x.cmake5
1 files changed, 0 insertions, 5 deletions
diff --git a/cmake-nRF5x/CMake_nRF5x.cmake b/cmake-nRF5x/CMake_nRF5x.cmake
index 7fd59f8..d50ef60 100755
--- a/cmake-nRF5x/CMake_nRF5x.cmake
+++ b/cmake-nRF5x/CMake_nRF5x.cmake
@@ -131,9 +131,6 @@ macro(nRF5x_setup)
${NRF5_SDK_PATH}/external/freertos/source/event_groups.c
${NRF5_SDK_PATH}/external/freertos/source/portable/MemMang/heap_1.c
${NRF5_SDK_PATH}/external/freertos/source/list.c
- ${NRF5_SDK_PATH}/external/freertos/portable/GCC/nrf52/port.c
- ${NRF5_SDK_PATH}/external/freertos/portable/CMSIS/nrf52/port_cmsis.c
- ${NRF5_SDK_PATH}/external/freertos/portable/CMSIS/nrf52/port_cmsis_systick.c
${NRF5_SDK_PATH}/external/freertos/source/queue.c
${NRF5_SDK_PATH}/external/freertos/source/stream_buffer.c
${NRF5_SDK_PATH}/external/freertos/source/tasks.c
@@ -144,8 +141,6 @@ macro(nRF5x_setup)
# freertos include
include_directories(
${NRF5_SDK_PATH}/external/freertos/source/include
- ${NRF5_SDK_PATH}/external/freertos/portable/CMSIS/nrf52
- ${NRF5_SDK_PATH}/external/freertos/portable/GCC/nrf52
)
# toolchain specific