EFM32 Giant Gecko Software Documentation
efm32gg-doc-4.2.1
|
Emlib peripheral API "assert" implementation. More...
Go to the source code of this file.
By default, emlib library assert usage is not included in order to reduce footprint and processing overhead. Further, emlib assert usage is decoupled from ISO C assert handling (NDEBUG usage), to allow a user to use ISO C assert without including emlib assert statements.
Below are available defines for controlling emlib assert inclusion. The defines are typically defined for a project to be used by the preprocessor.
As indicated above, if none of the above defines are used, emlib assert statements are not compiled.
(C) Copyright 2015 Silicon Labs, http://www.silabs.com
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Labs has no obligation to support this Software. Silicon Labs is providing the Software "AS IS", with no express or implied warranties of any kind, including, but not limited to, any implied warranties of merchantability or fitness for any particular purpose or warranties against infringement of any proprietary rights of a third party.
Silicon Labs will not be liable for any consequential, incidental, or special damages, or any other relief, or for any claim by any third party, arising from your use of this Software.
Definition in file em_assert.h.