| orphan: |
|---|
| vendor: | XMOS |
|---|---|
| version: | 5.0.0 |
| scope: | General Use |
| description: | Lightweight assertions library |
| category: | General purpose |
| keywords: | Debug |
| devices: | xcore.ai, xcore-200 |
This library provides a lightweight and flexible replacement for the standard C header assert.h.
The assertions in this library can be enabled or disabled and configured to control how much information they show. This configuration can be per xassert unit (i.e. for sets of files).
- Low memory usage
- Ability to enable or disable various features via compile time defines
- Timing assertion system to check that code executes within a specified time limit
- Support for XS and VX architectures
- C and C++ support, with XC compatibility on XS
- Timing assertion APIs currently use translation-unit-local static state and are not thread safe; xassert_timing_start()/xassert_timing_end() must be used within the same source file and from a single thread (#64)
- XMOS XTC Tools: 15.3.1
- None
This package is supported by XMOS Ltd. Issues can be raised against the software at www.xmos.com/support or using GitHub issues.