Giter Club home page Giter Club logo

ble-mesh-tictactoe's Introduction

Breadboard Dotboard

yay -S esp-idf
/opt/esp-idf/install.sh 
git config --global --add safe.directory /opt/esp-idf

. /opt/esp-idf/export.sh
idf.py set-target esp32
idf.py build


Steps to Compile the program

# run the export script
. /opt/esp-idf/export.sh

# Go to one of the server's code
## go to client
cd client-server/client
## go to server
cd client-server/server

# build the code
idf.py build

# flash the board
sudo idf.py flash
  1. Set the ESP32 target (if you haven’t done so already or if you need to specify a particular ESP32 chip variant):

    idf.py set-target esp32
  2. Configure the project (optional, required only if you need to change project configurations or if it's the first build):

    idf.py menuconfig
    • Navigate through the menuconfig if you need to customize your build configurations. Save and exit.
  3. Clean the project (optional, recommended when switching between client and server builds to avoid conflicts):

    idf.py fullclean
  4. Build the project:

    • For the client or server, depending on the environment variable set or the conditional configuration in your CMakeLists.txt, simply run:
      idf.py build
    • This command compiles the project, and if successful, generates the firmware binaries.
  5. Flash the firmware to the ESP32 (ensure your device is connected):

    idf.py -p (PORT) flash

    Replace (PORT) with the COM port your ESP32 is connected to (e.g., COM3 on Windows or /dev/ttyUSB0 on Linux/Mac).

  6. Monitor the output (optional):

    idf.py -p (PORT) monitor

    This command opens the serial output monitor. Use CTRL+] to exit the monitor.

ble-mesh-tictactoe's People

Contributors

bsikar 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.