Skip to content

feat: Add examples to demonstrate how to use FreeRTOS with Ethernet #57

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

Merged
merged 1 commit into from
Feb 28, 2022

Conversation

ABOSTM
Copy link
Contributor

@ABOSTM ABOSTM commented Feb 28, 2022

feat: Add examples to demonstrate how to use FreeRTOS with Ethernet

Both WebClientFreeRTOS and WebServerFreeRTOS are available.
Warning: FreeRTOS may disable interrupts between xTaskCreate()
and vTaskStartScheduler(). Thus Ethernet, which is using Interrupts,
should be initialized after scheduling start.
thus it is done within a task.

Fixes #36

Tested on both :

  • nucleo_f746zg
  • nucleo_f429zi

@ABOSTM ABOSTM requested a review from fpistm February 28, 2022 13:52
@fpistm fpistm added the enhancement New feature or request label Feb 28, 2022
Both WebClientFreeRTOS and WebServerFreeRTOS are available.
Warning: FreeRTOS may disable interrupts between xTaskCreate()
and vTaskStartScheduler(). Thus Ethernet, which is using Interrupts,
should be initialized after scheduling start.
thus it is done within a task.

Fixes stm32duino#36

Signed-off-by: Alexandre Bourdiol <[email protected]>
@ABOSTM ABOSTM force-pushed the ETHERNET_FREERTOS_EXAMPLES branch from c7fab1e to 830b882 Compare February 28, 2022 15:39
@fpistm fpistm merged commit 7669880 into stm32duino:main Feb 28, 2022
Copy link
Member

@fpistm fpistm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

STM32Ethernet + STM32FreeRTOS interrupt problems
2 participants