Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Increase default PPP stack size from 512 bytes to 768 bytes. #4677
PPP is running close to the edge of its default thread stack size of 512 bytes. When it experiences an FCS error on the incoming data (caused by character loss when the incoming serial rate is too high for it to process in time) it performs some additional work which overruns the thread's stack, hitting the OS "stack underflow" check.
Increasing the PPP stack size to 768 bytes resolves this problem.
Note: this change already discussed at some length with @kjbracey-arm.
Steps to reproduce