Prusa MINI Firmware overview
|
#include "arch/cc.h"
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <stdint.h>
#include <inttypes.h>
#include <limits.h>
Go to the source code of this file.
Macros | |
#define | LITTLE_ENDIAN 1234 |
#define | BIG_ENDIAN 4321 |
#define | BYTE_ORDER LITTLE_ENDIAN |
#define | LWIP_PLATFORM_DIAG(x) do {printf x;} while(0) |
#define | LWIP_PLATFORM_ASSERT(x) |
#define | LWIP_NO_STDDEF_H 0 |
#define | LWIP_NO_STDINT_H 0 |
#define | LWIP_NO_INTTYPES_H 0 |
#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 |
#define | LWIP_NO_LIMITS_H 0 |
#define | LWIP_CONST_CAST(target_type, val) ((target_type)((ptrdiff_t)val)) |
#define | LWIP_ALIGNMENT_CAST(target_type, val) LWIP_CONST_CAST(target_type, val) |
#define | LWIP_PTR_NUMERIC_CAST(target_type, val) LWIP_CONST_CAST(target_type, val) |
#define | LWIP_DECLARE_MEMORY_ALIGNED(variable_name, size) u8_t variable_name[LWIP_MEM_ALIGN_BUFFER(size)] |
#define | LWIP_MEM_ALIGN_SIZE(size) (((size) + MEM_ALIGNMENT - 1U) & ~(MEM_ALIGNMENT-1U)) |
#define | LWIP_MEM_ALIGN_BUFFER(size) (((size) + MEM_ALIGNMENT - 1U)) |
#define | LWIP_MEM_ALIGN(addr) ((void *)(((mem_ptr_t)(addr) + MEM_ALIGNMENT - 1) & ~(mem_ptr_t)(MEM_ALIGNMENT-1))) |
#define | PACK_STRUCT_BEGIN |
#define | PACK_STRUCT_END |
#define | PACK_STRUCT_STRUCT |
#define | PACK_STRUCT_FIELD(x) x |
#define | PACK_STRUCT_FLD_8(x) PACK_STRUCT_FIELD(x) |
#define | PACK_STRUCT_FLD_S(x) PACK_STRUCT_FIELD(x) |
#define | LWIP_UNUSED_ARG(x) (void)x |
Typedefs | |
typedef uint8_t | u8_t |
typedef int8_t | s8_t |
typedef uint16_t | u16_t |
typedef int16_t | s16_t |
typedef uint32_t | u32_t |
typedef int32_t | s32_t |
typedef uintptr_t | mem_ptr_t |
Support for different processor and compiler architectures
#define LITTLE_ENDIAN 1234 |
#define BIG_ENDIAN 4321 |