jonathanfoster / freertos-esp32-wifi-connect-demo

This demo shows how to use [Amazon FreeRTOS](https://github.com/aws/amazon-freertos) to connect an ESP32 to Wi-Fi.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FreeRTOS ESP32 Wi-Fi Connect Demo

This demo shows how to use Amazon FreeRTOS to connect an ESP32 to Wi-Fi.

Prerequisites

Getting Started

  1. Change the Wi-Fi SSID and password in src/config/demo_wifi_config.h.

  2. Configure the CMake project and build the firmware

    ./scripts/configure.sh
    ./scripts/build.sh
  3. Flash your device with the firmware

    ./scripts/flash.sh

Cloning

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

Setting Up Your Development Environment

  1. Setup ESP-IDF toolchain

    brew install cmake ninja dfu-util ccache
  2. Install USB to UART Bridge VCP Drivers

  3. Install ESP-IDF

    cd freertos/vendors/espressif/esp-idf
    ./install.sh
    source ./export.sh
  4. Build app

    ./scripts/build.sh

About

This demo shows how to use [Amazon FreeRTOS](https://github.com/aws/amazon-freertos) to connect an ESP32 to Wi-Fi.


Languages

Language:C 78.2%Language:Shell 14.2%Language:CMake 7.5%