Skip to content

vChavezB/qpcpp_esp32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QP/C++ ESP32

Arduino library to use QP/C++ with the ESP32 and the Arduino SDK. Based on the port developed for the ESP32.

Requirements

How to test

Open any of the examples and upload to an ESP32.

Important notes

  • 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 before void setup() and void loop(). This means that instead of running QF::run() in a loop, it suffices to execute it once as the last instruction in void setup().

QPSY

QSPY can be activated by defining QS_ONin bsp.cpp of both examples

Example of how to communicate with esp32 target with qspy enabled.

qspy -c YOUR_SERIAL_PORT -b 115200

QView

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.