2020-08-24 15:02:33 +02:00
|
|
|
CPU_FAM := $(shell echo $(CPU_MODEL) | cut -c -6)
|
|
|
|
|
2017-10-28 17:50:22 +02:00
|
|
|
FEATURES_PROVIDED += periph_cpuid
|
2020-06-17 16:38:52 +02:00
|
|
|
|
|
|
|
CPU_MODELS_WITHOUT_DMA = samd20%
|
|
|
|
ifeq (,$(filter $(CPU_MODELS_WITHOUT_DMA),$(CPU_MODEL)))
|
|
|
|
FEATURES_PROVIDED += periph_dma
|
|
|
|
endif
|
|
|
|
|
2023-11-03 15:11:40 +01:00
|
|
|
FEATURES_PROVIDED += periph_adc_continuous
|
2017-10-28 17:50:22 +02:00
|
|
|
FEATURES_PROVIDED += periph_flashpage
|
2022-03-17 19:45:54 +01:00
|
|
|
FEATURES_PROVIDED += periph_flashpage_in_address_space
|
2020-11-09 16:44:37 +01:00
|
|
|
FEATURES_PROVIDED += periph_flashpage_pagewise
|
2019-01-27 11:29:35 +01:00
|
|
|
FEATURES_PROVIDED += periph_flashpage_rwee
|
2018-11-20 08:35:31 +01:00
|
|
|
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
|
2023-12-10 12:53:21 +01:00
|
|
|
FEATURES_PROVIDED += periph_gpio_ll
|
2024-01-23 09:05:13 +01:00
|
|
|
FEATURES_PROVIDED += periph_gpio_ll_disconnect
|
|
|
|
FEATURES_PROVIDED += periph_gpio_ll_input_pull_down
|
|
|
|
FEATURES_PROVIDED += periph_gpio_ll_input_pull_up
|
2023-12-15 14:05:38 +01:00
|
|
|
FEATURES_PROVIDED += periph_gpio_ll_irq
|
2024-05-20 10:39:10 +02:00
|
|
|
FEATURES_PROVIDED += periph_gpio_ll_irq_edge_triggered_both
|
2023-12-15 14:05:38 +01:00
|
|
|
FEATURES_PROVIDED += periph_gpio_ll_irq_level_triggered_high
|
|
|
|
FEATURES_PROVIDED += periph_gpio_ll_irq_level_triggered_low
|
|
|
|
FEATURES_PROVIDED += periph_gpio_ll_irq_unmask
|
2024-01-23 08:15:28 +01:00
|
|
|
FEATURES_PROVIDED += periph_gpio_ll_switch_dir
|
2020-02-19 19:42:22 +01:00
|
|
|
FEATURES_PROVIDED += periph_i2c_reconfigure
|
2021-01-13 20:48:29 +01:00
|
|
|
FEATURES_PROVIDED += periph_rtt_overflow
|
2023-04-28 12:01:12 +02:00
|
|
|
FEATURES_PROVIDED += periph_rtt_set_counter
|
2023-09-14 13:00:54 +02:00
|
|
|
FEATURES_PROVIDED += periph_sdmmc_auto_cmd12
|
|
|
|
FEATURES_PROVIDED += periph_sdmmc_hs
|
|
|
|
FEATURES_PROVIDED += periph_sdmmc_mmc
|
|
|
|
FEATURES_PROVIDED += periph_sdmmc_sdhc
|
2020-03-13 17:33:43 +01:00
|
|
|
FEATURES_PROVIDED += periph_spi_reconfigure
|
2021-12-08 11:41:24 +01:00
|
|
|
FEATURES_PROVIDED += periph_spi_gpio_mode
|
2023-04-28 12:01:12 +02:00
|
|
|
FEATURES_PROVIDED += periph_spi_reconfigure
|
2020-05-29 11:13:59 +02:00
|
|
|
FEATURES_PROVIDED += periph_timer_periodic # implements timer_set_periodic()
|
2023-04-28 12:01:12 +02:00
|
|
|
FEATURES_PROVIDED += periph_timer_query_freqs
|
2019-06-17 18:42:26 +02:00
|
|
|
FEATURES_PROVIDED += periph_uart_modecfg
|
2019-08-20 20:52:07 +02:00
|
|
|
FEATURES_PROVIDED += periph_uart_nonblocking
|
2020-03-13 18:05:27 +01:00
|
|
|
FEATURES_PROVIDED += periph_uart_reconfigure
|
2021-05-27 22:20:15 +02:00
|
|
|
FEATURES_PROVIDED += periph_uart_rxstart_irq
|
2023-11-22 19:21:32 +01:00
|
|
|
FEATURES_PROVIDED += periph_uart_tx_ondemand
|
2020-06-02 12:54:25 +02:00
|
|
|
FEATURES_PROVIDED += periph_wdt periph_wdt_cb periph_wdt_warning_period
|
2017-10-28 17:50:22 +02:00
|
|
|
|
2020-06-11 17:49:31 +02:00
|
|
|
FEATURES_CONFLICT += periph_rtc:periph_rtt
|
|
|
|
FEATURES_CONFLICT_MSG += "The RTC and RTT map to the same hardware peripheral."
|
|
|
|
|
2023-12-15 14:05:38 +01:00
|
|
|
FEATURES_CONFLICT += periph_gpio_irq:periph_gpio_ll_irq
|
|
|
|
FEATURES_CONFLICT_MSG += "GPIO IRQs can only be managed with one API."
|
|
|
|
|
2020-10-13 09:42:22 +02:00
|
|
|
include $(RIOTCPU)/cortexm_common/Makefile.features
|