diff --git a/cpu/nrf5x_common/Kconfig b/cpu/nrf5x_common/Kconfig index 10e1815be9..15322b17bf 100644 --- a/cpu/nrf5x_common/Kconfig +++ b/cpu/nrf5x_common/Kconfig @@ -13,7 +13,6 @@ config CPU_COMMON_NRF5X select HAS_PERIPH_GPIO select HAS_PERIPH_GPIO_IRQ select HAS_PERIPH_HWRNG - select HAS_PERIPH_RTT_SET_COUNTER select HAS_PERIPH_TEMPERATURE select HAS_PERIPH_TIMER_PERIODIC select HAS_PERIPH_UART_MODECFG diff --git a/cpu/nrf5x_common/Makefile.features b/cpu/nrf5x_common/Makefile.features index 270dfbc80a..30f8cf3aa7 100644 --- a/cpu/nrf5x_common/Makefile.features +++ b/cpu/nrf5x_common/Makefile.features @@ -4,7 +4,6 @@ FEATURES_PROVIDED += periph_flashpage FEATURES_PROVIDED += periph_flashpage_pagewise FEATURES_PROVIDED += periph_gpio periph_gpio_irq FEATURES_PROVIDED += periph_hwrng -FEATURES_PROVIDED += periph_rtt_set_counter FEATURES_PROVIDED += periph_temperature FEATURES_PROVIDED += periph_timer_periodic FEATURES_PROVIDED += periph_uart_modecfg diff --git a/cpu/nrf5x_common/periph/rtt.c b/cpu/nrf5x_common/periph/rtt.c index 36b113d91c..bc17f3fb95 100644 --- a/cpu/nrf5x_common/periph/rtt.c +++ b/cpu/nrf5x_common/periph/rtt.c @@ -79,12 +79,6 @@ uint32_t rtt_get_counter(void) return DEV->COUNTER; } -void rtt_set_counter(uint32_t counter) -{ - (void) counter; - /* not supported by the nRF5x */ -} - void rtt_set_alarm(uint32_t alarm, rtt_cb_t cb, void *arg) { alarm_cb = cb;