~aleteoryx/muditaos

ref: 395e99e16239630263d5892e2462f1333236ae99 muditaos/module-lwip/includes/arch/cc.h -rw-r--r-- 825 bytes
395e99e1 — Marek Niepieklo [CP-583] Update failure due to version.json on the phone 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#define LWIP_DECLARE_MEMORY_ALIGNED(variable_name, size)                                                               \
    u8_t variable_name[LWIP_MEM_ALIGN_BUFFER(size)] __attribute__((section(".sdram"))) __attribute__((aligned(4)));

#define LWIP_PLATFORM_ASSERT(x)                                                                                        \
    do {                                                                                                               \
        printf("Assertion \"%s\" failed at line %d in %s\n", x, __LINE__, __FILE__);                                   \
        abort();                                                                                                       \
    } while (0)

#define TCPIP_MBOX_SIZE        1028
#define TCPIP_THREAD_STACKSIZE 4096