Last change
on this file since 76 was
76,
checked in by Zed, 5 months ago
|
Fixing project before changing NSS control for SPI2 in CubeMX.
|
File size:
2.0 KB
|
Line | |
---|
1 | /* USER CODE BEGIN Header */ |
---|
2 | /** |
---|
3 | ****************************************************************************** |
---|
4 | * File Name : LWIP.h |
---|
5 | * Description : This file provides code for the configuration |
---|
6 | * of the LWIP. |
---|
7 | ****************************************************************************** |
---|
8 | * @attention |
---|
9 | * |
---|
10 | * Copyright (c) 2025 STMicroelectronics. |
---|
11 | * All rights reserved. |
---|
12 | * |
---|
13 | * This software is licensed under terms that can be found in the LICENSE file |
---|
14 | * in the root directory of this software component. |
---|
15 | * If no LICENSE file comes with this software, it is provided AS-IS. |
---|
16 | * |
---|
17 | ************************************************************************* |
---|
18 | |
---|
19 | */ |
---|
20 | /* USER CODE END Header */ |
---|
21 | /* Define to prevent recursive inclusion -------------------------------------*/ |
---|
22 | #ifndef __mx_lwip_H |
---|
23 | #define __mx_lwip_H |
---|
24 | #ifdef __cplusplus |
---|
25 | extern "C" { |
---|
26 | #endif |
---|
27 | |
---|
28 | /* Includes ------------------------------------------------------------------*/ |
---|
29 | #include "lwip/opt.h" |
---|
30 | #include "lwip/mem.h" |
---|
31 | #include "lwip/memp.h" |
---|
32 | #include "netif/etharp.h" |
---|
33 | #include "lwip/dhcp.h" |
---|
34 | #include "lwip/netif.h" |
---|
35 | #include "lwip/timeouts.h" |
---|
36 | #include "ethernetif.h" |
---|
37 | |
---|
38 | /* Includes for RTOS ---------------------------------------------------------*/ |
---|
39 | #if WITH_RTOS |
---|
40 | #include "lwip/tcpip.h" |
---|
41 | #endif /* WITH_RTOS */ |
---|
42 | |
---|
43 | /* USER CODE BEGIN 0 */ |
---|
44 | |
---|
45 | /* USER CODE END 0 */ |
---|
46 | |
---|
47 | /* Global Variables ----------------------------------------------------------*/ |
---|
48 | //extern ETH_HandleTypeDef heth; |
---|
49 | |
---|
50 | /* LWIP init function */ |
---|
51 | void MX_LWIP_Init(void); |
---|
52 | |
---|
53 | #if !WITH_RTOS |
---|
54 | /* USER CODE BEGIN 1 */ |
---|
55 | /* Function defined in lwip.c to: |
---|
56 | * - Read a received packet from the Ethernet buffers |
---|
57 | * - Send it to the lwIP stack for handling |
---|
58 | * - Handle timeouts if NO_SYS_NO_TIMERS not set |
---|
59 | */ |
---|
60 | void MX_LWIP_Process(void); |
---|
61 | |
---|
62 | /* USER CODE END 1 */ |
---|
63 | #endif /* WITH_RTOS */ |
---|
64 | |
---|
65 | #ifdef __cplusplus |
---|
66 | } |
---|
67 | #endif |
---|
68 | #endif /*__ mx_lwip_H */ |
---|
69 | |
---|
70 | /** |
---|
71 | * @} |
---|
72 | */ |
---|
73 | |
---|
74 | /** |
---|
75 | * @} |
---|
76 | */ |
---|
Note: See
TracBrowser
for help on using the repository browser.