2023-05-12 10:39:28 +02:00
|
|
|
include ../Makefile.cpu_common
|
2017-06-16 13:32:53 +02:00
|
|
|
|
2020-06-04 14:37:41 +02:00
|
|
|
USEMODULE += backtrace
|
2017-06-16 13:32:53 +02:00
|
|
|
|
2024-02-01 13:55:02 +01:00
|
|
|
BOARD_WHITELIST := native native64
|
2017-06-16 13:32:53 +02:00
|
|
|
|
2024-01-11 13:16:17 +01:00
|
|
|
# Tests if native returns a backtrace of size three.
|
|
|
|
# The following function should be included in the backtrace:
|
|
|
|
# `main`/`main_trampoline`/ return to a user context function (e.g. `makecontext`)
|
|
|
|
# Depending on the implementation of the ucontext functions, the backtrace size
|
|
|
|
# may be longer, but this test only checks if it is at least three.
|
|
|
|
CFLAGS += -DBACKTRACE_SIZE=3
|
|
|
|
|
2017-06-16 13:32:53 +02:00
|
|
|
include $(RIOTBASE)/Makefile.include
|