Coder Social home page Coder Social logo

espcube's Introduction

espCube

ESP32 SoC based modular board fitted with a peristaltic pump

Project setup

To be able to build, an authCredentials file must be provided with all the relevant UEFIS credentials for the device ur about to build FW for and flash.

components/newAuth/include insert here

SDK setup

Project based on the ESP-IDF SKD.

Building and flashing

ESP-IDF uses a CMake-based build system. Namely:

  • CMake to configure project and its components
  • A command line build tool (either Ninja build or GNU Make)
  • The espressif comand line tool, esptool.py, for flashing the target

ESP-IDF provides its own comand line tool front-end tool to manage these stages of project development - idf.py

More info: ESP-IDF build system

Building using cmake and ninja

  1. Configure using cmake
mkdir build
cd build
cmake .. -GNinja
  1. Build the project (can be skipped)
ninja
  1. Flash the project using flash (automatically builds the poroject as well)
ninja flash

Building using idf.py

  1. Select target using set-target
idf.py set-target esp32
  1. Build the project using build (can be skipped)
idf.py build
  1. Flash the project using flash (automatically builds the poroject as well)

optionally u can specify the target port using -p

idf.py flash -p /dev/ttyS0

Building using provided batch/bash scripts

  • All project management scripts cane be found in the scripts folder
  1. Set up an enviroment variable ESP_IDF_PATH with a path to your cloned ESP-IDF repository

  2. Initialise project with the init script

  3. (Optional) Build project with the build script

  4. Flash the project using the flash script

  • U can specify the target comport by invoking the script with the given port as an argument
flash.sh /dev/ttyS0

this will flash the project onto the device on the port /dev/ttyS0

espcube's People

Contributors

vtothsvk avatar

Watchers

 avatar

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.