mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
native: always assert() verbosely
This commit is contained in:
parent
4fbe9b1d11
commit
235375f664
@ -124,6 +124,8 @@ all-asan: export LINKFLAGS += -fsanitize=address -fno-omit-frame-pointer -g
|
||||
|
||||
export INCLUDES += $(NATIVEINCLUDES)
|
||||
|
||||
export CFLAGS += -DDEBUG_ASSERT_VERBOSE
|
||||
|
||||
# workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52624
|
||||
ifneq ($(shell gcc --version | head -1 | grep -E ' (4.6|4.7)'),)
|
||||
export CFLAGS += -DHAVE_NO_BUILTIN_BSWAP16
|
||||
|
@ -46,6 +46,10 @@ extern "C" {
|
||||
#define DEBUG_ASSERT_VERBOSE
|
||||
#endif
|
||||
|
||||
#ifndef RIOT_FILE_RELATIVE
|
||||
#define RIOT_FILE_RELATIVE (__FILE__)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief the string that is passed to panic in case of a failing assertion
|
||||
*/
|
||||
|
@ -2016,7 +2016,8 @@ PREDEFINED = DOXYGEN \
|
||||
MODULE_GNRC_SIXLOWPAN \
|
||||
MODULE_GNRC_SIXLOWPAN_ND_ROUTER \
|
||||
MODULE_GNRC_SIXLOWPAN_ND_BORDER_ROUTER \
|
||||
MODULE_GNRC_UDP
|
||||
MODULE_GNRC_UDP \
|
||||
RIOT_FILE_RELATIVE
|
||||
|
||||
|
||||
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
|
||||
|
Loading…
Reference in New Issue
Block a user