Initial project setup: ESP-IDF + C++ + FreeRTOS + WiFi + web server

This commit is contained in:
2026-04-01 20:34:59 -05:00
commit 4651d4c88a
24 changed files with 1032 additions and 0 deletions

30
setup_esp_env.sh Normal file
View File

@@ -0,0 +1,30 @@
#!/bin/zsh
# ESP-IDF Environment Setup Script for zonebridge project
# Source this script from your terminal: . ./setup_esp_env.sh
export IDF_PATH="/Users/brent/esp/v5.5.1/esp-idf"
export IDF_TOOLS_PATH="/Users/brent/.espressif"
export IDF_TARGET="esp32s3"
echo "Setting up ESP-IDF environment..."
echo "IDF_PATH: $IDF_PATH"
echo "IDF_TOOLS_PATH: $IDF_TOOLS_PATH"
echo "IDF_TARGET: $IDF_TARGET"
# Source the ESP-IDF export script
if [ -f "$IDF_PATH/export.sh" ]; then
. "$IDF_PATH/export.sh"
echo "✓ ESP-IDF environment initialized successfully"
else
echo "✗ Error: ESP-IDF export script not found at $IDF_PATH/export.sh"
return 1
fi
# Verify the setup
if command -v idf.py &> /dev/null; then
echo "✓ idf.py is available"
echo ""
echo "Ready to build! Try: idf.py build"
else
echo "⚠ Warning: idf.py not found in PATH"
fi