PR #491: Address review comments

- Remove autogen.sh and configure commands
- Fix path to ../../../../ for cmake
- Remove redundant build dir creation
- Add sudo make install for wolfSSL

Co-Authored-By: daniele@wolfssl.com <daniele@wolfssl.com>
devin/1740502756-add-freertos-fullstack-example
Devin AI 2025-03-03 15:55:15 +00:00
parent ced6ae7b53
commit 468fd86664
2 changed files with 3 additions and 6 deletions

View File

@ -32,7 +32,7 @@ sudo ./setup_network.sh
3. Build the example:
```bash
mkdir -p build && cd build && cmake .. && make
cd build && cmake .. && make
```
4. Run the example (requires root):

View File

@ -17,21 +17,18 @@ if [ ! -d "FreeRTOS" ]; then
fi
# Clone wolfSSL and wolfIP if they don't exist
cd ../../../
cd ../../../../
if [ ! -d "wolfssl" ]; then
git clone --depth=1 https://github.com/wolfSSL/wolfssl.git
cd wolfssl
./autogen.sh
./configure
make
sudo make install
cd ..
fi
if [ ! -d "wolfip" ]; then
git clone --depth=1 https://github.com/wolfSSL/wolfip.git
cd wolfip
./autogen.sh
./configure
make
cd ..
fi