ESP32 SoC based modular board fitted with a peristaltic pump
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
Project based on the ESP-IDF SKD.
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
- Configure using cmake
mkdir build
cd build
cmake .. -GNinja
- Build the project (can be skipped)
ninja
- Flash the project using
flash
(automatically builds the poroject as well)
ninja flash
- Select target using
set-target
idf.py set-target esp32
- Build the project using
build
(can be skipped)
idf.py build
- 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
- All project management scripts cane be found in the scripts folder
-
Set up an enviroment variable ESP_IDF_PATH with a path to your cloned ESP-IDF repository
-
Initialise project with the
init
script -
(Optional) Build project with the
build
script -
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