meta data for this page
Differences
This shows you the differences between two versions of the page.
— |
embedded:nordic:sdk5 [2024/04/03 08:52] (current) niziak created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== NRF SDK5 ====== | ||
+ | |||
+ | ===== app_timer2 ===== | ||
+ | In SDK 16.0.0, app_timer2 is used by default in the examples, | ||
+ | New ram efficient ''app_timer2'' implementation: | ||
+ | |||
+ | <file c app_config.h> | ||
+ | #define APP_TIMER_ENABLED 1 | ||
+ | #define NRF_SORTLIST_ENABLED 1 | ||
+ | </file> | ||
+ | |||
+ | <file make Makefile> | ||
+ | $(SDK_ROOT)/components/libraries/atomic_fifo/nrf_atfifo.c \ | ||
+ | $(SDK_ROOT)/components/libraries/timer/app_timer2.c \ | ||
+ | $(SDK_ROOT)/components/libraries/timer/drv_rtc.c \ | ||
+ | $(SDK_ROOT)/components/libraries/sortlist/nrf_sortlist.c \ | ||
+ | |||
+ | |||
+ | $(SDK_ROOT)/components/libraries/atomic_fifo \ | ||
+ | $(SDK_ROOT)/components/libraries/sortlist \ | ||
+ | $(SDK_ROOT)/components/libraries/timer \ | ||
+ | |||
+ | APP_CFLAGS += -DAPP_TIMER_V2 | ||
+ | APP_CFLAGS += -DAPP_TIMER_V2_RTC1_ENABLED | ||
+ | </file> |