RadioLibSmol/examples/NonArduino/ESP-IDF
Jan Gromeš 9e7c0129e6
[HAL] HALs in src (#1281)
* [HAL] Move HALs to src

* [CI] Temporarily drop unofficial STM32 (package down)

* [LR11x0] Fix ambiguous call

* [CI] Return Maple mini back to build matrix
2024-10-20 19:14:33 +02:00
..
main [HAL] HALs in src (#1281) 2024-10-20 19:14:33 +02:00
.gitignore Updae ESP-IFD example (#748) 2023-06-04 13:25:08 +02:00
CMakeLists.txt Added ESP-IDF example (#748) 2023-05-21 18:24:18 +02:00
README.md Added readme to ESP-IDF example 2024-08-17 21:19:14 +02:00
sdkconfig Added ESP-IDF example (#748) 2023-05-21 18:24:18 +02:00

RadioLib ESP-IDF example

This example shows how to use RadioLib as ESP-IDF component, without the Arduino framework. To run in ESP-IDF (or on any other platform), RadioLib includes an internal hardware abstraction layer (HAL). This software layer takes care of basic interaction with the hardware, such as performing SPI transaction or GPIO operations. To run on your chosen ESP microcontroller, you will likely have to customize the example HAL for your specific ESP type.

Structure of the example

  • main/CMakeLists.txt - IDF component CMake file
  • main/EspHal.h - RadioLib HAL example implementation
  • main/idf_component.yml - declaration of the RadioLib dependency for this example
  • main/main.cpp - the example source code