Teensy 3.5 ADC_DMA example error

Status
Not open for further replies.

uuryuu

Member
Hello,

I recently bought a teensy 3.5 and tried running one of the ADC examples in arduino("adc_dma") and I get the following error:

undefined reference to `AnalogBufferDMA::init(ADC*, signed char)'

Im currently running arduino 1.8.13

After looking at the analogBufferDMA.h code,everything seems fine...link to ADC which has analogBufferDMA.h:

https://github.com/pedvide/ADC

Any help would be great.
 
Hi,
this error is already fixed in the master branch. If you want to fix it manually then move the #ifdef ADC_USE_DMA below the includes in AnalogBufferDMA.h and in AnalogBufferDMA.cpp.
 
Status
Not open for further replies.
Back
Top