File tree Expand file tree Collapse file tree
fullstack/freertos-wolfip-wolfssl-https Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Script to setup FreeRTOS environment for wolfSSL examples
4+ set -e
5+
6+ FREERTOS_REPO=" https://github.com/FreeRTOS/FreeRTOS.git"
7+ FREERTOS_KERNEL_REPO=" https://github.com/FreeRTOS/FreeRTOS-Kernel.git"
8+ FREERTOS_POSIX_REPO=" https://github.com/FreeRTOS/FreeRTOS-Plus-POSIX.git"
9+
10+ echo " Setting up FreeRTOS simulation environment..."
11+
12+ # Create directories if they don't exist
13+ mkdir -p freertos
14+ cd freertos
15+
16+ # Clone FreeRTOS repositories if they don't exist
17+ if [ ! -d " FreeRTOS" ]; then
18+ git clone $FREERTOS_REPO
19+ fi
20+
21+ if [ ! -d " FreeRTOS-Kernel" ]; then
22+ git clone $FREERTOS_KERNEL_REPO
23+ fi
24+
25+ if [ ! -d " FreeRTOS-Plus-POSIX" ]; then
26+ git clone $FREERTOS_POSIX_REPO
27+ fi
28+
29+ echo " FreeRTOS repositories cloned successfully"
30+
31+ # Create basic directory structure for our project
32+ mkdir -p ../src
33+ mkdir -p ../include
34+ mkdir -p ../build
35+
36+ echo " Directory structure created"
37+ echo " Setup complete!"
You can’t perform that action at this time.
0 commit comments