forked from xuos/xiuos
Fix compilation errors for imxrt1176 from wuzheng
it is OK
This commit is contained in:
commit
49b20dfa6a
|
@ -2,6 +2,10 @@ ifeq ($(CONFIG_BOARD_CORTEX_M7_EVB),y)
|
||||||
SRC_FILES := boot.S interrupt.c interrupt_vector.S
|
SRC_FILES := boot.S interrupt.c interrupt_vector.S
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_BOARD_IMXRT1176_SBC_EVB),y)
|
||||||
|
SRC_FILES := boot.S interrupt.c interrupt_vector.S
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_BOARD_CORTEX_V2M_EVB),y)
|
ifeq ($(CONFIG_BOARD_CORTEX_V2M_EVB),y)
|
||||||
SRC_DIR += V2M
|
SRC_DIR += V2M
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -231,6 +231,19 @@ void ethernetif_input(void *netif_arg)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function should be called when a packet is ready to be read
|
||||||
|
* from the interface. It uses the function ethernetif_linkinput() that
|
||||||
|
* should handle the actual reception of bytes from the network
|
||||||
|
* interface. Then the type of the received packet is determined and
|
||||||
|
* the appropriate input function is called.
|
||||||
|
*
|
||||||
|
* @param netif the lwip network interface structure for this ethernetif
|
||||||
|
*/
|
||||||
|
void ethernetif_input2(void *netif_arg){
|
||||||
|
ethernetif_input(netif_arg);
|
||||||
|
}
|
||||||
|
|
||||||
void *ethernetif_get_enet_base(const uint8_t enetIdx)
|
void *ethernetif_get_enet_base(const uint8_t enetIdx)
|
||||||
{
|
{
|
||||||
ENET_Type *enets[] = ENET_BASE_PTRS;
|
ENET_Type *enets[] = ENET_BASE_PTRS;
|
||||||
|
|
|
@ -160,6 +160,7 @@ err_t ethernetif1_init(struct netif *netif);
|
||||||
* @param netif the lwip network interface structure for this ethernetif
|
* @param netif the lwip network interface structure for this ethernetif
|
||||||
*/
|
*/
|
||||||
void ethernetif_input( void *netif_arg);
|
void ethernetif_input( void *netif_arg);
|
||||||
|
void ethernetif_input2( void *netif_arg);
|
||||||
|
|
||||||
int ETH_BSP_Config(void);
|
int ETH_BSP_Config(void);
|
||||||
void *ethernetif_config_enet_set(uint8_t enet_port);
|
void *ethernetif_config_enet_set(uint8_t enet_port);
|
||||||
|
|
|
@ -506,7 +506,9 @@ The STM32F4x7 allows computing and verifying the IP, UDP, TCP and ICMP checksums
|
||||||
#define IP_REASSEMBLY 1
|
#define IP_REASSEMBLY 1
|
||||||
#define IP_FRAG 1
|
#define IP_FRAG 1
|
||||||
#define IP_REASS_MAX_PBUFS 10
|
#define IP_REASS_MAX_PBUFS 10
|
||||||
|
#ifndef MEMP_NUM_REASSDATA
|
||||||
#define MEMP_NUM_REASSDATA 10
|
#define MEMP_NUM_REASSDATA 10
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#define IP_REASSEMBLY 0
|
#define IP_REASSEMBLY 0
|
||||||
#define IP_FRAG 0
|
#define IP_FRAG 0
|
||||||
|
|
Loading…
Reference in New Issue