eBoard ①⑧⑨
Written for SIA 2017/2018
eagle_Assert.h File Reference

this file contains the assert wrapper for EBOARD_DEBUG_MODE More...

#include <assert.h>
+ Include dependency graph for eagle_Assert.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void __assert (const char *func_call, const char *file_call, optVAL_t lineno_call, const char *sexp_call)
 [DEBUG_MODE] custom assert message More...
 

Detailed Description

this file contains the assert wrapper for EBOARD_DEBUG_MODE

Last Updated:

Version
3.2.0a

Definition in file eagle_Assert.h.

Function Documentation

◆ __assert()

void __assert ( const char *  func_call,
const char *  file_call,
optVAL_t  lineno_call,
const char *  sexp_call 
)

[DEBUG_MODE] custom assert message

Parameters
func_callthe function name
file_callthe file name
lineno_callthe line number
sexp_callthe expression
Note
Example output when using a not-allowed pin:
Error with: checkIdx in /home/eagleoutice/Dokumente/proj/_sia/src/eBoard.h
        >>idx>0x1 && idx < 0xA
    This happens if an out of bounds exception
    has occured. Following pins shouldn't be used:
    D2&D3 : Used for Bluetooth communication
    D4&D5 : Used for main motor control
    D10-13: Used for smart-servo-shield