mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
bd3f54ac8f
This adds the features - periph_gpio_ll_input_pull_down: To indicate support for input mode with internal pull down - periph_gpio_ll_input_pull_keep: To indicate support for input mode with internal resistor pulling towards current level - periph_gpio_ll_input_pull_up: To indicate support for input mode with internal pull up - periph_gpio_ll_disconnect: To indicate a GPIO can be disconnected - periph_gpio_ll_open_drain: To indicate support for open drain mode - periph_gpio_ll_open_drain_pull_up: To indicate support for open drain mode with internal pull up - periph_gpio_ll_open_source: To indicate support for open source mode - periph_gpio_ll_open_source_pull_down: To indicate support for open source mode with internal pull down
39 lines
1.4 KiB
Makefile
39 lines
1.4 KiB
Makefile
# Put defined MCU peripherals here (in alphabetical order)
|
|
FEATURES_PROVIDED += periph_cpuid
|
|
FEATURES_PROVIDED += periph_flashpage
|
|
FEATURES_PROVIDED += periph_flashpage_in_address_space
|
|
FEATURES_PROVIDED += periph_flashpage_pagewise
|
|
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
|
|
FEATURES_PROVIDED += periph_timer_periodic
|
|
FEATURES_PROVIDED += periph_timer_poll
|
|
FEATURES_PROVIDED += periph_timer_query_freqs
|
|
FEATURES_PROVIDED += periph_uart_modecfg
|
|
FEATURES_PROVIDED += periph_wdt periph_wdt_cb
|
|
|
|
ifeq (,$(filter nrf5340_app,$(CPU_MODEL)))
|
|
FEATURES_PROVIDED += periph_gpio_ll
|
|
FEATURES_PROVIDED += periph_gpio_ll_disconnect
|
|
FEATURES_PROVIDED += periph_gpio_ll_input_pull_down
|
|
FEATURES_PROVIDED += periph_gpio_ll_input_pull_up
|
|
FEATURES_PROVIDED += periph_gpio_ll_irq
|
|
FEATURES_PROVIDED += periph_gpio_ll_irq_unmask
|
|
FEATURES_PROVIDED += periph_gpio_ll_open_drain
|
|
FEATURES_PROVIDED += periph_gpio_ll_open_drain_pull_up
|
|
FEATURES_PROVIDED += periph_gpio_ll_open_source
|
|
FEATURES_PROVIDED += periph_gpio_ll_open_source_pull_down
|
|
endif
|
|
|
|
# nRF9160/nRF5340 don't support these drivers right now
|
|
ifeq (,$(filter nrf9160 nrf5340_app,$(CPU_MODEL)))
|
|
FEATURES_PROVIDED += periph_hwrng
|
|
FEATURES_PROVIDED += periph_rtt_overflow
|
|
FEATURES_PROVIDED += periph_temperature
|
|
|
|
# Various other features (if any)
|
|
FEATURES_PROVIDED += ble_nimble
|
|
FEATURES_PROVIDED += radio_nrfble
|
|
FEATURES_PROVIDED += radio_nrfmin
|
|
endif
|
|
|
|
include $(RIOTCPU)/cortexm_common/Makefile.features
|