Files
mongoose/extra/stm_exp_pack/Examples/nucleo-f746zg-cube-freertos-lwip/LWIP/Target/ethernetif.h
T
Sergio R. Caprile 836a8a284c Squashed commit of the following:
update for tag movement
    updated to new release
    update pack in examples
    new release number
    rename to extra
    Cleanup
    Added ready-made examples to ST pack
    Add Keil examples
    Fix CRLF, start adding examples descriptions
    Remove examples
    STM32Cube Expansion Pack with no examples
    Add STM32Cube Expansion Pack skeleton
    Added examples for discussion
    Add support for Cube
    Working on examples
    pack skeleton ready
2026-11-18 14:23:38 -03:00

46 lines
1.3 KiB
C

/* USER CODE BEGIN Header */
/**
******************************************************************************
* File Name : ethernetif.h
* Description : This file provides initialization code for LWIP
* middleWare.
******************************************************************************
* @attention
*
* Copyright (c) 2023 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
/* USER CODE END Header */
#ifndef __ETHERNETIF_H__
#define __ETHERNETIF_H__
#include "lwip/err.h"
#include "lwip/netif.h"
#include "cmsis_os.h"
/* Within 'USER CODE' section, code will be kept by default at each generation */
/* USER CODE BEGIN 0 */
/* USER CODE END 0 */
/* Exported functions ------------------------------------------------------- */
err_t ethernetif_init(struct netif *netif);
void ethernet_link_thread(void const * argument);
void Error_Handler(void);
u32_t sys_jiffies(void);
u32_t sys_now(void);
/* USER CODE BEGIN 1 */
/* USER CODE END 1 */
#endif