Skip to content

Add FreeRTOS port with blocking bsd socket API#26

Merged
philljj merged 4 commits intowolfSSL:masterfrom
danielinux:freeRTOS
Feb 13, 2026
Merged

Add FreeRTOS port with blocking bsd socket API#26
philljj merged 4 commits intowolfSSL:masterfrom
danielinux:freeRTOS

Conversation

@danielinux
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings February 12, 2026 22:41
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a FreeRTOS port for wolfIP that provides a blocking BSD-style socket API wrapper around the non-blocking wolfIP core. The implementation follows the same architectural pattern as the existing POSIX wrapper, using a dedicated polling task and callback-driven synchronization with FreeRTOS primitives (mutexes and semaphores) to provide blocking socket semantics.

Changes:

  • Added FreeRTOS port with blocking socket API wrappers for all standard BSD socket operations
  • Implemented polling task that periodically calls wolfIP_poll() with mutex protection
  • Added comprehensive documentation explaining the integration, design, and usage patterns

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
src/port/freeRTOS/bsd_socket.h Header file defining the public API for FreeRTOS socket initialization and BSD socket function declarations
src/port/freeRTOS/bsd_socket.c Implementation of the FreeRTOS socket wrapper layer with polling task, FD management, and blocking socket operations
src/port/freeRTOS/README.md Comprehensive documentation covering the port's design, API, integration steps, and configuration options
README.md Updated main README to reference the new FreeRTOS port and external demo project

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@philljj philljj merged commit d34f7e3 into wolfSSL:master Feb 13, 2026
4 checks 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.

2 participants