Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
235375f6
You need to sign in or sign up before continuing.
Commit
235375f6
authored
8 years ago
by
Martine Lenders
Browse files
Options
Downloads
Patches
Plain Diff
native: always assert() verbosely
parent
4fbe9b1d
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
boards/native/Makefile.include
+2
-0
2 additions, 0 deletions
boards/native/Makefile.include
core/include/assert.h
+4
-0
4 additions, 0 deletions
core/include/assert.h
doc/doxygen/riot.doxyfile
+2
-1
2 additions, 1 deletion
doc/doxygen/riot.doxyfile
with
8 additions
and
1 deletion
boards/native/Makefile.include
+
2
−
0
View file @
235375f6
...
@@ -124,6 +124,8 @@ all-asan: export LINKFLAGS += -fsanitize=address -fno-omit-frame-pointer -g
...
@@ -124,6 +124,8 @@ all-asan: export LINKFLAGS += -fsanitize=address -fno-omit-frame-pointer -g
export
INCLUDES
+=
$(
NATIVEINCLUDES
)
export
INCLUDES
+=
$(
NATIVEINCLUDES
)
export
CFLAGS
+=
-DDEBUG_ASSERT_VERBOSE
# workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52624
# workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52624
ifneq
($(shell gcc --version | head -1 | grep -E ' (4.6|4.7)'),)
ifneq
($(shell gcc --version | head -1 | grep -E ' (4.6|4.7)'),)
export
CFLAGS
+=
-DHAVE_NO_BUILTIN_BSWAP16
export
CFLAGS
+=
-DHAVE_NO_BUILTIN_BSWAP16
...
...
This diff is collapsed.
Click to expand it.
core/include/assert.h
+
4
−
0
View file @
235375f6
...
@@ -46,6 +46,10 @@ extern "C" {
...
@@ -46,6 +46,10 @@ extern "C" {
#define DEBUG_ASSERT_VERBOSE
#define DEBUG_ASSERT_VERBOSE
#endif
#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
* @brief the string that is passed to panic in case of a failing assertion
*/
*/
...
...
This diff is collapsed.
Click to expand it.
doc/doxygen/riot.doxyfile
+
2
−
1
View file @
235375f6
...
@@ -2016,7 +2016,8 @@ PREDEFINED = DOXYGEN \
...
@@ -2016,7 +2016,8 @@ PREDEFINED = DOXYGEN \
MODULE_GNRC_SIXLOWPAN \
MODULE_GNRC_SIXLOWPAN \
MODULE_GNRC_SIXLOWPAN_ND_ROUTER \
MODULE_GNRC_SIXLOWPAN_ND_ROUTER \
MODULE_GNRC_SIXLOWPAN_ND_BORDER_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
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment