2020-07-15 20:25:36 +02:00
|
|
|
ifeq (FreeBSD,$(OS))
|
|
|
|
DISABLE_LIBSTDCPP ?= 1
|
|
|
|
endif
|
|
|
|
|
2018-05-04 15:44:29 +02:00
|
|
|
FEATURES_PROVIDED += arch_native
|
2017-10-28 17:52:52 +02:00
|
|
|
FEATURES_PROVIDED += cpp
|
2020-07-15 20:25:36 +02:00
|
|
|
ifneq ($(DISABLE_LIBSTDCPP),1)
|
|
|
|
# libstdc++ on FreeBSD is broken (does not work with -m32)
|
|
|
|
# Override with "export DISABLE_LIBSTDCPP=0"
|
|
|
|
FEATURES_PROVIDED += libstdcpp
|
|
|
|
endif
|
2017-10-28 17:52:52 +02:00
|
|
|
FEATURES_PROVIDED += periph_cpuid
|
2019-11-13 08:22:09 +01:00
|
|
|
FEATURES_PROVIDED += periph_eeprom
|
2021-02-05 18:23:10 +01:00
|
|
|
FEATURES_PROVIDED += periph_flashpage
|
|
|
|
FEATURES_PROVIDED += periph_flashpage_pagewise
|
2017-10-28 17:52:52 +02:00
|
|
|
FEATURES_PROVIDED += periph_hwrng
|
2017-01-09 17:41:58 +01:00
|
|
|
FEATURES_PROVIDED += periph_pm
|
2018-10-15 23:43:52 +02:00
|
|
|
FEATURES_PROVIDED += periph_pwm
|
2021-02-22 22:09:06 +01:00
|
|
|
FEATURES_PROVIDED += periph_timer_periodic
|
2024-01-27 16:46:56 +01:00
|
|
|
FEATURES_PROVIDED += periph_timer_query_freqs
|
2021-04-02 18:42:34 +02:00
|
|
|
ifeq ($(OS) $(OS_ARCH),Linux x86_64)
|
2024-02-05 13:32:29 +01:00
|
|
|
FEATURES_PROVIDED += rust_target
|
2021-04-02 18:42:34 +02:00
|
|
|
endif
|
2020-01-22 15:26:19 +01:00
|
|
|
FEATURES_PROVIDED += ssp
|
2019-04-06 06:24:22 +02:00
|
|
|
|
|
|
|
ifeq ($(OS),Linux)
|
2019-10-04 15:48:46 +02:00
|
|
|
# Access to hardware SPI bus is only supported on Linux hosts
|
2019-04-06 06:24:22 +02:00
|
|
|
FEATURES_PROVIDED += periph_spi
|
2019-10-04 15:48:46 +02:00
|
|
|
# Hardware GPIO access is only available on Linux hosts
|
|
|
|
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
|
2020-09-04 10:41:56 +02:00
|
|
|
# CAN is only supported on Linux through socketCAN
|
|
|
|
FEATURES_PROVIDED += periph_can
|
2019-04-06 06:24:22 +02:00
|
|
|
endif
|