mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
44 lines
731 B
C
44 lines
731 B
C
|
/*
|
||
|
* Copyright (C) 2020 Inria
|
||
|
*
|
||
|
* This file is subject to the terms and conditions of the GNU Lesser
|
||
|
* General Public License v2.1. See the file LICENSE in the top level
|
||
|
* directory for more details.
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* @ingroup pkg_mynewt_core
|
||
|
* @{
|
||
|
*
|
||
|
* @file
|
||
|
* @brief sysinit abstraction layer for RIOT adaption
|
||
|
*
|
||
|
* @author Francisco Molina <francois-xavier.molina@inria.fr>
|
||
|
* @}
|
||
|
*/
|
||
|
|
||
|
#ifndef SYSINIT_SYSINIT_H
|
||
|
#define SYSINIT_SYSINIT_H
|
||
|
|
||
|
#include "assert.h"
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
/**
|
||
|
* @brief assert macro
|
||
|
*/
|
||
|
#define SYSINIT_PANIC_ASSERT(rc) assert(rc);
|
||
|
|
||
|
/**
|
||
|
* @brief empty definition
|
||
|
*/
|
||
|
#define SYSINIT_ASSERT_ACTIVE()
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif /* SYSINIT_SYSINIT_H */
|