rogerclarkmelbourne / WS2812B_STM32_Libmaple

WS2812B (Neopixel) library for Arduino STM32 (Libmaple core)
69 stars 16 forks source link

SPIClass has no member dmaSendAsync #11

Open dhinojosac opened 3 years ago

dhinojosac commented 3 years ago

I'm using nrf52840 with platformio and Arduino framework.

CONFIGURATION: https://docs.platformio.org/page/boards/nordicnrf52/wiscore_rak4631.html
PLATFORM: Nordic nRF52 (7.0.0) > WisCore RAK4631 Board
HARDWARE: NRF52840 64MHz, 243KB RAM, 796KB Flash
DEBUG: Current (jlink) External (jlink, stlink)
PACKAGES:
 - framework-arduinoadafruitnrf52 1.2100.201028 (21.0) 
 - tool-sreccat 1.164.0 (1.64)
 - toolchain-gccarmnoneeabi 1.70201.0 (7.2.1)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 12 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <WS2812B> 1.0.0
|   |-- <SPI> 1.0
Building in release mode
Compiling .pio\build\wiscore_rak4631\lib438\WS2812B\WS2812B.cpp.o
.pio\libdeps\wiscore_rak4631\WS2812B\src\WS2812B.cpp: In member function 'void WS2812B::show()':
.pio\libdeps\wiscore_rak4631\WS2812B\src\WS2812B.cpp:83:7: error: 'class SPIClass' has no member named 'dmaSendAsync'
   SPI.dmaSendAsync(pixels, numBytes); // Start the DMA transfer of the current pixel buffer to the LEDs and return immediately.
jpwolfe9912 commented 1 year ago

error: 'class SPIClass' has no member named 'dmaSendAsync' SPI.dmaSendAsync(pixels, numBytes); // Start the DMA transfer of the current pixel buffer to the LEDs and return immediately.

I got the same error message. You ever figure this out?