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
9
#pragma once
10
20
21
#include <
assert.h
>
22
#include <stdio.h>
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
28
#define ASSERT(x) assert(x)
29
#define DSME_ASSERT(x) assert(x)
30
#define DSME_SIM_ASSERT(x)
31
32
#define LOG_INFO(x)
33
#define LOG_INFO_PURE(x)
34
#define LOG_INFO_PREFIX
35
#define LOG_ERROR(x)
36
37
#define HEXOUT std::hex
38
#define DECOUT std::dec
39
40
#define LOG_ENDL std::endl
41
42
#define LOG_DEBUG(x)
43
#define LOG_DEBUG_PURE(x)
44
#define LOG_DEBUG_PREFIX
45
46
#ifdef __cplusplus
47
}
48
#endif
49
assert.h
POSIX.1-2008 compliant version of the assert macro.
Generated on Fri Oct 24 2025 14:53:24 by
1.13.2