https://github.com/mupq/pqm4
Raw File
Tip revision: 5fa22a8fbd920f68c97dfb1a4b660e1f8933101c authored by Richard Petri on 21 January 2024, 18:14:32 UTC
Enable out-of-tree builds
Tip revision: 5fa22a8
stm32f4discovery.mk
DEVICE=stm32f407vg
OPENCM3_TARGET=lib/stm32/f4

EXCLUDED_SCHEMES = \
	mupq/pqclean/crypto_kem/mceliece% \
	mupq/crypto_sign/tuov% \
	mupq/crypto_sign/falcon-1024-tree%

include mk/opencm3.mk

elf/boardtest.elf: CPPFLAGS+=-DSRAM_TIMING_TEST -DHAS_SRAM2 -DHAS_CCM
elf/boardtest-fast.elf: CPPFLAGS+=-DSRAM_TIMING_TEST -DHAS_SRAM2 -DHAS_CCM

elf/crypto_kem_frodokem640aes_m4_%.elf: LDSCRIPT=$(SRCDIR)/ldscripts/stm32f4discovery_fullram.ld
elf/mupq_pqclean_crypto_kem_frodokem640shake_opt_%.elf: LDSCRIPT=$(SRCDIR)/ldscripts/stm32f4discovery_fullram.ld
elf/crypto_sign_dilithium5_m4f_%.elf: LDSCRIPT=$(SRCDIR)/ldscripts/stm32f4discovery_fullram.ld
elf/crypto_sign_perk-256-%_m4_testvectors.elf: LDSCRIPT=$(SRCDIR)/ldscripts/stm32f4discovery_fullram.ld
elf/crypto_sign_perk-256-fast%_m4_test.elf: LDSCRIPT=$(SRCDIR)/ldscripts/stm32f4discovery_fullram.ld
elf/crypto_sign_haetae5_m4f_%.elf: LDSCRIPT=$(SRCDIR)/ldscripts/stm32f4discovery_fullram.ld
elf/crypto_sign_haetae5_ref_%.elf: LDSCRIPT=$(SRCDIR)/ldscripts/stm32f4discovery_fullram.ld
back to top