Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPIClass has no member dmaSendAsync #11

Open
dhinojosac opened this issue Jul 21, 2021 · 1 comment
Open

SPIClass has no member dmaSendAsync #11

dhinojosac opened this issue Jul 21, 2021 · 1 comment

Comments

@dhinojosac
Copy link

dhinojosac commented Jul 21, 2021

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
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants