Skip to content
Commit b8add4aa authored by Danny Oerndrup's avatar Danny Oerndrup Committed by Maureen Helm
Browse files

kconfig: assert: Introduce kconfig option ASSERT_NO_FILE_INFO



Default behavior is to include __FILE__ info with all of the Zephyr
assert macros, __ASSERT, __ASSERT_NO_MSG and __ASSERT_LOC. Setting the
ASSERT_NO_FILE_INFO kconfig option, replaces the __FILE__ with an
empty string, thus removing the file information from the asserts.

The intention here is to allow for code space limited devices to run
with asserts enabled.

Signed-off-by: default avatarDanny Oerndrup <daor@demant.com>
parent 0464caef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment