From bbe4e500c3a972146d834d21dc355b8509f88342 Mon Sep 17 00:00:00 2001 From: JF Date: Sun, 5 Jan 2020 11:09:07 +0100 Subject: 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) --- cmake-nRF5x/CMake_nRF5x.cmake | 5 ----- 1 file changed, 5 deletions(-) (limited to 'cmake-nRF5x/CMake_nRF5x.cmake') diff --git a/cmake-nRF5x/CMake_nRF5x.cmake b/cmake-nRF5x/CMake_nRF5x.cmake index 7fd59f81..d50ef609 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 -- cgit v1.2.3-70-g09d2