So, it seems that adc hasn't been compiled in a while. adc.c refers to the fields of the ADCDriver struct without the ad_ prefix, but adc.h defines them with ad_. This is my current version of ChibiOS:
URL: https://chibios.svn.sourceforge.net/svn ... able_2.4.x
Revision: 4470
Last Changed Author: gdisirio
Last Changed Rev: 4462
Last Changed Date: 2012-07-11 11:45:00 -0700 (Wed, 11 Jul 2012)
ADC Driver compile errors ChibiOS 2.4.x stable
Moderators: RoccoMarco, lbednarz, tfAteba
Re: ADC Driver compile errors ChibiOS 2.4.x stable
Oh, this is defined in the ATmegaXX4 platform, which I created, but it's very similar to the current AVR platform. Specifically, the ADC stuff is identical.