2020-06-10 13:11:32 +02:00
|
|
|
ifneq (,$(filter cortex-m23 cortex-m0%,$(CPU_CORE)))
|
2021-06-15 12:01:06 +02:00
|
|
|
USEMODULE += qdsa_asm
|
2018-05-07 14:24:26 +02:00
|
|
|
endif
|
|
|
|
|
2021-03-08 15:45:50 +01:00
|
|
|
ifneq (,$(filter arch_avr8,$(FEATURES_USED)))
|
2021-06-15 12:01:06 +02:00
|
|
|
USEMODULE += qdsa_asm
|
2018-03-14 17:31:57 +01:00
|
|
|
endif
|
2019-10-30 11:15:44 +01:00
|
|
|
|
2021-11-12 12:36:44 +01:00
|
|
|
ifeq (,$(filter qdsa_impl_%,$(USEMODULE)))
|
|
|
|
ifneq (,$(filter cortex-m23 cortex-m0%,$(CPU_CORE)))
|
|
|
|
USEMODULE += qdsa_impl_arm
|
|
|
|
else ifneq (,$(filter arch_avr8,$(FEATURES_USED)))
|
|
|
|
USEMODULE += qdsa_impl_avr
|
|
|
|
else
|
|
|
|
USEMODULE += qdsa_impl_cref
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2019-10-30 11:15:44 +01:00
|
|
|
# qDsa is not 16 bit compatible
|
|
|
|
FEATURES_BLACKLIST += arch_16bit
|