PPPoS: Rearrange config items (move TCP/IP stack size to LWIP), mark as experimental/unsupported

Ref #272
This commit is contained in:
Angus Gratton 2017-04-21 11:08:40 +10:00 committed by Angus Gratton
parent 47c722d674
commit f3a567b65d
3 changed files with 29 additions and 28 deletions

View File

@ -187,13 +187,6 @@ config SYSTEM_EVENT_TASK_STACK_SIZE
help
Config system event task stack size in different application.
config TCPIP_TASK_STACK_SIZE
int "TCP/IP Task Stack Size"
default 2048
help
Configure TCP/IP task stack size, used by LWIP to process multi-threaded TCP/IP operations.
The default is 2048 bytes, setting this stack too small will result in stack overflow crashes.
config MAIN_TASK_STACK_SIZE
int "Main task stack size"
default 4096

View File

@ -89,46 +89,54 @@ config LWIP_DHCP_DOES_ARP_CHECK
Enabling this option allows check if the offered IP address is not already
in use by another host on the network.
config PPP_SUPPORT
bool "Enable PPP support"
default 0
config TCPIP_TASK_STACK_SIZE
int "TCP/IP Task Stack Size"
default 2048
help
Enable PPP stack. Now only PPP over serial is supported
Configure TCP/IP task stack size, used by LWIP to process multi-threaded TCP/IP operations.
The default is 2048 bytes, setting this stack too small will result in stack overflow crashes.
if PPP_SUPPORT
menuconfig PPP_SUPPORT
bool "Enable PPP support (new/experimental)"
default n
help
Enable PPP stack. Now only PPP over serial is possible.
PPP over serial support is experimental and unsupported.
config PPP_PAP_SUPPORT
bool "Enable PAP support"
default 0
depends on PPP_SUPPORT
default n
help
Enable Password Authentication Protocol (PAP) support
config PPP_CHAP_SUPPORT
bool "Enable CHAP support"
default 0
depends on PPP_SUPPORT
default n
help
Enable Challenge Handshake Authentication Protocol (CHAP) support
Enable Challenge Handshake Authentication Protocol (CHAP) support
config PPP_MSCHAP_SUPPORT
bool "Enable MSCHAP support"
default 0
depends on PPP_SUPPORT
default n
help
Enable Microsoft version of the Challenge-Handshake Authentication Protocol (MSCHAP) support
config PPP_MPPE_SUPPORT
bool "Enable MPPE support"
default 0
depends on PPP_SUPPORT
default n
help
Enable Microsoft Point-to-Point Encryption (MPPE) support
config PPP_DEBUG_ON
bool "Enable PPP debug logs"
default 0
bool "Enable PPP debug log output"
depends on PPP_SUPPORT
default n
help
Enable PPP debug logs
Enable PPP debug log output
endif
endmenu

View File

@ -4,6 +4,6 @@ It shows example of ppp client using lwip PPPoS api and GSM.
Before you run this example, make sure your GSM is in command mode
and is registered to network.
Tested with GSM Telit GL865-DUAL V3.
PPP over serial support is experimental and unsupported. This example was tested with GSM Telit GL865-DUAL V3.
See the README.md file in the upper level 'examples' directory for more information about examples.