diff options
author | Michele Bini <michele.bini@gmail.com> | 2022-06-06 17:47:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-06 17:47:43 +0200 |
commit | 35dcf8c8607483c104711c9398d47d57147f4389 (patch) | |
tree | b2c17823827af9233dff152d918fb829cc939ad8 /cmake-nRF5x | |
parent | f95147cf0ed759a6ae30ac8d7cfdf7eba23a3ee9 (diff) |
Switch to freertos timers (#1095)
* Use FreeRTOS timer for AlarmController
* Use FreeRTOS timer for MotorController
* Remove app_timer component from compilation as we now solely use
FreeROTS timer
* Simplify variable and text names for AlarmController and MotorController timers
* Call ScheduleAlarm directly from StopAlerting, for recurring timers
Co-authored-by: Riku Isokoski <riksu9000@gmail.com>
Co-authored-by: NeroBurner <pyro4hell@gmail.com>
Diffstat (limited to 'cmake-nRF5x')
-rwxr-xr-x | cmake-nRF5x/CMake_nRF5x.cmake | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cmake-nRF5x/CMake_nRF5x.cmake b/cmake-nRF5x/CMake_nRF5x.cmake index c7d0a68b..9bf63f2a 100755 --- a/cmake-nRF5x/CMake_nRF5x.cmake +++ b/cmake-nRF5x/CMake_nRF5x.cmake @@ -106,7 +106,6 @@ macro(nRF5x_setup) ${NRF5_SDK_PATH}/external/freertos/source/stream_buffer.c ${NRF5_SDK_PATH}/external/freertos/source/tasks.c ${NRF5_SDK_PATH}/external/freertos/source/timers.c - ${NRF5_SDK_PATH}/components/libraries/timer/app_timer_freertos.c ) # freertos include @@ -335,7 +334,6 @@ endmacro(nRF5x_addAppFIFO) # adds app-level Timer libraries macro(nRF5x_addAppTimer) list(APPEND SDK_SOURCE_FILES - "${NRF5_SDK_PATH}/components/libraries/timer/app_timer.c" ) endmacro(nRF5x_addAppTimer) |