Closed TarekkMA closed 4 years ago
The library relies on the Arduino HAL on the ESP platform. So if you want to use it totally without anything Arduino, you'd either have to add support for your current SPI library or you would have to rewrite the Arduino SPI HAL to the extent it's used here.
Okay I will try to add Arduino as a component to my project and see if I can get it to work
@Avamander the esp arduino seems to be only working on older version of the ESP-IDF. So I guess I will have to support the esp SPI library.
Can you point me on how I can do that? Should I implement the functions in the https://github.com/nRF24/RF24/blob/master/utility/Template/spi.h to work properly on the ESP-IDF only? or should I do something else?
Something like that, yes. You can also check out the utility/ATXMegaD3
folder, it's built a bit more "ground-up".
Thank you
I have an ESP32 that I will be running with the ESP-IDF with no Arduino, so how can I use this library with the build system of espressif build system?