-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
question about changes to lwip2 #5879
Comments
I think the changes makes sense, but I'm not sure where to put them. @d-a-v ? |
i don't believe the builder dir is tracked via git in the repo which is a reason why i asked the original question. i know this isn't the preferred way to submit changes. just to be clear on where the changes go: .c file changes:
function prototypes in these files:
git status tells me:
|
So you modified the lwip sources. Our lwip is built from @d-a-v's repo, so one possibility is to add a patch there, but the best would be to propose the changes upstream to the lwip repo. |
#2 is the good ref. There is a |
(a previous message seems to have been modified) You can propose your changes with the following:
Then from your github-fork/clone you can make a pull request on lwip2 submodule repository, that will finally land here. @bperrybap is interested in your changes. |
pushed up a PR. hopefully someone can find it useful. i'm using it but have not tested extensively nor am a programmer by trade so be kind. to be clear, only the bits revolving around sntp are mine; if there's other things in the PR not related to sntp, they ain't mine and i disavow all knowledge and there's a chance something might self destruct. in 5 seconds. or less. depending upon frequency skew. |
As a nice feature, it might be nice if sntp_setserver_update_delay(0) could be use to force an update/sync but not alter the currently set update delay value. |
Update delay setting is now offered in lwip2, not per server though. |
@d-a-v the current features are good enough for me. i haven't looked at this code in months. @bperrybap i encourage you to go ahead and patch my original patch. here's a potential drop-in replacement for what you are asking for. completely untested. your mileage may vary. past performance is no guarantee of future results. etc. etc.
|
Closing as solved, NTP has received numerous fixes and improvements. The API is showed in the ntp-tz-dst example. |
Basic Infos
Platform
Settings in IDE
Problem Description
This is not problem.
More of a, "I have made changes to lwip2, specifically as it relates to sntp and was wondering if there was interest in regards to including these as part of the official API. Or not."
Basically I've added the following feature and functions and exposed them:
features:
functions:
relevant code snippets below. what's not included (in this message) are the necessary header file changes that define the new functions. if there's a desire to include these as part of the official API then i'd be happy to get the changes into git or diff format.
The text was updated successfully, but these errors were encountered: