This demo shows how to use Amazon FreeRTOS to connect an ESP32 to Wi-Fi.
-
Change the Wi-Fi SSID and password in src/config/demo_wifi_config.h.
-
Configure the CMake project and build the firmware
./scripts/configure.sh ./scripts/build.sh
-
Flash your device with the firmware
./scripts/flash.sh
This repo uses Git Submodules to bring in dependent components. To clone this repo, you must add the --recurse-submodules
argument.
git clone git@github.com:jonathanfoster/freertos-esp32-wifi-connect-demo.git --recurse-submodules
If you have downloaded the repo without using --recurse-submodules
argument, then you must run:
git submodule update --init --recursive
-
Setup ESP-IDF toolchain
brew install cmake ninja dfu-util ccache
-
Install USB to UART Bridge VCP Drivers
-
Install ESP-IDF
cd freertos/vendors/espressif/esp-idf ./install.sh source ./export.sh
-
Build app
./scripts/build.sh