Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: ADC example code for T4.x using DMA not working.

  1. #1
    Senior Member
    Join Date
    Dec 2015
    Location
    LA
    Posts
    223

    ADC example code for T4.x using DMA not working.

    With example programs: adc_dma, idc_timer_dma, adctimer_dma_oneshot and maybe others
    Same as posted here:

    https://forum.pjrc.com/threads/64432...l=1#post259233

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

    The master on GitHub appears to be ok so maybe just not the latest in Teensduino?
    Is this where I should report this or in the 1.54 announce thread?


    MacOS Catalina with Arduino 1.8.15 Teensyduino 1.54
    Last edited by bicycleguy; 07-15-2021 at 11:47 PM. Reason: added example names

  2. #2
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    9,567
    Quote Originally Posted by bicycleguy View Post
    With example programs: adc_dma, idc_timer_dma, adctimer_dma_oneshot and maybe others
    Same as posted here:

    https://forum.pjrc.com/threads/64432...l=1#post259233

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

    The master on GitHub appears to be ok so maybe just not the latest in Teensduino?
    Is this where I should report this or in the 1.54 announce thread?


    MacOS Catalina with Arduino 1.8.15 Teensyduino 1.54
    Yes - it looks like ADC library was not updated in the new release. Obviously too late for now, but we should make sure to update for the next release

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •