Simple device which answers with the message which has been received.
The software is configured to run on the development board ESP32-S3-DevKitC-1 v1.1.
Documentation may be generated with Doxygen. Simply call in the root directory of this repository:
doxygen
The HTML documentation will be written to doc/html/index.xhtml
.
This project uses PlatformIO as build system and package manager.
PlatformIO may be used via a GUI (PlatformIO IDE) or command line interface (PlatformIO Core). The project configuration (platformio.ini
) is part of this repository.
In order to use the software (some call it "firmware"), the following steps are required:
- Build (the default configuration of) the project.
For example via:
platformio run
- Connect the device with the host system (where you build the software).
- Upload the built binary to the device.
For example via:
platformio run --target upload
Please refer to the PIO documentation for detailed instructions.
The Visual Studio Code extension Wokwi Simulator may be used to simulate the software on the device.
The project configuration for the simulator is provided as wokwi.toml
.
Note, that you must build the software (using the default build configuration) before it can be simulated.
Please refer to the documentation of the simulator for instructions on how to simulate the device.
- Build and upload the software.
- Physically connect the UART port of the development board to the personal computer (does not apply to the simulation). Installing drivers may be necessary.
- Open a serial terminal using the following settings:
- Baud rate:
9600
- Data bits:
8
- Stop bits:
1
- Parity: none
- Baud rate:
- Type and send a line.
- The device will answer
Echo: '<your message>'