This report was generated on Wednesday, 23-Feb-22 22:48:15 CET using arduino-testlib.
Version: 1.3.0
More details
Board | Claims compatibility | Inclusion | ADC_Sampler_example |
---|---|---|---|
arduino:avr:uno
1.8.4 |
No | FAIL | FAIL |
arduino:mbed_nano:nanorp2040connect
2.7.2 |
No | FAIL | FAIL |
arduino:megaavr:nona4809
1.8.7 |
No | FAIL | FAIL |
arduino:samd:mkrwifi1010
1.8.12 |
No | FAIL | FAIL |
esp32:esp32:d1_mini32
1.0.6 |
No | FAIL | FAIL |
Result: FAIL
This library has no main header file so an empty one was created.
WARNING: library ADC_SAmpler claims to run on sam architecture(s) and may be incompatible with your current board which runs on avr architecture(s). In file included from /tmp/arduino-testlib1052097737/test/test.ino:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.h:9:5: error: #error "This libraries is for arduino DUE only !!!" #error "This libraries is for arduino DUE only !!!" ^~~~~
Result: FAIL
WARNING: library ADC_SAmpler claims to run on sam architecture(s) and may be incompatible with your current board which runs on avr architecture(s). In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:1:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.h:9:5: error: #error "This libraries is for arduino DUE only !!!" #error "This libraries is for arduino DUE only !!!" ^~~~~
Result: FAIL
WARNING: library ADC_SAmpler claims to run on sam architecture(s) and may be incompatible with your current board which runs on mbed_nano architecture(s). /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:5:9: error: 'ADC_Sampler_class' has not been declared uint8_t ADC_Sampler_class::numChannels = 0; ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:8:21: error: 'ADC_Sampler_class' has not been declared volatile AdcBuffer *ADC_Sampler_class::bufferArray = new AdcBuffer(ADC_sequencer_size); ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:8:68: error: 'ADC_sequencer_size' was not declared in this scope volatile AdcBuffer *ADC_Sampler_class::bufferArray = new AdcBuffer(ADC_sequencer_size); ^~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:10:6: error: 'ADC_Sampler_class' has not been declared void ADC_Sampler_class::TIAO_setup(uint32_t counter) { ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp: In function 'void TIAO_setup(uint32_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:11:25: error: 'TC_INTERFACE_ID' was not declared in this scope pmc_enable_periph_clk (TC_INTERFACE_ID + 0*3+0) ; // clock the TC0 channel 0 ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:11:2: error: 'pmc_enable_periph_clk' was not declared in this scope pmc_enable_periph_clk (TC_INTERFACE_ID + 0*3+0) ; // clock the TC0 channel 0 ^~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:13:2: error: 'TcChannel' was not declared in this scope TcChannel * t = &(TC0->TC_CHANNEL)[0] ; // pointer to TC0 registers for its channel 0 ^~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:13:2: note: suggested alternative: 'numChannels' TcChannel * t = &(TC0->TC_CHANNEL)[0] ; // pointer to TC0 registers for its channel 0 ^~~~~~~~~ numChannels /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:13:14: error: 't' was not declared in this scope TcChannel * t = &(TC0->TC_CHANNEL)[0] ; // pointer to TC0 registers for its channel 0 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:13:14: note: suggested alternative: 'tm' TcChannel * t = &(TC0->TC_CHANNEL)[0] ; // pointer to TC0 registers for its channel 0 ^ tm /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:13:20: error: 'TC0' was not declared in this scope TcChannel * t = &(TC0->TC_CHANNEL)[0] ; // pointer to TC0 registers for its channel 0 ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:14:14: error: 'TC_CCR_CLKDIS' was not declared in this scope t->TC_CCR = TC_CCR_CLKDIS ; // disable internal clocking while setup regs ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:15:14: error: 'MAX_FIELD' was not declared in this scope t->TC_IDR = MAX_FIELD ; // disable interrupts ^~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:17:14: error: 'TC_CMR_TCCLKS_TIMER_CLOCK1' was not declared in this scope t->TC_CMR = TC_CMR_TCCLKS_TIMER_CLOCK1 | // use TCLK1 (prescale by 2, = 42MHz) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:18:11: error: 'TC_CMR_WAVE' was not declared in this scope TC_CMR_WAVE | // waveform mode ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:19:11: error: 'TC_CMR_WAVSEL_UP_RC' was not declared in this scope TC_CMR_WAVSEL_UP_RC | // count-up PWM using RC as threshold ^~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:20:11: error: 'TC_CMR_EEVT_XC0' was not declared in this scope TC_CMR_EEVT_XC0 | // Set external events from XC0 (this setup TIOB as output) ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:21:11: error: 'TC_CMR_ACPA_CLEAR' was not declared in this scope TC_CMR_ACPA_CLEAR | TC_CMR_ACPC_CLEAR | ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:21:31: error: 'TC_CMR_ACPC_CLEAR' was not declared in this scope TC_CMR_ACPA_CLEAR | TC_CMR_ACPC_CLEAR | ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:22:11: error: 'TC_CMR_BCPB_CLEAR' was not declared in this scope TC_CMR_BCPB_CLEAR | TC_CMR_BCPC_CLEAR ; ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:22:31: error: 'TC_CMR_BCPC_CLEAR' was not declared in this scope TC_CMR_BCPB_CLEAR | TC_CMR_BCPC_CLEAR ; ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:26:31: error: 'TC_CMR_LDRA' was not declared in this scope t->TC_CMR = ( (t->TC_CMR & ~(TC_CMR_LDRA(MAX_FIELD)) ) & (t->TC_CMR & ~(TC_CMR_LDRB(MAX_FIELD)) ) ) | TC_CMR_ACPA_CLEAR | TC_CMR_ACPC_SET ; // set clear and set from RA and RC compares ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:26:74: error: 'TC_CMR_LDRB' was not declared in this scope t->TC_CMR = ( (t->TC_CMR & ~(TC_CMR_LDRA(MAX_FIELD)) ) & (t->TC_CMR & ~(TC_CMR_LDRB(MAX_FIELD)) ) ) | TC_CMR_ACPA_CLEAR | TC_CMR_ACPC_SET ; // set clear and set from RA and RC compares ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:26:124: error: 'TC_CMR_ACPC_SET' was not declared in this scope t->TC_CMR = ( (t->TC_CMR & ~(TC_CMR_LDRA(MAX_FIELD)) ) & (t->TC_CMR & ~(TC_CMR_LDRB(MAX_FIELD)) ) ) | TC_CMR_ACPA_CLEAR | TC_CMR_ACPC_SET ; // set clear and set from RA and RC compares ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:28:14: error: 'TC_CCR_CLKEN' was not declared in this scope t->TC_CCR = TC_CCR_CLKEN | TC_CCR_SWTRG ; // re-enable local clocking and switch to hardware trigger source. ^~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:28:29: error: 'TC_CCR_SWTRG' was not declared in this scope t->TC_CCR = TC_CCR_CLKEN | TC_CCR_SWTRG ; // re-enable local clocking and switch to hardware trigger source. ^~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:30:2: error: 'PIOB' was not declared in this scope PIOB->PIO_PDR = PIO_PB25B_TIOA0 ; // disable PIO control ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:30:2: note: suggested alternative: 'EIO' PIOB->PIO_PDR = PIO_PB25B_TIOA0 ; // disable PIO control ^~~~ EIO /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:30:18: error: 'PIO_PB25B_TIOA0' was not declared in this scope PIOB->PIO_PDR = PIO_PB25B_TIOA0 ; // disable PIO control ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:36:10: error: 'ADC_Sampler_class' has not been declared uint32_t ADC_Sampler_class::getClkFrequency(double f) { ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp: In function 'uint32_t getClkFrequency(double)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:37:9: error: 'VARIANT_MCK' was not declared in this scope return VARIANT_MCK/2 /f; ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:40:6: error: 'ADC_Sampler_class' has not been declared void ADC_Sampler_class::ADC_init(uint8_t trigSel) { ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp: In function 'void ADC_init(uint8_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:41:24: error: 'ID_ADC' was not declared in this scope pmc_enable_periph_clk(ID_ADC); ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:41:2: error: 'pmc_enable_periph_clk' was not declared in this scope pmc_enable_periph_clk(ID_ADC); ^~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:42:2: error: 'ADC' was not declared in this scope ADC->ADC_CR = ADC_CR_SWRST; //reset the adc ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmp
Result: FAIL
WARNING: library ADC_SAmpler claims to run on sam architecture(s) and may be incompatible with your current board which runs on mbed_nano architecture(s). /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino: In function 'void setup()': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:3: error: 'ADC_Sampler' was not declared in this scope ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:3: note: suggested alternative: 'ADC_Sampler_h' ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~~~~~~~~~~ ADC_Sampler_h /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:50: error: 'A9' was not declared in this scope ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:50: note: suggested alternative: 'A7' ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~ A7 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:53: error: 'A10' was not declared in this scope ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:53: note: suggested alternative: 'A1' ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~~ A1 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:57: error: 'A11' was not declared in this scope ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:57: note: suggested alternative: 'A1' ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~~ A1 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino: In function 'void loop()': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:19:6: error: 'ADC_Sampler' was not declared in this scope if(ADC_Sampler.available()) Serial.println("A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11"); ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:19:6: note: suggested alternative: 'ADC_Sampler_h' if(ADC_Sampler.available()) Serial.println("A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11"); ^~~~~~~~~~~ ADC_Sampler_h /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:20:11: error: 'ADC_Sampler' was not declared in this scope while ( ADC_Sampler.available() ) { ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:20:11: note: suggested alternative: 'ADC_Sampler_h' while ( ADC_Sampler.available() ) { ^~~~~~~~~~~ ADC_Sampler_h /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:37:18: error: 'ADC_Sampler' was not declared in this scope Serial.println(ADC_Sampler.arrearSize()); // return the number of sample not treated yet to see if you can handle the sample rate ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:37:18: note: suggested alternative: 'ADC_Sampler_h' Serial.println(ADC_Sampler.arrearSize()); // return the number of sample not treated yet to see if you can handle the sample rate ^~~~~~~~~~~ ADC_Sampler_h
Result: FAIL
WARNING: library ADC_SAmpler claims to run on sam architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s). /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:5:9: error: 'ADC_Sampler_class' has not been declared uint8_t ADC_Sampler_class::numChannels = 0; ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:8:21: error: 'ADC_Sampler_class' has not been declared volatile AdcBuffer *ADC_Sampler_class::bufferArray = new AdcBuffer(ADC_sequencer_size); ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:8:68: error: 'ADC_sequencer_size' was not declared in this scope volatile AdcBuffer *ADC_Sampler_class::bufferArray = new AdcBuffer(ADC_sequencer_size); ^~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:10:6: error: 'ADC_Sampler_class' has not been declared void ADC_Sampler_class::TIAO_setup(uint32_t counter) { ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp: In function 'void TIAO_setup(uint32_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:11:25: error: 'TC_INTERFACE_ID' was not declared in this scope pmc_enable_periph_clk (TC_INTERFACE_ID + 0*3+0) ; // clock the TC0 channel 0 ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:11:25: note: suggested alternative: 'D_INTERFACE' pmc_enable_periph_clk (TC_INTERFACE_ID + 0*3+0) ; // clock the TC0 channel 0 ^~~~~~~~~~~~~~~ D_INTERFACE /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:11:2: error: 'pmc_enable_periph_clk' was not declared in this scope pmc_enable_periph_clk (TC_INTERFACE_ID + 0*3+0) ; // clock the TC0 channel 0 ^~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:13:2: error: 'TcChannel' was not declared in this scope TcChannel * t = &(TC0->TC_CHANNEL)[0] ; // pointer to TC0 registers for its channel 0 ^~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:13:2: note: suggested alternative: 'numChannels' TcChannel * t = &(TC0->TC_CHANNEL)[0] ; // pointer to TC0 registers for its channel 0 ^~~~~~~~~ numChannels /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:13:14: error: 't' was not declared in this scope TcChannel * t = &(TC0->TC_CHANNEL)[0] ; // pointer to TC0 registers for its channel 0 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:13:20: error: 'TC0' was not declared in this scope TcChannel * t = &(TC0->TC_CHANNEL)[0] ; // pointer to TC0 registers for its channel 0 ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:13:20: note: suggested alternative: 'AC0' TcChannel * t = &(TC0->TC_CHANNEL)[0] ; // pointer to TC0 registers for its channel 0 ^~~ AC0 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:14:14: error: 'TC_CCR_CLKDIS' was not declared in this scope t->TC_CCR = TC_CCR_CLKDIS ; // disable internal clocking while setup regs ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:15:14: error: 'MAX_FIELD' was not declared in this scope t->TC_IDR = MAX_FIELD ; // disable interrupts ^~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:17:14: error: 'TC_CMR_TCCLKS_TIMER_CLOCK1' was not declared in this scope t->TC_CMR = TC_CMR_TCCLKS_TIMER_CLOCK1 | // use TCLK1 (prescale by 2, = 42MHz) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:18:11: error: 'TC_CMR_WAVE' was not declared in this scope TC_CMR_WAVE | // waveform mode ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:19:11: error: 'TC_CMR_WAVSEL_UP_RC' was not declared in this scope TC_CMR_WAVSEL_UP_RC | // count-up PWM using RC as threshold ^~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:20:11: error: 'TC_CMR_EEVT_XC0' was not declared in this scope TC_CMR_EEVT_XC0 | // Set external events from XC0 (this setup TIOB as output) ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:21:11: error: 'TC_CMR_ACPA_CLEAR' was not declared in this scope TC_CMR_ACPA_CLEAR | TC_CMR_ACPC_CLEAR | ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:21:31: error: 'TC_CMR_ACPC_CLEAR' was not declared in this scope TC_CMR_ACPA_CLEAR | TC_CMR_ACPC_CLEAR | ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:22:11: error: 'TC_CMR_BCPB_CLEAR' was not declared in this scope TC_CMR_BCPB_CLEAR | TC_CMR_BCPC_CLEAR ; ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:22:31: error: 'TC_CMR_BCPC_CLEAR' was not declared in this scope TC_CMR_BCPB_CLEAR | TC_CMR_BCPC_CLEAR ; ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:26:31: error: 'TC_CMR_LDRA' was not declared in this scope t->TC_CMR = ( (t->TC_CMR & ~(TC_CMR_LDRA(MAX_FIELD)) ) & (t->TC_CMR & ~(TC_CMR_LDRB(MAX_FIELD)) ) ) | TC_CMR_ACPA_CLEAR | TC_CMR_ACPC_SET ; // set clear and set from RA and RC compares ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:26:31: note: suggested alternative: 'RTC_CTRLA' t->TC_CMR = ( (t->TC_CMR & ~(TC_CMR_LDRA(MAX_FIELD)) ) & (t->TC_CMR & ~(TC_CMR_LDRB(MAX_FIELD)) ) ) | TC_CMR_ACPA_CLEAR | TC_CMR_ACPC_SET ; // set clear and set from RA and RC compares ^~~~~~~~~~~ RTC_CTRLA /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:26:74: error: 'TC_CMR_LDRB' was not declared in this scope t->TC_CMR = ( (t->TC_CMR & ~(TC_CMR_LDRA(MAX_FIELD)) ) & (t->TC_CMR & ~(TC_CMR_LDRB(MAX_FIELD)) ) ) | TC_CMR_ACPA_CLEAR | TC_CMR_ACPC_SET ; // set clear and set from RA and RC compares ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:26:124: error: 'TC_CMR_ACPC_SET' was not declared in this scope t->TC_CMR = ( (t->TC_CMR & ~(TC_CMR_LDRA(MAX_FIELD)) ) & (t->TC_CMR & ~(TC_CMR_LDRB(MAX_FIELD)) ) ) | TC_CMR_ACPA_CLEAR | TC_CMR_ACPC_SET ; // set clear and set from RA and RC compares ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:28:14: error: 'TC_CCR_CLKEN' was not declared in this scope t->TC_CCR = TC_CCR_CLKEN | TC_CCR_SWTRG ; // re-enable local clocking and switch to hardware trigger source. ^~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:28:29: error: 'TC_CCR_SWTRG' was not declared in this scope t->TC_CCR = TC_CCR_CLKEN | TC_CCR_SWTRG ; // re-enable local clocking and switch to hardware trigger source. ^~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:30:2: error: 'PIOB' was not declared in this scope PIOB->PIO_PDR = PIO_PB25B_TIOA0 ; // disable PIO control ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:30:2: note: suggested alternative: 'PIN0' PIOB->PIO_PDR = PIO_PB25B_TIOA0 ; // disable PIO control ^~~~ PIN0 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:30:18: error: 'PIO_PB25B_TIOA0' was not declared in this scope PIOB->PIO_PDR = PIO_PB25B_TIOA0 ; // disable PIO control ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:36:10: error: 'ADC_Sampler_class' has not been declared uint32_t ADC_Sampler_class::getClkFrequency(double f) { ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp: In function 'uint32_t getClkFrequency(double)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:37:9: error: 'VARIANT_MCK' was not declared in this scope return VARIANT_MCK/2 /f; ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:40:6: error: 'ADC_Sampler_class' has not been declared void ADC_Sampler_class::ADC_init(uint8_t trigSel) { ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.
Result: FAIL
WARNING: library ADC_SAmpler claims to run on sam architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s). /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino: In function 'void setup()': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:3: error: 'ADC_Sampler' was not declared in this scope ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:3: note: suggested alternative: 'ADC_Sampler_h' ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~~~~~~~~~~ ADC_Sampler_h /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:50: error: 'A9' was not declared in this scope ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:50: note: suggested alternative: 'A7' ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~ A7 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:53: error: 'A10' was not declared in this scope ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:53: note: suggested alternative: 'A1' ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~~ A1 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:57: error: 'A11' was not declared in this scope ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:57: note: suggested alternative: 'A1' ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~~ A1 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino: In function 'void loop()': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:19:6: error: 'ADC_Sampler' was not declared in this scope if(ADC_Sampler.available()) Serial.println("A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11"); ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:19:6: note: suggested alternative: 'ADC_Sampler_h' if(ADC_Sampler.available()) Serial.println("A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11"); ^~~~~~~~~~~ ADC_Sampler_h /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:20:11: error: 'ADC_Sampler' was not declared in this scope while ( ADC_Sampler.available() ) { ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:20:11: note: suggested alternative: 'ADC_Sampler_h' while ( ADC_Sampler.available() ) { ^~~~~~~~~~~ ADC_Sampler_h /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:37:18: error: 'ADC_Sampler' was not declared in this scope Serial.println(ADC_Sampler.arrearSize()); // return the number of sample not treated yet to see if you can handle the sample rate ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:37:18: note: suggested alternative: 'ADC_Sampler_h' Serial.println(ADC_Sampler.arrearSize()); // return the number of sample not treated yet to see if you can handle the sample rate ^~~~~~~~~~~ ADC_Sampler_h
Result: FAIL
This library has no main header file so an empty one was created.
WARNING: library ADC_SAmpler claims to run on sam architecture(s) and may be incompatible with your current board which runs on samd architecture(s). /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:5:9: error: 'ADC_Sampler_class' has not been declared uint8_t ADC_Sampler_class::numChannels = 0; ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:8:21: error: 'ADC_Sampler_class' has not been declared volatile AdcBuffer *ADC_Sampler_class::bufferArray = new AdcBuffer(ADC_sequencer_size); ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:8:68: error: 'ADC_sequencer_size' was not declared in this scope volatile AdcBuffer *ADC_Sampler_class::bufferArray = new AdcBuffer(ADC_sequencer_size); ^~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:10:6: error: 'ADC_Sampler_class' has not been declared void ADC_Sampler_class::TIAO_setup(uint32_t counter) { ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp: In function 'void TIAO_setup(uint32_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:11:25: error: 'TC_INTERFACE_ID' was not declared in this scope pmc_enable_periph_clk (TC_INTERFACE_ID + 0*3+0) ; // clock the TC0 channel 0 ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:11:25: note: suggested alternative: 'D_INTERFACE' pmc_enable_periph_clk (TC_INTERFACE_ID + 0*3+0) ; // clock the TC0 channel 0 ^~~~~~~~~~~~~~~ D_INTERFACE /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:11:2: error: 'pmc_enable_periph_clk' was not declared in this scope pmc_enable_periph_clk (TC_INTERFACE_ID + 0*3+0) ; // clock the TC0 channel 0 ^~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:13:2: error: 'TcChannel' was not declared in this scope TcChannel * t = &(TC0->TC_CHANNEL)[0] ; // pointer to TC0 registers for its channel 0 ^~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:13:2: note: suggested alternative: 'ETCChannel' TcChannel * t = &(TC0->TC_CHANNEL)[0] ; // pointer to TC0 registers for its channel 0 ^~~~~~~~~ ETCChannel /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:13:14: error: 't' was not declared in this scope TcChannel * t = &(TC0->TC_CHANNEL)[0] ; // pointer to TC0 registers for its channel 0 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:13:20: error: 'TC0' was not declared in this scope TcChannel * t = &(TC0->TC_CHANNEL)[0] ; // pointer to TC0 registers for its channel 0 ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:13:20: note: suggested alternative: 'TC5' TcChannel * t = &(TC0->TC_CHANNEL)[0] ; // pointer to TC0 registers for its channel 0 ^~~ TC5 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:14:14: error: 'TC_CCR_CLKDIS' was not declared in this scope t->TC_CCR = TC_CCR_CLKDIS ; // disable internal clocking while setup regs ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:14:14: note: suggested alternative: 'TCC1_GCLK_ID' t->TC_CCR = TC_CCR_CLKDIS ; // disable internal clocking while setup regs ^~~~~~~~~~~~~ TCC1_GCLK_ID /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:15:14: error: 'MAX_FIELD' was not declared in this scope t->TC_IDR = MAX_FIELD ; // disable interrupts ^~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:17:14: error: 'TC_CMR_TCCLKS_TIMER_CLOCK1' was not declared in this scope t->TC_CMR = TC_CMR_TCCLKS_TIMER_CLOCK1 | // use TCLK1 (prescale by 2, = 42MHz) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:18:11: error: 'TC_CMR_WAVE' was not declared in this scope TC_CMR_WAVE | // waveform mode ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:19:11: error: 'TC_CMR_WAVSEL_UP_RC' was not declared in this scope TC_CMR_WAVSEL_UP_RC | // count-up PWM using RC as threshold ^~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:19:11: note: suggested alternative: 'TCC_WAVE_POL' TC_CMR_WAVSEL_UP_RC | // count-up PWM using RC as threshold ^~~~~~~~~~~~~~~~~~~ TCC_WAVE_POL /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:20:11: error: 'TC_CMR_EEVT_XC0' was not declared in this scope TC_CMR_EEVT_XC0 | // Set external events from XC0 (this setup TIOB as output) ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:21:11: error: 'TC_CMR_ACPA_CLEAR' was not declared in this scope TC_CMR_ACPA_CLEAR | TC_CMR_ACPC_CLEAR | ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:21:11: note: suggested alternative: 'TC_CTRLA_PRESCALER' TC_CMR_ACPA_CLEAR | TC_CMR_ACPC_CLEAR | ^~~~~~~~~~~~~~~~~ TC_CTRLA_PRESCALER /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:21:31: error: 'TC_CMR_ACPC_CLEAR' was not declared in this scope TC_CMR_ACPA_CLEAR | TC_CMR_ACPC_CLEAR | ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:21:31: note: suggested alternative: 'TC_CTRLA_PRESCALER' TC_CMR_ACPA_CLEAR | TC_CMR_ACPC_CLEAR | ^~~~~~~~~~~~~~~~~ TC_CTRLA_PRESCALER /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:22:11: error: 'TC_CMR_BCPB_CLEAR' was not declared in this scope TC_CMR_BCPB_CLEAR | TC_CMR_BCPC_CLEAR ; ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:22:11: note: suggested alternative: 'TC_CTRLBCLR_CMD' TC_CMR_BCPB_CLEAR | TC_CMR_BCPC_CLEAR ; ^~~~~~~~~~~~~~~~~ TC_CTRLBCLR_CMD /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:22:31: error: 'TC_CMR_BCPC_CLEAR' was not declared in this scope TC_CMR_BCPB_CLEAR | TC_CMR_BCPC_CLEAR ; ^~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:22:31: note: suggested alternative: 'TC_CTRLBCLR_CMD' TC_CMR_BCPB_CLEAR | TC_CMR_BCPC_CLEAR ; ^~~~~~~~~~~~~~~~~ TC_CTRLBCLR_CMD /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:26:31: error: 'TC_CMR_LDRA' was not declared in this scope t->TC_CMR = ( (t->TC_CMR & ~(TC_CMR_LDRA(MAX_FIELD)) ) & (t->TC_CMR & ~(TC_CMR_LDRB(MAX_FIELD)) ) ) | TC_CMR_ACPA_CLEAR | TC_CMR_ACPC_SET ; // set clear and set from RA and RC compares ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:26:74: error: 'TC_CMR_LDRB' was not declared in this scope t->TC_CMR = ( (t->TC_CMR & ~(TC_CMR_LDRA(MAX_FIELD)) ) & (t->TC_CMR & ~(TC_CMR_LDRB(MAX_FIELD)) ) ) | TC_CMR_ACPA_CLEAR | TC_CMR_ACPC_SET ; // set clear and set from RA and RC compares ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:26:124: error: 'TC_CMR_ACPC_SET' was not declared in this scope t->TC_CMR = ( (t->TC_CMR & ~(TC_CMR_LDRA(MAX_FIELD)) ) & (t->TC_CMR & ~(TC_CMR_LDRB(MAX_FIELD)) ) ) | TC_CMR_ACPA_CLEAR | TC_CMR_ACPC_SET ; // set clear and set from RA and RC compares ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:26:124: note: suggested alternative: 'TC_CTRLA_OFFSET' t->TC_CMR = ( (t->TC_CMR & ~(TC_CMR_LDRA(MAX_FIELD)) ) & (t->TC_CMR & ~(TC_CMR_LDRB(MAX_FIELD)) ) ) | TC_CMR_ACPA_CLEAR | TC_CMR_ACPC_SET ; // set clear and set from RA and RC compares ^~~~~~~~~~~~~~~ TC_CTRLA_OFFSET /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:28:14: error: 'TC_CCR_CLKEN' was not declared in this scope t->TC_CCR = TC_CCR_CLKEN | TC_CCR_SWTRG ; // re-enable local clocking and switch to hardware trigger source. ^~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/src/ADC_Sampler.cpp:28:14: note: suggested alternative: 'TC_CTRLC_CPTEN' t->TC_CCR = TC_CCR_CLKEN | TC_CCR_SWTRG ; // re-enable local clock
Result: FAIL
WARNING: library ADC_SAmpler claims to run on sam architecture(s) and may be incompatible with your current board which runs on samd architecture(s). /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino: In function 'void setup()': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:3: error: 'ADC_Sampler' was not declared in this scope ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:3: note: suggested alternative: 'ADC_Sampler_h' ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~~~~~~~~~~ ADC_Sampler_h /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:26: error: 'A7' was not declared in this scope ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:26: note: suggested alternative: 'A6' ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~ A6 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:50: error: 'A9' was not declared in this scope ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:50: note: suggested alternative: 'A6' ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~ A6 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:53: error: 'A10' was not declared in this scope ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:53: note: suggested alternative: 'A1' ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~~ A1 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:57: error: 'A11' was not declared in this scope ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:57: note: suggested alternative: 'A1' ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^~~ A1 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino: In function 'void loop()': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:19:6: error: 'ADC_Sampler' was not declared in this scope if(ADC_Sampler.available()) Serial.println("A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11"); ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:19:6: note: suggested alternative: 'ADC_Sampler_h' if(ADC_Sampler.available()) Serial.println("A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11"); ^~~~~~~~~~~ ADC_Sampler_h /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:20:11: error: 'ADC_Sampler' was not declared in this scope while ( ADC_Sampler.available() ) { ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:20:11: note: suggested alternative: 'ADC_Sampler_h' while ( ADC_Sampler.available() ) { ^~~~~~~~~~~ ADC_Sampler_h /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:37:18: error: 'ADC_Sampler' was not declared in this scope Serial.println(ADC_Sampler.arrearSize()); // return the number of sample not treated yet to see if you can handle the sample rate ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:37:18: note: suggested alternative: 'ADC_Sampler_h' Serial.println(ADC_Sampler.arrearSize()); // return the number of sample not treated yet to see if you can handle the sample rate ^~~~~~~~~~~ ADC_Sampler_h
Result: FAIL
WARNING: library ADC_SAmpler claims to run on sam architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).
Result: FAIL
WARNING: library ADC_SAmpler claims to run on sam architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s). /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino: In function 'void setup()': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:3: error: 'ADC_Sampler' was not declared in this scope ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:41: error: 'A2' was not declared in this scope ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:47: error: 'A1' was not declared in this scope ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:10:50: error: 'A9' was not declared in this scope ADC_Sampler.begin(200, A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino: In function 'void loop()': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:19:6: error: 'ADC_Sampler' was not declared in this scope if(ADC_Sampler.available()) Serial.println("A7,A6,A5,A4,A3,A2,A0,A1,A9,A10,A11"); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:20:11: error: 'ADC_Sampler' was not declared in this scope while ( ADC_Sampler.available() ) { ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/ADC_SAmpler/examples/ADC_Sampler_example/ADC_Sampler_example.ino:37:18: error: 'ADC_Sampler' was not declared in this scope Serial.println(ADC_Sampler.arrearSize()); // return the number of sample not treated yet to see if you can handle the sample rate ^