| 1 | #ifndef MICROPY_INCLUDED_MIMXRT_LWIP_LWIPOPTS_H |
| 2 | #define MICROPY_INCLUDED_MIMXRT_LWIP_LWIPOPTS_H |
| 3 | |
| 4 | #define LWIP_NETIF_EXT_STATUS_CALLBACK 1 |
| 5 | |
| 6 | #define LWIP_IPV6 0 |
| 7 | |
| 8 | #define LWIP_RAND() trng_random_u32() |
| 9 | |
| 10 | // Include common lwIP configuration. |
| 11 | #include "extmod/lwip-include/lwipopts_common.h" |
| 12 | |
| 13 | extern uint32_t trng_random_u32(void); |
| 14 | |
| 15 | #endif // MICROPY_INCLUDED_MIMXRT_LWIP_LWIPOPTS_H |