Allow selectively disabling debug features to reduce code/data size
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 15 Mar 2011 16:59:27 +0000 (16:59 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 15 Mar 2011 16:59:27 +0000 (16:59 +0000)
commite181d2c6e13101cbe778d3ba4bb025ecafe1fab9
tree043e5050f9d71721addf7457065d172fb38ed21c
parent517cca1528492422030102f6c1a6691420c1c1a0
Allow selectively disabling debug features to reduce code/data size

Kdebug already contained preprocessor symbols for turning off ASSERT2()
messages and trace, but it was not possible to override them from
cfg_debug.h.

This patch renames the old options to use positive logic and add a
third option to enable walls. The defaults remain unchanged.

TODO: add these settings to cfg/cfg_debug.h, along with some
documentation.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4774 38d2e660-2303-0410-9eaa-f027e97ec537
bertos/cfg/debug.h