The ESP32 Task Monitor is a project that provides a simple way to monitor the tasks running on an ESP32 microcontroller in real-time. The project provides a tool for developing and debugging complex embedded systems.
1. Features
2. ESP32 Task Monitor
3. Basic Usage
4. Getting Started
5. Example
6. Contributing
7. License
- ESP-IDF v5.3-dev-422-ga7fbf452fa 2nd stage bootloader
- Real-time monitoring of running multiple tasks for ESP32 microcontrollers.
- Written in C language.
- MIT License.
NOTE: configUSE_TRACE_FACILITY and configGENERATE_RUN_TIME_STATS must be defined as 1 in FreeRTOSConfig.h for this API function task_monitor() to be available.
// 1. Include header:
#include "task_monitor.h"
void app_main(void)
{
// 2. Start task monitor:
task_monitor();
}
To get started with the ESP32 Task Monitor project, you'll need an ESP32 microcontroller and a host computer running Python. You'll also need to install the ESP-IDF development framework and the required Python packages.
git clone https://github.com/VPavlusha/ESP32_Task_Monitor.git
cd ESP32_Task_Monitor
idf.py build
idf.py -p PORT [-b BAUD] flash
Replace PORT with your ESP32 board’s serial port name.
You can also change the flasher baud rate by replacing BAUD with the baud rate you need. The default baud rate is 460800.
idf.py -p <PORT> monitor
Do not forget to replace PORT with your serial port name.
More information how to build project: ESP-IDF Programming Guide.
This project includes an example that showcases the functionality of the Task Monitor library. This example provides a practical demonstration of how to use the Task Monitor API to monitor tasks in your own applications.
Contributions to the ESP32 Task Monitor project are welcome. If you find a bug or have a feature request, please submit an issue on the project's GitHub page. If you'd like to contribute code, please submit a pull request.
The ESP32 Task Monitor project is licensed under the MIT License. See the MIT license file for more information.