Skip to content
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

New example for ntp_client with LwIP Socket API #434

Merged
merged 3 commits into from
May 2, 2024

Conversation

gemarcano
Copy link

Implemented a new example derived from the existing ntp_client example, but this time using the LwIP Socket API and FreeRTOS NO_SYS=0.

This was requested in raspberrypi/pico-sdk#1540.

This depends on raspberrypi/pico-sdk#1530 to match upstream FreeRTOS changes when they merged SMP support.

I tested this locally by manually enabling USB output and disabling UART.

My own primary criticism is that I implemented everything in a single function. It was easier for me to follow, as we no longer need callbacks. I find the code relatively readable, but it may benefit from someone else deciding if it needs more comments.

@peterharperuk peterharperuk self-assigned this Nov 17, 2023
@peterharperuk
Copy link
Contributor

Looks great - I'll fix the address printing and then maybe just push it to develop.

peterharperuk
peterharperuk previously approved these changes Nov 17, 2023
gemarcano and others added 3 commits May 2, 2024 17:10
Implemented a new example derived from the existing ntp_client example,
but this time using the LwIP Socket API and FreeRTOS NO_SYS=0.
@peterharperuk peterharperuk changed the base branch from master to develop May 2, 2024 16:19
@peterharperuk peterharperuk merged commit 53556e5 into raspberrypi:develop May 2, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants