-
Notifications
You must be signed in to change notification settings - Fork 178
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
Add FreeRTOS + wolfIP + wolfSSL HTTPS example #491
base: master
Are you sure you want to change the base?
Add FreeRTOS + wolfIP + wolfSSL HTTPS example #491
Conversation
This example demonstrates a full-stack embedded networking application using: - FreeRTOS (POSIX port) for RTOS simulation - wolfIP for zero-allocation networking - wolfSSL for TLS 1.3 security Features: - Virtual networking through TAP interface - HTTPS server with TLS 1.3 - UDP echo server for testing - Comprehensive test scripts Co-Authored-By: [email protected] <[email protected]>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Tested and fixed two minor things. |
3. Build the example: | ||
```bash | ||
mkdir -p build && cd build | ||
cmake .. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When running I get an error saying that wolfIP is missing, had to clone it outside of the wolfssl-examples manually (in ../../../
relative to wolfssl-examples) before running cmake ..
, maybe this can be integrated into setup.sh
when cloning the FreeRTOS repositories and the setting up the example.
Same for wolfssl (with default config: ./configure
).
```bash | ||
mkdir -p build && cd build | ||
cmake .. | ||
make |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the creation of the build directory and the cmake
command can be integrated directly into the make
command.
|
||
# Clone FreeRTOS repositories if they don't exist | ||
if [ ! -d "FreeRTOS" ]; then | ||
git clone $FREERTOS_REPO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It may be worth to add --depth=1
to the cloning of the repos to make the setup quicker?
fi | ||
|
||
if [ ! -d "FreeRTOS-Kernel" ]; then | ||
git clone $FREERTOS_KERNEL_REPO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above, can be cloned with --depth=1
.
- Add --depth=1 to git clone commands for faster downloads - Integrate wolfSSL and wolfIP setup into setup.sh - Simplify build instructions in README.md Co-Authored-By: [email protected] <[email protected]>
Add FreeRTOS + wolfIP + wolfSSL HTTPS Example
This PR adds a new full-stack example demonstrating embedded HTTPS server functionality using:
Features
Testing
Link to Devin run
https://app.devin.ai/sessions/9009e1c8e0304b43a2e0c5effeb90b2c
Requested by
[email protected]