mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 09:50:15 +01:00
This lwIP configuration file has options that are common to all ports, and the ports are updated to use this file. This change is a no-op, the lwIP configuration remains the same for the four ports using this common file. This reduces code duplication, keeps the ports in sync, and makes it easier to update the configuration for all ports at once. Signed-off-by: Damien George <damien@micropython.org>
16 lines
400 B
C
16 lines
400 B
C
#ifndef MICROPY_INCLUDED_MIMXRT_LWIP_LWIPOPTS_H
|
|
#define MICROPY_INCLUDED_MIMXRT_LWIP_LWIPOPTS_H
|
|
|
|
#define LWIP_NETIF_EXT_STATUS_CALLBACK 1
|
|
|
|
#define LWIP_IPV6 0
|
|
|
|
#define LWIP_RAND() trng_random_u32()
|
|
|
|
// Include common lwIP configuration.
|
|
#include "extmod/lwip-include/lwipopts_common.h"
|
|
|
|
extern uint32_t trng_random_u32(void);
|
|
|
|
#endif // MICROPY_INCLUDED_MIMXRT_LWIP_LWIPOPTS_H
|