MCUXpresso_MIMXRT1052xxxxB/boards/evkbimxrt1050/wifi_examples/wifi_cli/lwippools.h
Yilin Sun 6baf4427ce
Updated to v2.15.000
Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-03-18 23:15:10 +08:00

26 lines
704 B
C

/* @file lwippools.h
*
* @brief This file contains custom LwIP memory pool definitions
*
* Copyright 2020, 2023 NXP
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __LWIPPOOLS_H__
#define __LWIPPOOLS_H__
#ifdef MEMP_USE_CUSTOM_POOLS
/*
* We explicitly move certain large LwIP memory pools to the custom defined
* .wlan_data section in (flash) memory to avoid memory overflow in the
* m_data section (RAM).
*/
extern unsigned char __attribute__((section(".wlan_data"))) memp_memory_PBUF_POOL_base[];
extern unsigned char __attribute__((section(".wlan_data"))) memp_memory_TCP_PCB_POOL_base[];
#endif /* MEMP_USE_CUSTOM_POOLS */
#endif /* __LWIPPOOLS_H__ */