S&B Volcano vaporizer remote control with Pi Pico W
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

lwipopts.h 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. #ifndef _LWIPOPTS_H
  2. #define _LWIPOPTS_H
  3. // see https://www.nongnu.org/lwip/2_1_x/group__lwip__opts.html for details
  4. #define NO_SYS 1
  5. #define LWIP_SOCKET 0
  6. #define MEM_LIBC_MALLOC 0
  7. #define MEM_ALIGNMENT 4
  8. #define MEM_SIZE 4000
  9. #define MEMP_NUM_TCP_SEG 32
  10. #define MEMP_NUM_ARP_QUEUE 10
  11. #define PBUF_POOL_SIZE 24
  12. #define LWIP_ARP 1
  13. #define LWIP_ETHERNET 1
  14. #define LWIP_ICMP 1
  15. #define LWIP_RAW 1
  16. #define TCP_WND (8 * TCP_MSS)
  17. #define TCP_MSS 1460
  18. #define TCP_SND_BUF (8 * TCP_MSS)
  19. #define TCP_SND_QUEUELEN ((4 * (TCP_SND_BUF) + (TCP_MSS - 1)) / (TCP_MSS))
  20. #define LWIP_NETIF_STATUS_CALLBACK 1
  21. #define LWIP_NETIF_LINK_CALLBACK 1
  22. #define LWIP_NETIF_HOSTNAME 1
  23. #define LWIP_NETCONN 0
  24. #define MEM_STATS 0
  25. #define SYS_STATS 0
  26. #define MEMP_STATS 0
  27. #define LINK_STATS 0
  28. #define LWIP_CHKSUM_ALGORITHM 3
  29. #define LWIP_DHCP 1
  30. #define LWIP_IPV4 1
  31. #define LWIP_TCP 1
  32. #define LWIP_UDP 1
  33. #define LWIP_DNS 1
  34. #define LWIP_TCP_KEEPALIVE 1
  35. #define LWIP_NETIF_TX_SINGLE_PBUF 1
  36. #define DHCP_DOES_ARP_CHECK 0
  37. #define LWIP_DHCP_DOES_ACD_CHECK 0
  38. #ifndef NDEBUG
  39. #define LWIP_DEBUG 1
  40. #define LWIP_STATS 1
  41. #define LWIP_STATS_DISPLAY 1
  42. #endif
  43. #define ETHARP_DEBUG LWIP_DBG_OFF
  44. #define NETIF_DEBUG LWIP_DBG_OFF
  45. #define PBUF_DEBUG LWIP_DBG_OFF
  46. #define API_LIB_DEBUG LWIP_DBG_OFF
  47. #define API_MSG_DEBUG LWIP_DBG_OFF
  48. #define SOCKETS_DEBUG LWIP_DBG_OFF
  49. #define ICMP_DEBUG LWIP_DBG_OFF
  50. #define INET_DEBUG LWIP_DBG_OFF
  51. #define IP_DEBUG LWIP_DBG_OFF
  52. #define IP_REASS_DEBUG LWIP_DBG_OFF
  53. #define RAW_DEBUG LWIP_DBG_OFF
  54. #define MEM_DEBUG LWIP_DBG_OFF
  55. #define MEMP_DEBUG LWIP_DBG_OFF
  56. #define SYS_DEBUG LWIP_DBG_OFF
  57. #define TCP_DEBUG LWIP_DBG_OFF
  58. #define TCP_INPUT_DEBUG LWIP_DBG_OFF
  59. #define TCP_OUTPUT_DEBUG LWIP_DBG_OFF
  60. #define TCP_RTO_DEBUG LWIP_DBG_OFF
  61. #define TCP_CWND_DEBUG LWIP_DBG_OFF
  62. #define TCP_WND_DEBUG LWIP_DBG_OFF
  63. #define TCP_FR_DEBUG LWIP_DBG_OFF
  64. #define TCP_QLEN_DEBUG LWIP_DBG_OFF
  65. #define TCP_RST_DEBUG LWIP_DBG_OFF
  66. #define UDP_DEBUG LWIP_DBG_OFF
  67. #define TCPIP_DEBUG LWIP_DBG_OFF
  68. #define PPP_DEBUG LWIP_DBG_OFF
  69. #define SLIP_DEBUG LWIP_DBG_OFF
  70. #define DHCP_DEBUG LWIP_DBG_OFF
  71. #define LWIP_HTTPD 1
  72. #define LWIP_HTTPD_SSI 0
  73. #define LWIP_HTTPD_CGI 1
  74. #define LWIP_HTTPD_CUSTOM_FILES 1
  75. #define LWIP_HTTPD_FILE_EXTENSION 1
  76. #define LWIP_HTTPD_DYNAMIC_HEADERS 1
  77. #define HTTPD_FSDATA_FILE "httpd_fsdata.c"
  78. #endif /* __LWIPOPTS_H__ */