Skip to content

Commit ad53a28

Browse files
author
fpr
committed
Custom option added.
Possibility to use IT mode for ethernet input but it is better to keep the polling mode. Signed-off-by: fpr <[email protected]>
1 parent 80b70aa commit ad53a28

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Diff for: variants/NUCLEO_F429ZI/Ethernet/lwipopts.h

+11
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,17 @@ The STM32F4x7 allows computing and verifying the IP, UDP, TCP and ICMP checksums
230230
* file system (to prevent changing the file included in CVS) */
231231
#define HTTPD_USE_CUSTOM_FSDATA 1
232232

233+
/*
234+
------------------------------------
235+
---------- Custom options ----------
236+
------------------------------------
237+
*/
238+
239+
/** Uncomment this line to use the ethernet input in interrupt mode.
240+
* NOTE: LwIP stack documentation recommends to use the polling mode without
241+
* an operating system. */
242+
//#define ETH_INPUT_USE_IT 1
243+
233244
#endif /* __LWIPOPTS_H__ */
234245

235246
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

0 commit comments

Comments
 (0)