Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

190 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

orphan:

lib_xassert: Assertions library

vendor:XMOS
version:5.0.0
scope:General Use
description:Lightweight assertions library
category:General purpose
keywords:Debug
devices:xcore.ai, xcore-200

Summary

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).

Features

  • 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

Known issues

  • 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)

Development repo

Required tools

  • XMOS XTC Tools: 15.3.1

Required libraries (dependencies)

Related application notes

  • None

Support

This package is supported by XMOS Ltd. Issues can be raised against the software at www.xmos.com/support or using GitHub issues.

About

Lightweight assertions library

Resources

Stars

2 stars

Watchers

18 watching

Forks

Releases

Packages

Used by

Contributors

Languages