Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
dsme_platform.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2022 HAW Hamburg
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
19
#ifndef OPENDSME_DSME_PLATFORM_H
20
#define OPENDSME_DSME_PLATFORM_H
21
22
#include <
assert.h
>
23
#include <
stdio.h
>
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
29
#define ASSERT(x) assert(x)
30
#define DSME_ASSERT(x) assert(x)
31
#define DSME_SIM_ASSERT(x)
33
#define LOG_INFO(x)
34
#define LOG_INFO_PURE(x)
35
#define LOG_INFO_PREFIX
36
#define LOG_ERROR(x)
38
#define HEXOUT std::hex
39
#define DECOUT std::dec
41
#define LOG_ENDL std::endl
43
#define LOG_DEBUG(x)
44
#define LOG_DEBUG_PURE(x)
45
#define LOG_DEBUG_PREFIX
47
#ifdef __cplusplus
48
}
49
#endif
50
51
#endif
/* OPENDSME_DSME_PLATFORM_H */
assert.h
POSIX.1-2008 compliant version of the assert macro.
stdio.h
stdio wrapper to extend the C libs stdio
Generated on Sat Nov 9 2024 01:05:31 by
1.9.8