Arduino library to use QP/C++ with the ESP32 and the Arduino SDK. Based on the port developed for the ESP32.
- Arduino ESP32 Core >= v2.0.11
Open any of the examples and upload to an ESP32.
- Typically
QF::run()
should be executed as a last instruction before QP takes charge of executing the framework. As such, it should not return and instead give control to the scheduler of the host. However, the ESP32 framework (esp-idf) already runs the scheduler beforevoid setup()
andvoid loop()
. This means that instead of runningQF::run()
in a loop, it suffices to execute it once as the last instruction invoid setup()
.
QSPY can be activated by defining QS_ON
in bsp.cpp
of both examples
Example of how to communicate with esp32 target with qspy enabled.
qspy -c YOUR_SERIAL_PORT -b 115200
DPP example can be tested with QView™ example located in examples/dpp_bsp-esp32/qview
. There are two bat scripts (Windows) which can run the QView scripts.
Note: QSpy must be running before using QView.