GithubHelp home page GithubHelp logo

jkent / esphttpd-freertos Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chmorgan/esphttpd-freertos

1.0 3.0 1.0 283 KB

freertos example of libesphttpd for esp32 and esp8266

CMake 0.66% Makefile 2.52% HTML 18.87% JavaScript 9.06% Smarty 9.60% CSS 1.16% C 56.39% C++ 1.35% Objective-C 0.39%

esphttpd-freertos's Introduction

This is an example of how to use libesphttpd with the Espressif FreeRTOS SDK ESP-IDF.

Example Features

WiFi GUI

WiFi Provisioning GUI

WiFi GUI

OTA Firmware Update GUI

WiFi GUI

File Upload/Download GUI

WiFi GUI

ESP32 (ESP-IDF)

Set-up your build environment by following the instructions

After cloning this repository, ensure that you have updated submodules appropriately:

git submodule update --init --recursive

CMAKE Build

If you wish to use CMake, you should make sure you have cmake and ninja-build installed. While not necessary, ninja-build speeds up the build process a lot. The build and loading steps are similar:

idf.py build and idf.py flash monitor

Legacy Makefile Build

Windows

  • install node.js, choose to put it in the path
  • edit c:\msys32\msys2_shell.cmd and add:
set MSYS2_PATH_TYPE=inherit
set MSYSTEM=MINGW32
  • Run c:\msys32\msys2_shell.cmd

Run the esp32 makefile (make sure you enable the esphttpd component) and build

make

Load onto your esp32 and monitor

make flash monitor

Tips

Make sure the ESP_IDF environment variable is set.
export IDF_PATH=/home/user/esp-idf (replace the path as appropriate)

To speed-up the build process, include the -j option to build on multiple CPU threads. i.e.
make -j8 flash monitor

To avoid having to run menuconfig to change your serial port, try setting the variable ESPPORT.
You can usually acheive a very fast baud rate to upload to the ESP32. This will set the baud to nearly 1M.
make -j8 flash monitor ESPPORT=COM21 ESPBAUD=921600

ESP8266

๐Ÿ”บ Warning: The build is currently broken for ESP8266. This fork does not currently support ESP8266 since we don't have a maintainer who is using that chip.

esphttpd-freertos's People

Contributors

chmorgan avatar davidantliff avatar jkent avatar m0hai avatar pabbott-lumitec avatar paulfreund avatar phatpaul avatar spritetm avatar tidklaas avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

simap

esphttpd-freertos's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.