/ESP32HAL

ESP32 HAL: helper C++ classes for some ESP32 info (tasks, heap) and generic peripherals (ADC, GPIO, I2C, SPI, Timers, ...)

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Helper component for ESP32

Build with ESP-IDF v4.1 Build with ESP-IDF v4.2 Build with ESP-IDF latest

Helper object for ESP32 generic peripherals.

This is a work-in-progress and should be tested before use.

Classes

Implemented classes are:

  • CPU information, tasks, heap
  • GPIO simple usage
  • ADC for ADC1, 8 channels, 12 bits, selectable attenuation
  • I2C master and SPI master
  • Timers, for ESP32's hardware timers, with FreeRTOS Task Notifications

See ESP32HAL documentation for more information.

Usage and tests

Development Environment

License

This software and its documentation are released under the GNU GPLv3 License. See the LICENSE-GPLv3.txt file.