1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/sys/architecture/Makefile
Frederik Haxel 7a1c099e7b tests: 64 bit compatibility
Fixed compilation errors. Mostly DEBUG/printf formatting and void pointer casting.

Other changes are:
* net/gnrc_sixlowpan_frag_*: Generalized packet size calculation
* cpu/native_backtrace: Reduced required backtrace size to 3 for 64-bit
* periph/flashpage: Simplified test
* unittests/tests-pktbuf: Generalized alignment
* sys/architecture: Extended test for 64-bit
2024-01-30 09:31:00 +01:00

21 lines
444 B
Makefile

BOARD ?= samr21-xpro
include ../Makefile.sys_common
include $(RIOTBASE)/Makefile.include
ifneq (,$(filter arch_64bit,$(FEATURES_USED)))
CFLAGS += -DCORRECT_WORD_BITS=64
endif
ifneq (,$(filter arch_32bit,$(FEATURES_USED)))
CFLAGS += -DCORRECT_WORD_BITS=32
endif
ifneq (,$(filter arch_16bit,$(FEATURES_USED)))
CFLAGS += -DCORRECT_WORD_BITS=16
endif
ifneq (,$(filter arch_8bit,$(FEATURES_USED)))
CFLAGS += -DCORRECT_WORD_BITS=8
endif