2020-06-10 13:11:32 +02:00
|
|
|
ifneq (,$(filter cortex-m23 cortex-m0%,$(CPU_CORE)))
|
2018-03-14 17:31:57 +01:00
|
|
|
QDSA_IMPL ?= arm
|
|
|
|
else
|
2021-03-08 15:45:50 +01:00
|
|
|
ifneq (,$(filter arch_avr8,$(FEATURES_USED)))
|
|
|
|
QDSA_IMPL ?= avr
|
|
|
|
else
|
|
|
|
QDSA_IMPL ?= cref
|
|
|
|
endif
|
2018-03-14 17:31:57 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
export QDSA_IMPL
|
|
|
|
|
2021-06-15 12:01:06 +02:00
|
|
|
INCLUDES += -I$(PKGDIRBASE)/qdsa/$(QDSA_IMPL)
|
2018-08-16 20:55:22 +02:00
|
|
|
|
2020-06-10 13:11:32 +02:00
|
|
|
ifeq (cortex-m0plus,$(CPU_CORE))
|
2018-08-16 20:55:22 +02:00
|
|
|
# There are problems with the LLVM assembler and the Cortex-M0+ instruction
|
|
|
|
# set with this package
|
|
|
|
TOOLCHAINS_BLACKLIST += llvm
|
|
|
|
endif
|