Compiler/platform abstraction. More...
Compiler/platform abstraction.
Definition in file cc.h.
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include "irq.h"
#include "byteorder.h"
#include "mutex.h"
Go to the source code of this file.
Macros | |
#define | BYTE_ORDER (LITTLE_ENDIAN) |
platform's endianness | |
(sn)printf formatters for the generic lwIP types | |
#define | X8_F "02" PRIx8 |
#define | U16_F PRIu16 |
#define | S16_F PRId16 |
#define | X16_F PRIx16 |
#define | U32_F PRIu32 |
#define | S32_F PRId32 |
#define | X32_F PRIx32 |
#define | SZT_F PRIuPTR |
Compiler hints for packing structures | |
#define | PACK_STRUCT_FIELD(x) x |
#define | PACK_STRUCT_STRUCT __attribute__((packed)) |
#define | PACK_STRUCT_BEGIN |
#define | PACK_STRUCT_END |
Platform specific diagnostic output | |
#define | LWIP_PLATFORM_DIAG(x) printf x |
#define | LWIP_PLATFORM_ASSERT(x) |