This report was generated on Wednesday, 23-Feb-22 22:48:15 CET using arduino-testlib.
Version: 0.7.1
More details
Board | Claims compatibility | Inclusion | audioplayer |
---|---|---|---|
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 |
Yes | PASS | PASS |
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 SAMD21_Audio_Player claims to run on samd architecture(s) and may be incompatible with your current board which runs on avr architecture(s). /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp: In function 'void DACSetup(uint32_t, uint8_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:16:3: error: 'REG_GCLK_GENDIV' was not declared in this scope REG_GCLK_GENDIV = GCLK_GENDIV_DIV(1) | // Divide the 48MHz clock source by 1 for 48MHz ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:16:21: error: 'GCLK_GENDIV_DIV' was not declared in this scope REG_GCLK_GENDIV = GCLK_GENDIV_DIV(1) | // Divide the 48MHz clock source by 1 for 48MHz ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:17:21: error: 'GCLK_GENDIV_ID' was not declared in this scope GCLK_GENDIV_ID(3); // Select GCLK3 ^~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:18:10: error: 'GCLK' was not declared in this scope while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:18:10: note: suggested alternative: 'SCL' while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~~ SCL /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:20:3: error: 'REG_GCLK_GENCTRL' was not declared in this scope REG_GCLK_GENCTRL = GCLK_GENCTRL_IDC | // Set the duty cycle to 50/50 ^~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:20:22: error: 'GCLK_GENCTRL_IDC' was not declared in this scope REG_GCLK_GENCTRL = GCLK_GENCTRL_IDC | // Set the duty cycle to 50/50 ^~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:21:22: error: 'GCLK_GENCTRL_GENEN' was not declared in this scope GCLK_GENCTRL_GENEN | // Enable GCLK3 ^~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:22:22: error: 'GCLK_GENCTRL_SRC_DFLL48M' was not declared in this scope GCLK_GENCTRL_SRC_DFLL48M | // Set the 48MHz clock source ^~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:23:22: error: 'GCLK_GENCTRL_ID' was not declared in this scope GCLK_GENCTRL_ID(3); // Select GCLK3 ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:24:10: error: 'GCLK' was not declared in this scope while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:24:10: note: suggested alternative: 'SCL' while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~~ SCL /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:26:3: error: 'REG_GCLK_CLKCTRL' was not declared in this scope REG_GCLK_CLKCTRL = GCLK_CLKCTRL_CLKEN | // Enable clock ^~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:26:22: error: 'GCLK_CLKCTRL_CLKEN' was not declared in this scope REG_GCLK_CLKCTRL = GCLK_CLKCTRL_CLKEN | // Enable clock ^~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:27:22: error: 'GCLK_CLKCTRL_GEN_GCLK3' was not declared in this scope GCLK_CLKCTRL_GEN_GCLK3 | // Select GCLK3 ^~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:28:22: error: 'GCLK_CLKCTRL_ID_TC4_TC5' was not declared in this scope GCLK_CLKCTRL_ID_TC4_TC5; // Feed the GCLK3 to TC4 and TC5 ^~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:29:10: error: 'GCLK' was not declared in this scope while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:29:10: note: suggested alternative: 'SCL' while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~~ SCL /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:31:3: error: 'REG_TC4_COUNT16_CC0' was not declared in this scope REG_TC4_COUNT16_CC0 = top; // Set the TC4 CC0 register to top ^~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:32:10: error: 'TC4' was not declared in this scope while (TC4->COUNT16.STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:32:10: note: suggested alternative: 'PC4' while (TC4->COUNT16.STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~ PC4 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:34:20: error: 'TC4_IRQn' was not declared in this scope NVIC_SetPriority(TC4_IRQn, 0); // Set the interrupt priority for TC4 to 0 (highest) ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:34:3: error: 'NVIC_SetPriority' was not declared in this scope NVIC_SetPriority(TC4_IRQn, 0); // Set the interrupt priority for TC4 to 0 (highest) ^~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:35:3: error: 'NVIC_EnableIRQ' was not declared in this scope NVIC_EnableIRQ(TC4_IRQn); // Connect TC4 to Nested Vector Interrupt Controller ^~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:37:3: error: 'REG_TC4_INTFLAG' was not declared in this scope REG_TC4_INTFLAG |= TC_INTFLAG_OVF; // Clear the interrupt flags ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:37:22: error: 'TC_INTFLAG_OVF' was not declared in this scope REG_TC4_INTFLAG |= TC_INTFLAG_OVF; // Clear the interrupt flags ^~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:38:3: error: 'REG_TC4_INTENSET' was not declared in this scope REG_TC4_INTENSET = TC_INTENCLR_OVF; // Enable TC4 interrupts ^~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:38:22: error: 'TC_INTENCLR_OVF' was not declared in this scope REG_TC4_INTENSET = TC_INTENCLR_OVF; // Enable TC4 interrupts ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:40:3: error: 'REG_TC4_CTRLA' was not declared in this scope REG_TC4_CTRLA |= TC_CTRLA_PRESCALER_DIV1 | // Set prescaler to 1 for 48MHz ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:40:20: error: 'TC_CTRLA_PRESCALER_DIV1' was not declared in this scope REG_TC4_CTRLA |= TC_CTRLA_PRESCALER_DIV1 | // Set prescaler to 1 for 48MHz ^~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:41:20: error: 'TC_CTRLA_WAVEGEN_MFRQ' was not declared in this scope TC_CTRLA_WAVEGEN_MFRQ; // Put the timer TC4 into Match Frequency Mode ^~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:42:10: error: 'TC4' was not declared in this scope while (TC4->COUNT16.STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:42:10: note: suggested alternative: 'PC4' while (TC4->COUNT16.STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~ PC4 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp: In function 'void playSample(const uint8_t*, uint32_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:48:3: error: 'REG_TC4_CTRLA' was not declared in this scope REG_TC4_CTRLA |= TC_CTRLA_ENABLE; // Enable timer TC4 ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:48:20: error: 'TC_CTRLA_ENABLE' was not declared in this scope REG_TC4_CTRLA |= TC_CTRLA_ENA
Result: FAIL
WARNING: library SAMD21_Audio_Player claims to run on samd architecture(s) and may be incompatible with your current board which runs on avr architecture(s). /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/examples/audioplayer/audioplayer.ino:9:0: error: too many initializers for 'const uint8_t [0] {aka const unsigned char [0]}' const uint8_t Eurythmics[] = {0x80, 0x7F, 0x80, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x80, 0x7F, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x7F, 0x7F, 0x7F,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, 0x7B, 0x7B, 0x7C, 0x7D, 0x7D, 0x7E, 0x7E, 0x7E, 0x7F, 0x7F, 0x81, 0x81, 0x82, 0x82, 0x83, 0x84, 0x84, 0x84, 0x85, 0x85, 0x85, 0x85, 0x84, 0x84, 0x83, 0x83, 0x82, 0x81, 0x80, 0x7F, 0x7F, 0x7E, 0x7D, 0x7C, 0x7B, 0x7B, 0x7A, 0x7A, 0x7A, 0x7A, 0x79, 0x7A, 0x7A, 0x7A, 0x7B, 0x7B, 0x7C, 0x7D, 0x7E, 0x7F, 0x80, 0x81, 0x81, 0x83, 0x83, 0x83, 0x84, 0x84, 0x85, 0x85, 0x85, 0x86, 0x85, 0x86, 0x86, 0x86, 0x85, 0x85, 0x84, 0x84, 0x83, 0x82, 0x82, 0x81, 0x81, 0x81, 0x81, 0x81, 0x80, 0x80, 0x80, 0x7F, 0x7F, 0x7F, 0x7F, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7E, 0x7E, 0x7E, 0x7F, 0x7F, 0x7F, 0x80, 0x7F, 0x7F, 0x80, 0x80, 0x80, 0x80, 0x81, 0x81, 0x81, 0x81, 0x81, 0x82, 0x82, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x80, 0x80, 0x80, 0x80, 0x80, 0x7F, 0x7E, 0x7E, 0x7E, 0x7D, 0x7D, 0x7C, 0x7C, 0x7B, 0x7B, 0x7A, 0x79, 0x79, 0x78, 0x79, 0x79, 0x7A, 0x7A, 0x7A, 0x7C, 0x7B, 0x7C, 0x7D, 0x7D, 0x7F, 0x7F, 0x80, 0x81, 0x82, 0x84, 0x84, 0x85, 0x85, 0x86, 0x86, 0x86, 0x86, 0x85, 0x85, 0x84, 0x83, 0x83, 0x82, 0x81, 0x80, 0x7F, 0x7E, 0x7D, 0x7B, 0x7A, 0x79, 0x78, 0x78, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x78, 0x77, 0x78, 0x78, 0x79, 0x79, 0x7A, 0x7A, 0x7B, 0x7D, 0x7D, 0x7E, 0x7F, 0x7F, 0x7F, 0x80, 0x80, 0x80, 0x80, 0x81, 0x81, 0x81, 0x82, 0x82, 0x81, 0x81, 0x81, 0x81, 0x80, 0x80, 0x80, 0x80, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7E, 0x7E, 0x7E, 0x7E, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7E, 0x7D, 0x7D, 0x7E, 0x7D, 0x7E, 0x7D, 0x7D, 0x7D, 0x7E, 0x7E, 0x7E, 0x80, 0x7F, 0x80, 0x80, 0x80, 0x7F, 0x80, 0x7F, 0x7F, 0x80, 0x80, 0x80, 0x81, 0x81, 0x82, 0x83, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x83, 0x83, 0x84, 0x84, 0x84, 0x84, 0x83, 0x83, 0x82, 0x82, 0x81, 0x80, 0x80, 0x80, 0x7F, 0x7F, 0x7E, 0x7D, 0x7C, 0x7B, 0x7A, 0x79, 0x79, 0x78, 0x78, 0x78, 0x78, 0x79, 0x79, 0x7B, 0x7B, 0x7C, 0x7D, 0x7E, 0x7E, 0x7F, 0x80, 0x81, 0x82, 0x84, 0x84, 0x85, 0x86, 0x87, 0x87, 0x86, 0x87, 0x86, 0x86, 0x85, 0x84, 0x84, 0x83, 0x83, 0x83, 0x81, 0x80, 0x7F, 0x7D, 0x7C, 0x7C, 0x7B, 0x7A, 0x79, 0x79, 0x79, 0x7A, 0x7A, 0x7A, 0x7A, 0x7A, 0x7B, 0x7A, 0x7B, 0x7A, 0x7B, 0x7B, 0x7C, 0x7E, 0x7E, 0x7F, 0x80, 0x80, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x82, 0x83, 0x83, 0x83, 0x83, 0x83, 0x83, 0x83, 0x81, 0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, 0x7A, 0x7B, 0x7A, 0x7A, 0x7A, 0x79, 0x79, 0x79, 0x7B, 0x7A, 0x7B, 0x7C, 0x7D, 0x7E, 0x7F, 0x7F, 0x80, 0x81, 0x82, 0x82, 0x83, 0x84, 0x84, 0x85, 0x85, 0x86, 0x86, 0x86, 0x86, 0x85, 0x85, 0x83, 0x83, 0x81, 0x80, 0x80, 0x7F, 0x7E, 0x7E, 0x7C, 0x7B, 0x7A, 0x79, 0x78, 0x77, 0x77, 0x76, 0x77, 0x77, 0x77, 0x79, 0x79, 0x7B, 0x7C, 0x7C, 0x7D, 0x7F, 0x80, 0x81, 0x82, 0x83, 0x84, 0x86, 0x87, 0x88, 0x89, 0x89, 0x89, 0x8A, 0x89, 0x88, 0x87, 0x86, 0x86, 0x85, 0x84, 0x83, 0x82, 0x81, 0x80, 0x7F, 0x7D, 0x7C, 0x7B, 0x7A, 0x79, 0x79, 0x79, 0x79, 0x79, 0x79, 0x79, 0x79, 0x79, 0x79, 0x79, 0x79, 0x7A, 0x7A, 0x7B, 0x7C, 0x7D, 0x7D, 0x7D, 0x80, 0x7F, 0x81, 0x80, 0x80, 0x80, 0x81, 0x81, 0x81, 0x82, 0x81, 0x81, 0x82, 0x82, 0x80, 0x80, 0x7F, 0x7F, 0x7E, 0x7E, 0x7E, 0x7D, 0x7E, 0x7E, 0x7F, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x7F, 0x80, 0x80, 0x80, 0x80, 0x80, 0x81, 0x80, 0x80, 0x80, 0x7E, 0x7E, 0x7E, 0x7D, 0x7C, 0x7B, 0x7B, 0x7B, 0x7B, 0x7B, 0x7A, 0x7B, 0x7A, 0x7A, 0x7B, 0x7A, 0x7B, 0x7B, 0x7D, 0x7E, 0x7F, 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x84, 0x85, 0x86, 0x87, 0x87, 0x86, 0x87, 0x85, 0x86, 0x85, 0x83, 0x83, 0x81, 0x81, 0x80, 0x7F, 0x7E, 0x7C, 0x7B, 0x7A, 0x78, 0x
Result: FAIL
WARNING: library SAMD21_Audio_Player claims to run on samd 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/SAMD21_Audio_Player/src/AudioPlayer.cpp: In function 'void DACSetup(uint32_t, uint8_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:16:3: error: 'REG_GCLK_GENDIV' was not declared in this scope REG_GCLK_GENDIV = GCLK_GENDIV_DIV(1) | // Divide the 48MHz clock source by 1 for 48MHz ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:16:21: error: 'GCLK_GENDIV_DIV' was not declared in this scope REG_GCLK_GENDIV = GCLK_GENDIV_DIV(1) | // Divide the 48MHz clock source by 1 for 48MHz ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:17:21: error: 'GCLK_GENDIV_ID' was not declared in this scope GCLK_GENDIV_ID(3); // Select GCLK3 ^~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:18:10: error: 'GCLK' was not declared in this scope while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:18:10: note: suggested alternative: 'SCK' while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~~ SCK /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:20:3: error: 'REG_GCLK_GENCTRL' was not declared in this scope REG_GCLK_GENCTRL = GCLK_GENCTRL_IDC | // Set the duty cycle to 50/50 ^~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:20:22: error: 'GCLK_GENCTRL_IDC' was not declared in this scope REG_GCLK_GENCTRL = GCLK_GENCTRL_IDC | // Set the duty cycle to 50/50 ^~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:21:22: error: 'GCLK_GENCTRL_GENEN' was not declared in this scope GCLK_GENCTRL_GENEN | // Enable GCLK3 ^~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:22:22: error: 'GCLK_GENCTRL_SRC_DFLL48M' was not declared in this scope GCLK_GENCTRL_SRC_DFLL48M | // Set the 48MHz clock source ^~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:23:22: error: 'GCLK_GENCTRL_ID' was not declared in this scope GCLK_GENCTRL_ID(3); // Select GCLK3 ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:24:10: error: 'GCLK' was not declared in this scope while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:24:10: note: suggested alternative: 'SCK' while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~~ SCK /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:26:3: error: 'REG_GCLK_CLKCTRL' was not declared in this scope REG_GCLK_CLKCTRL = GCLK_CLKCTRL_CLKEN | // Enable clock ^~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:26:22: error: 'GCLK_CLKCTRL_CLKEN' was not declared in this scope REG_GCLK_CLKCTRL = GCLK_CLKCTRL_CLKEN | // Enable clock ^~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:27:22: error: 'GCLK_CLKCTRL_GEN_GCLK3' was not declared in this scope GCLK_CLKCTRL_GEN_GCLK3 | // Select GCLK3 ^~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:28:22: error: 'GCLK_CLKCTRL_ID_TC4_TC5' was not declared in this scope GCLK_CLKCTRL_ID_TC4_TC5; // Feed the GCLK3 to TC4 and TC5 ^~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:29:10: error: 'GCLK' was not declared in this scope while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:29:10: note: suggested alternative: 'SCK' while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~~ SCK /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:31:3: error: 'REG_TC4_COUNT16_CC0' was not declared in this scope REG_TC4_COUNT16_CC0 = top; // Set the TC4 CC0 register to top ^~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:32:10: error: 'TC4' was not declared in this scope while (TC4->COUNT16.STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:34:20: error: 'TC4_IRQn' was not declared in this scope NVIC_SetPriority(TC4_IRQn, 0); // Set the interrupt priority for TC4 to 0 (highest) ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:34:20: note: suggested alternative: 'RTC_IRQn' NVIC_SetPriority(TC4_IRQn, 0); // Set the interrupt priority for TC4 to 0 (highest) ^~~~~~~~ RTC_IRQn /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:37:3: error: 'REG_TC4_INTFLAG' was not declared in this scope REG_TC4_INTFLAG |= TC_INTFLAG_OVF; // Clear the interrupt flags ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:37:22: error: 'TC_INTFLAG_OVF' was not declared in this scope REG_TC4_INTFLAG |= TC_INTFLAG_OVF; // Clear the interrupt flags ^~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:38:3: error: 'REG_TC4_INTENSET' was not declared in this scope REG_TC4_INTENSET = TC_INTENCLR_OVF; // Enable TC4 interrupts ^~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:38:22: error: 'TC_INTENCLR_OVF' was not declared in this scope REG_TC4_INTENSET = TC_INTENCLR_OVF; // Enable TC4 interrupts ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:40:3: error: 'REG_TC4_CTRLA' was not declared in this scope REG_TC4_CTRLA |= TC_CTRLA_PRESCALER_DIV1 | // Set prescaler to 1 for 48MHz ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:40:20: error: 'TC_CTRLA_PRESCALER_DIV1' was not declared in this scope REG_TC4_CTRLA |= TC_CTRLA_PRESCALER_DIV1 | // Set prescaler to 1 for 48MHz ^~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:41:20: error: 'TC_CTRLA_WAVEGEN_MFRQ' was not declared in this scope TC_CTRLA_WAVEGEN_MFRQ; // Put the timer TC4 into Match Frequency Mode ^~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:42:10: error: 'TC4' was not declared in this scope while (TC4->COUNT16.STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp: In function 'void playSample(const uint8_t*, uint32_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:48:3: error: 'REG_TC4_CTRLA' was not declared in this scope REG_TC4_CTRLA |= TC_CTRLA_ENABLE; // Enable timer TC4 ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:48:20: error: 'TC_CTRLA_ENABLE' was not declared in this scope REG_TC4_CTRLA |= TC_CTRLA_ENABLE; // Enable timer TC4 ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:49:10: error: 'TC4' was not declared in this scope while (TC4->COUNT16.STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp: In function 'void pauseSample()': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:53:3: error: 'REG_TC4_CTRLA' was not declared in this scope REG_TC4_CTRLA &= ~TC_CTRLA_ENABLE; // Disable timer TC4 ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/li
Result: FAIL
WARNING: library SAMD21_Audio_Player claims to run on samd 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/SAMD21_Audio_Player/src/AudioPlayer.cpp: In function 'void DACSetup(uint32_t, uint8_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:16:3: error: 'REG_GCLK_GENDIV' was not declared in this scope REG_GCLK_GENDIV = GCLK_GENDIV_DIV(1) | // Divide the 48MHz clock source by 1 for 48MHz ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:16:21: error: 'GCLK_GENDIV_DIV' was not declared in this scope REG_GCLK_GENDIV = GCLK_GENDIV_DIV(1) | // Divide the 48MHz clock source by 1 for 48MHz ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:17:21: error: 'GCLK_GENDIV_ID' was not declared in this scope GCLK_GENDIV_ID(3); // Select GCLK3 ^~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:18:10: error: 'GCLK' was not declared in this scope while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:18:10: note: suggested alternative: 'SCK' while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~~ SCK /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:20:3: error: 'REG_GCLK_GENCTRL' was not declared in this scope REG_GCLK_GENCTRL = GCLK_GENCTRL_IDC | // Set the duty cycle to 50/50 ^~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:20:22: error: 'GCLK_GENCTRL_IDC' was not declared in this scope REG_GCLK_GENCTRL = GCLK_GENCTRL_IDC | // Set the duty cycle to 50/50 ^~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:21:22: error: 'GCLK_GENCTRL_GENEN' was not declared in this scope GCLK_GENCTRL_GENEN | // Enable GCLK3 ^~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:22:22: error: 'GCLK_GENCTRL_SRC_DFLL48M' was not declared in this scope GCLK_GENCTRL_SRC_DFLL48M | // Set the 48MHz clock source ^~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:23:22: error: 'GCLK_GENCTRL_ID' was not declared in this scope GCLK_GENCTRL_ID(3); // Select GCLK3 ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:24:10: error: 'GCLK' was not declared in this scope while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:24:10: note: suggested alternative: 'SCK' while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~~ SCK /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:26:3: error: 'REG_GCLK_CLKCTRL' was not declared in this scope REG_GCLK_CLKCTRL = GCLK_CLKCTRL_CLKEN | // Enable clock ^~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:26:22: error: 'GCLK_CLKCTRL_CLKEN' was not declared in this scope REG_GCLK_CLKCTRL = GCLK_CLKCTRL_CLKEN | // Enable clock ^~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:27:22: error: 'GCLK_CLKCTRL_GEN_GCLK3' was not declared in this scope GCLK_CLKCTRL_GEN_GCLK3 | // Select GCLK3 ^~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:28:22: error: 'GCLK_CLKCTRL_ID_TC4_TC5' was not declared in this scope GCLK_CLKCTRL_ID_TC4_TC5; // Feed the GCLK3 to TC4 and TC5 ^~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:29:10: error: 'GCLK' was not declared in this scope while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:29:10: note: suggested alternative: 'SCK' while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~~ SCK /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:31:3: error: 'REG_TC4_COUNT16_CC0' was not declared in this scope REG_TC4_COUNT16_CC0 = top; // Set the TC4 CC0 register to top ^~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:32:10: error: 'TC4' was not declared in this scope while (TC4->COUNT16.STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:34:20: error: 'TC4_IRQn' was not declared in this scope NVIC_SetPriority(TC4_IRQn, 0); // Set the interrupt priority for TC4 to 0 (highest) ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:34:20: note: suggested alternative: 'RTC_IRQn' NVIC_SetPriority(TC4_IRQn, 0); // Set the interrupt priority for TC4 to 0 (highest) ^~~~~~~~ RTC_IRQn /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:37:3: error: 'REG_TC4_INTFLAG' was not declared in this scope REG_TC4_INTFLAG |= TC_INTFLAG_OVF; // Clear the interrupt flags ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:37:22: error: 'TC_INTFLAG_OVF' was not declared in this scope REG_TC4_INTFLAG |= TC_INTFLAG_OVF; // Clear the interrupt flags ^~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:38:3: error: 'REG_TC4_INTENSET' was not declared in this scope REG_TC4_INTENSET = TC_INTENCLR_OVF; // Enable TC4 interrupts ^~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:38:22: error: 'TC_INTENCLR_OVF' was not declared in this scope REG_TC4_INTENSET = TC_INTENCLR_OVF; // Enable TC4 interrupts ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:40:3: error: 'REG_TC4_CTRLA' was not declared in this scope REG_TC4_CTRLA |= TC_CTRLA_PRESCALER_DIV1 | // Set prescaler to 1 for 48MHz ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:40:20: error: 'TC_CTRLA_PRESCALER_DIV1' was not declared in this scope REG_TC4_CTRLA |= TC_CTRLA_PRESCALER_DIV1 | // Set prescaler to 1 for 48MHz ^~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:41:20: error: 'TC_CTRLA_WAVEGEN_MFRQ' was not declared in this scope TC_CTRLA_WAVEGEN_MFRQ; // Put the timer TC4 into Match Frequency Mode ^~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:42:10: error: 'TC4' was not declared in this scope while (TC4->COUNT16.STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp: In function 'void playSample(const uint8_t*, uint32_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:48:3: error: 'REG_TC4_CTRLA' was not declared in this scope REG_TC4_CTRLA |= TC_CTRLA_ENABLE; // Enable timer TC4 ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:48:20: error: 'TC_CTRLA_ENABLE' was not declared in this scope REG_TC4_CTRLA |= TC_CTRLA_ENABLE; // Enable timer TC4 ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:49:10: error: 'TC4' was not declared in this scope while (TC4->COUNT16.STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp: In function 'void pauseSample()': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:53:3: error: 'REG_TC4_CTRLA' was not declared in this scope REG_TC4_CTRLA &= ~TC_CTRLA_ENABLE; // Disable timer TC4 ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/li
Result: FAIL
WARNING: library SAMD21_Audio_Player claims to run on samd 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/SAMD21_Audio_Player/src/AudioPlayer.cpp: In function 'void DACSetup(uint32_t, uint8_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:16:3: error: 'REG_GCLK_GENDIV' was not declared in this scope REG_GCLK_GENDIV = GCLK_GENDIV_DIV(1) | // Divide the 48MHz clock source by 1 for 48MHz ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:16:21: error: 'GCLK_GENDIV_DIV' was not declared in this scope REG_GCLK_GENDIV = GCLK_GENDIV_DIV(1) | // Divide the 48MHz clock source by 1 for 48MHz ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:17:21: error: 'GCLK_GENDIV_ID' was not declared in this scope GCLK_GENDIV_ID(3); // Select GCLK3 ^~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:18:10: error: 'GCLK' was not declared in this scope while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:18:10: note: suggested alternative: 'SCL' while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~~ SCL /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:20:3: error: 'REG_GCLK_GENCTRL' was not declared in this scope REG_GCLK_GENCTRL = GCLK_GENCTRL_IDC | // Set the duty cycle to 50/50 ^~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:20:22: error: 'GCLK_GENCTRL_IDC' was not declared in this scope REG_GCLK_GENCTRL = GCLK_GENCTRL_IDC | // Set the duty cycle to 50/50 ^~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:20:22: note: suggested alternative: 'CLKCTRL_t' REG_GCLK_GENCTRL = GCLK_GENCTRL_IDC | // Set the duty cycle to 50/50 ^~~~~~~~~~~~~~~~ CLKCTRL_t /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:21:22: error: 'GCLK_GENCTRL_GENEN' was not declared in this scope GCLK_GENCTRL_GENEN | // Enable GCLK3 ^~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:21:22: note: suggested alternative: 'CLKCTRL_PEN_bp' GCLK_GENCTRL_GENEN | // Enable GCLK3 ^~~~~~~~~~~~~~~~~~ CLKCTRL_PEN_bp /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:22:22: error: 'GCLK_GENCTRL_SRC_DFLL48M' was not declared in this scope GCLK_GENCTRL_SRC_DFLL48M | // Set the 48MHz clock source ^~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:23:22: error: 'GCLK_GENCTRL_ID' was not declared in this scope GCLK_GENCTRL_ID(3); // Select GCLK3 ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:23:22: note: suggested alternative: 'CLKCTRL_t' GCLK_GENCTRL_ID(3); // Select GCLK3 ^~~~~~~~~~~~~~~ CLKCTRL_t /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:24:10: error: 'GCLK' was not declared in this scope while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:24:10: note: suggested alternative: 'SCL' while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~~ SCL /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:26:3: error: 'REG_GCLK_CLKCTRL' was not declared in this scope REG_GCLK_CLKCTRL = GCLK_CLKCTRL_CLKEN | // Enable clock ^~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:26:22: error: 'GCLK_CLKCTRL_CLKEN' was not declared in this scope REG_GCLK_CLKCTRL = GCLK_CLKCTRL_CLKEN | // Enable clock ^~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:26:22: note: suggested alternative: 'CLKCTRL_CLKSEL_t' REG_GCLK_CLKCTRL = GCLK_CLKCTRL_CLKEN | // Enable clock ^~~~~~~~~~~~~~~~~~ CLKCTRL_CLKSEL_t /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:27:22: error: 'GCLK_CLKCTRL_GEN_GCLK3' was not declared in this scope GCLK_CLKCTRL_GEN_GCLK3 | // Select GCLK3 ^~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:27:22: note: suggested alternative: 'CLKCTRL_PEN_bp' GCLK_CLKCTRL_GEN_GCLK3 | // Select GCLK3 ^~~~~~~~~~~~~~~~~~~~~~ CLKCTRL_PEN_bp /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:28:22: error: 'GCLK_CLKCTRL_ID_TC4_TC5' was not declared in this scope GCLK_CLKCTRL_ID_TC4_TC5; // Feed the GCLK3 to TC4 and TC5 ^~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:29:10: error: 'GCLK' was not declared in this scope while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:29:10: note: suggested alternative: 'SCL' while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~~ SCL /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:31:3: error: 'REG_TC4_COUNT16_CC0' was not declared in this scope REG_TC4_COUNT16_CC0 = top; // Set the TC4 CC0 register to top ^~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:32:10: error: 'TC4' was not declared in this scope while (TC4->COUNT16.STATUS.bit.SYNCBUSY); // Wait for synchronization ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:34:20: error: 'TC4_IRQn' was not declared in this scope NVIC_SetPriority(TC4_IRQn, 0); // Set the interrupt priority for TC4 to 0 (highest) ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:34:3: error: 'NVIC_SetPriority' was not declared in this scope NVIC_SetPriority(TC4_IRQn, 0); // Set the interrupt priority for TC4 to 0 (highest) ^~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:35:3: error: 'NVIC_EnableIRQ' was not declared in this scope NVIC_EnableIRQ(TC4_IRQn); // Connect TC4 to Nested Vector Interrupt Controller ^~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:37:3: error: 'REG_TC4_INTFLAG' was not declared in this scope REG_TC4_INTFLAG |= TC_INTFLAG_OVF; // Clear the interrupt flags ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:37:3: note: suggested alternative: 'RTC_INTFLAGS' REG_TC4_INTFLAG |= TC_INTFLAG_OVF; // Clear the interrupt flags ^~~~~~~~~~~~~~~ RTC_INTFLAGS /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:37:22: error: 'TC_INTFLAG_OVF' was not declared in this scope REG_TC4_INTFLAG |= TC_INTFLAG_OVF; // Clear the interrupt flags ^~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:37:22: note: suggested alternative: 'RTC_INTFLAGS' REG_TC4_INTFLAG |= TC_INTFLAG_OVF; // Clear the interrupt flags ^~~~~~~~~~~~~~ RTC_INTFLAGS /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:38:3: error: 'REG_TC4_INTENSET' was not declared in this scope REG_TC4_INTENSET = TC_INTENCLR_OVF; // Enable TC4 interrupts ^~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:38:22: error: 'TC_INTENCLR_OVF' was not declared in this scope REG_TC4_INTENSET = TC_INTENCLR_OVF; // Enable TC4 interrupts ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:40:3: error: 'REG_TC4_CTRLA' was not declared in
Result: FAIL
WARNING: library SAMD21_Audio_Player claims to run on samd 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/SAMD21_Audio_Player/examples/audioplayer/audioplayer.ino:9:0: error: too many initializers for 'const uint8_t [0] {aka const unsigned char [0]}' const uint8_t Eurythmics[] = {0x80, 0x7F, 0x80, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x80, 0x7F, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F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x84, 0x84, 0x85, 0x85, 0x85, 0x86, 0x85, 0x86, 0x86, 0x86, 0x85, 0x85, 0x84, 0x84, 0x83, 0x82, 0x82, 0x81, 0x81, 0x81, 0x81, 0x81, 0x80, 0x80, 0x80, 0x7F, 0x7F, 0x7F, 0x7F, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7E, 0x7E, 0x7E, 0x7F, 0x7F, 0x7F, 0x80, 0x7F, 0x7F, 0x80, 0x80, 0x80, 0x80, 0x81, 0x81, 0x81, 0x81, 0x81, 0x82, 0x82, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x80, 0x80, 0x80, 0x80, 0x80, 0x7F, 0x7E, 0x7E, 0x7E, 0x7D, 0x7D, 0x7C, 0x7C, 0x7B, 0x7B, 0x7A, 0x79, 0x79, 0x78, 0x79, 0x79, 0x7A, 0x7A, 0x7A, 0x7C, 0x7B, 0x7C, 0x7D, 0x7D, 0x7F, 0x7F, 0x80, 0x81, 0x82, 0x84, 0x84, 0x85, 0x85, 0x86, 0x86, 0x86, 0x86, 0x85, 0x85, 0x84, 0x83, 0x83, 0x82, 0x81, 0x80, 0x7F, 0x7E, 0x7D, 0x7B, 0x7A, 0x79, 0x78, 0x78, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x78, 0x77, 0x78, 0x78, 0x79, 0x79, 0x7A, 0x7A, 0x7B, 0x7D, 0x7D, 0x7E, 0x7F, 0x7F, 0x7F, 0x80, 0x80, 0x80, 0x80, 0x81, 0x81, 0x81, 0x82, 0x82, 0x81, 0x81, 0x81, 0x81, 0x80, 0x80, 0x80, 0x80, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7E, 0x7E, 0x7E, 0x7E, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7E, 0x7D, 0x7D, 0x7E, 0x7D, 0x7E, 0x7D, 0x7D, 0x7D, 0x7E, 0x7E, 0x7E, 0x80, 0x7F, 0x80, 0x80, 0x80, 0x7F, 0x80, 0x7F, 0x7F, 0x80, 0x80, 0x80, 0x81, 0x81, 0x82, 0x83, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x82, 0x83, 0x83, 0x84, 0x84, 0x84, 0x84, 0x83, 0x83, 0x82, 0x82, 0x81, 0x80, 0x80, 0x80, 0x7F, 0x7F, 0x7E, 0x7D, 0x7C, 0x7B, 0x7A, 0x79, 0x79, 0x78, 0x78, 0x78, 0x78, 0x79, 0x79, 0x7B, 0x7B, 0x7C, 0x7D, 0x7E, 0x7E, 0x7F, 0x80, 0x81, 0x82, 0x84, 0x84, 0x85, 0x86, 0x87, 0x87, 0x86, 0x87, 0x86, 0x86, 0x85, 0x84, 0x84, 0x83, 0x83, 0x83, 0x81, 0x80, 0x7F, 0x7D, 0x7C, 0x7C, 0x7B, 0x7A, 0x79, 0x79, 0x79, 0x7A, 0x7A, 0x7A, 0x7A, 0x7A, 0x7B, 0x7A, 0x7B, 0x7A, 0x7B, 0x7B, 0x7C, 0x7E, 0x7E, 0x7F, 0x80, 0x80, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x82, 0x83, 0x83, 0x83, 0x83, 0x83, 0x83, 0x83, 0x81, 0x81, 0x81, 0x80, 0x80, 0x80, 0x80, 0x80, 0x81, 0x80, 0x80, 0x7F, 0x7F, 0x7D, 0x7E, 0x7E, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7E, 0x7E, 0x7E, 0x7D, 0x7D, 0x7D, 0x7C, 0x7C, 0x7C, 0x7C, 0x7C, 0x7D, 0x7E, 0x7D, 0x7D, 0x7D, 0x7E, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7D, 0x7F, 0x7F, 0x80, 0x81, 0x82, 0x82, 0x82, 0x83, 0x83, 0x83, 0x83, 0x84, 0x84,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80, 0x81, 0x82, 0x83, 0x84, 0x86, 0x87, 0x88, 0x89, 0x89, 0x89, 0x8A, 0x89, 0x88, 0x87, 0x86, 0x86, 0x85, 0x84, 0x83, 0x82, 0x81, 0x80, 0x7F, 0x7D, 0x7C, 0x7B, 0x7A, 0x79, 0x79, 0x79, 0x79, 0x79, 0x79, 0x79, 0x79, 0x79, 0x79, 0x79, 0x79, 0x7A, 0x7A, 0x7B, 0x7C, 0x7D, 0x7D, 0x7D, 0x80, 0x7F, 0x81, 0x80, 0x80, 0x80, 0x81, 0x81, 0x81, 0x82, 0x81, 0x81, 0x82, 0x82, 0x80, 0x80, 0x7F, 0x7F, 0x7E, 0x7E, 0x7E, 0x7D, 0x7E, 0x7E, 0x7F, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x7F, 0x80, 0x80, 0x80, 0x80, 0x80, 0x81, 0x80, 0x80, 0x80, 0x7E, 0x7E, 0x7E, 0x7D, 0x7C, 0x7B, 0x7B, 0x7B, 0x7B, 0x7B, 0x7A, 0x7B, 0x7A, 0x7A, 0x7B, 0x7A, 0x7B, 0x7B, 0x7D, 0x7E, 0x7F, 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x84, 0x85, 0x86, 0x87, 0x87, 0x86, 0x87, 0x85, 0x86, 0x85, 0x83, 0x83, 0x81, 0x81, 0x80, 0x7F, 0x7E, 0x7C, 0x7B, 0x7A, 0x78
Result: PASS
This library has no main header file so an empty one was created.
Sketch uses 12404 bytes (4%) of program storage space. Maximum is 262144 bytes. Global variables use 3012 bytes (9%) of dynamic memory, leaving 29756 bytes for local variables. Maximum is 32768 bytes.
Result: PASS
Sketch uses 191620 bytes (73%) of program storage space. Maximum is 262144 bytes. Global variables use 3012 bytes (9%) of dynamic memory, leaving 29756 bytes for local variables. Maximum is 32768 bytes.
Result: FAIL
WARNING: library SAMD21_Audio_Player claims to run on samd 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/SAMD21_Audio_Player/src/AudioPlayer.cpp: In function 'void DACSetup(uint32_t, uint8_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:16:3: error: 'REG_GCLK_GENDIV' was not declared in this scope REG_GCLK_GENDIV = GCLK_GENDIV_DIV(1) | // Divide the 48MHz clock source by 1 for 48MHz ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:16:38: error: 'GCLK_GENDIV_DIV' was not declared in this scope REG_GCLK_GENDIV = GCLK_GENDIV_DIV(1) | // Divide the 48MHz clock source by 1 for 48MHz ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:17:37: error: 'GCLK_GENDIV_ID' was not declared in this scope GCLK_GENDIV_ID(3); // Select GCLK3 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:18:10: error: 'GCLK' was not declared in this scope while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:20:3: error: 'REG_GCLK_GENCTRL' was not declared in this scope REG_GCLK_GENCTRL = GCLK_GENCTRL_IDC | // Set the duty cycle to 50/50 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:20:22: error: 'GCLK_GENCTRL_IDC' was not declared in this scope REG_GCLK_GENCTRL = GCLK_GENCTRL_IDC | // Set the duty cycle to 50/50 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:21:22: error: 'GCLK_GENCTRL_GENEN' was not declared in this scope GCLK_GENCTRL_GENEN | // Enable GCLK3 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:22:22: error: 'GCLK_GENCTRL_SRC_DFLL48M' was not declared in this scope GCLK_GENCTRL_SRC_DFLL48M | // Set the 48MHz clock source ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:23:39: error: 'GCLK_GENCTRL_ID' was not declared in this scope GCLK_GENCTRL_ID(3); // Select GCLK3 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:24:10: error: 'GCLK' was not declared in this scope while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:26:3: error: 'REG_GCLK_CLKCTRL' was not declared in this scope REG_GCLK_CLKCTRL = GCLK_CLKCTRL_CLKEN | // Enable clock ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:26:22: error: 'GCLK_CLKCTRL_CLKEN' was not declared in this scope REG_GCLK_CLKCTRL = GCLK_CLKCTRL_CLKEN | // Enable clock ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:27:22: error: 'GCLK_CLKCTRL_GEN_GCLK3' was not declared in this scope GCLK_CLKCTRL_GEN_GCLK3 | // Select GCLK3 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:28:22: error: 'GCLK_CLKCTRL_ID_TC4_TC5' was not declared in this scope GCLK_CLKCTRL_ID_TC4_TC5; // Feed the GCLK3 to TC4 and TC5 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:29:10: error: 'GCLK' was not declared in this scope while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:31:3: error: 'REG_TC4_COUNT16_CC0' was not declared in this scope REG_TC4_COUNT16_CC0 = top; // Set the TC4 CC0 register to top ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:32:10: error: 'TC4' was not declared in this scope while (TC4->COUNT16.STATUS.bit.SYNCBUSY); // Wait for synchronization ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:34:20: error: 'TC4_IRQn' was not declared in this scope NVIC_SetPriority(TC4_IRQn, 0); // Set the interrupt priority for TC4 to 0 (highest) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:34:31: error: 'NVIC_SetPriority' was not declared in this scope NVIC_SetPriority(TC4_IRQn, 0); // Set the interrupt priority for TC4 to 0 (highest) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:35:26: error: 'NVIC_EnableIRQ' was not declared in this scope NVIC_EnableIRQ(TC4_IRQn); // Connect TC4 to Nested Vector Interrupt Controller ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:37:3: error: 'REG_TC4_INTFLAG' was not declared in this scope REG_TC4_INTFLAG |= TC_INTFLAG_OVF; // Clear the interrupt flags ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:37:22: error: 'TC_INTFLAG_OVF' was not declared in this scope REG_TC4_INTFLAG |= TC_INTFLAG_OVF; // Clear the interrupt flags ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:38:3: error: 'REG_TC4_INTENSET' was not declared in this scope REG_TC4_INTENSET = TC_INTENCLR_OVF; // Enable TC4 interrupts ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:38:22: error: 'TC_INTENCLR_OVF' was not declared in this scope REG_TC4_INTENSET = TC_INTENCLR_OVF; // Enable TC4 interrupts ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:40:3: error: 'REG_TC4_CTRLA' was not declared in this scope REG_TC4_CTRLA |= TC_CTRLA_PRESCALER_DIV1 | // Set prescaler to 1 for 48MHz ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:40:20: error: 'TC_CTRLA_PRESCALER_DIV1' was not declared in this scope REG_TC4_CTRLA |= TC_CTRLA_PRESCALER_DIV1 | // Set prescaler to 1 for 48MHz ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:41:20: error: 'TC_CTRLA_WAVEGEN_MFRQ' was not declared in this scope TC_CTRLA_WAVEGEN_MFRQ; // Put the timer TC4 into Match Frequency Mode ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:42:10: error: 'TC4' was not declared in this scope while (TC4->COUNT16.STATUS.bit.SYNCBUSY); // Wait for synchronization ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp: In function 'void playSample(const uint8_t*, uint32_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:48:3: error: 'REG_TC4_CTRLA' was not declared in this scope REG_TC4_CTRLA |= TC_CTRLA_ENABLE; // Enable timer TC4 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:48:20: error: 'TC_CTRLA_ENABLE' was not declared in this scope REG_TC4_CTRLA |= TC_CTRLA_ENABLE; // Enable timer TC4 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:49:10: error: 'TC4' was not declared in this scope while (TC4->COUNT16.STATUS.bit.SYNCBUSY); // Wait for synchronization ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp: In function 'void pauseSample()': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:53:3: error: 'REG_TC4_CTRLA' was not declared in this scope REG_TC4_CTRLA &= ~TC_CTRLA_ENABLE; // Disable timer TC4 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:53:21: error: 'TC_CTRLA_ENABLE' was not declared in this scope REG_TC4_CTRLA &= ~TC_CTRLA_ENABLE; // Disable timer TC4 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:54:10: error: 'TC4' was not declared in this scope while (TC4->COUNT16.STATUS.bit.SYNCBUSY); // Wait for synchronization ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp: In function 'void DACWrite(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:58:5: error: 'DAC' was not declared in this scope DAC->DATA.reg = sample; // Shortene
Result: FAIL
WARNING: library SAMD21_Audio_Player claims to run on samd 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/SAMD21_Audio_Player/src/AudioPlayer.cpp: In function 'void DACSetup(uint32_t, uint8_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:16:3: error: 'REG_GCLK_GENDIV' was not declared in this scope REG_GCLK_GENDIV = GCLK_GENDIV_DIV(1) | // Divide the 48MHz clock source by 1 for 48MHz ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:16:38: error: 'GCLK_GENDIV_DIV' was not declared in this scope REG_GCLK_GENDIV = GCLK_GENDIV_DIV(1) | // Divide the 48MHz clock source by 1 for 48MHz ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:17:37: error: 'GCLK_GENDIV_ID' was not declared in this scope GCLK_GENDIV_ID(3); // Select GCLK3 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:18:10: error: 'GCLK' was not declared in this scope while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:20:3: error: 'REG_GCLK_GENCTRL' was not declared in this scope REG_GCLK_GENCTRL = GCLK_GENCTRL_IDC | // Set the duty cycle to 50/50 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:20:22: error: 'GCLK_GENCTRL_IDC' was not declared in this scope REG_GCLK_GENCTRL = GCLK_GENCTRL_IDC | // Set the duty cycle to 50/50 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:21:22: error: 'GCLK_GENCTRL_GENEN' was not declared in this scope GCLK_GENCTRL_GENEN | // Enable GCLK3 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:22:22: error: 'GCLK_GENCTRL_SRC_DFLL48M' was not declared in this scope GCLK_GENCTRL_SRC_DFLL48M | // Set the 48MHz clock source ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:23:39: error: 'GCLK_GENCTRL_ID' was not declared in this scope GCLK_GENCTRL_ID(3); // Select GCLK3 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:24:10: error: 'GCLK' was not declared in this scope while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:26:3: error: 'REG_GCLK_CLKCTRL' was not declared in this scope REG_GCLK_CLKCTRL = GCLK_CLKCTRL_CLKEN | // Enable clock ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:26:22: error: 'GCLK_CLKCTRL_CLKEN' was not declared in this scope REG_GCLK_CLKCTRL = GCLK_CLKCTRL_CLKEN | // Enable clock ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:27:22: error: 'GCLK_CLKCTRL_GEN_GCLK3' was not declared in this scope GCLK_CLKCTRL_GEN_GCLK3 | // Select GCLK3 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:28:22: error: 'GCLK_CLKCTRL_ID_TC4_TC5' was not declared in this scope GCLK_CLKCTRL_ID_TC4_TC5; // Feed the GCLK3 to TC4 and TC5 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:29:10: error: 'GCLK' was not declared in this scope while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:31:3: error: 'REG_TC4_COUNT16_CC0' was not declared in this scope REG_TC4_COUNT16_CC0 = top; // Set the TC4 CC0 register to top ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:32:10: error: 'TC4' was not declared in this scope while (TC4->COUNT16.STATUS.bit.SYNCBUSY); // Wait for synchronization ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:34:20: error: 'TC4_IRQn' was not declared in this scope NVIC_SetPriority(TC4_IRQn, 0); // Set the interrupt priority for TC4 to 0 (highest) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:34:31: error: 'NVIC_SetPriority' was not declared in this scope NVIC_SetPriority(TC4_IRQn, 0); // Set the interrupt priority for TC4 to 0 (highest) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:35:26: error: 'NVIC_EnableIRQ' was not declared in this scope NVIC_EnableIRQ(TC4_IRQn); // Connect TC4 to Nested Vector Interrupt Controller ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:37:3: error: 'REG_TC4_INTFLAG' was not declared in this scope REG_TC4_INTFLAG |= TC_INTFLAG_OVF; // Clear the interrupt flags ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:37:22: error: 'TC_INTFLAG_OVF' was not declared in this scope REG_TC4_INTFLAG |= TC_INTFLAG_OVF; // Clear the interrupt flags ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:38:3: error: 'REG_TC4_INTENSET' was not declared in this scope REG_TC4_INTENSET = TC_INTENCLR_OVF; // Enable TC4 interrupts ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:38:22: error: 'TC_INTENCLR_OVF' was not declared in this scope REG_TC4_INTENSET = TC_INTENCLR_OVF; // Enable TC4 interrupts ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:40:3: error: 'REG_TC4_CTRLA' was not declared in this scope REG_TC4_CTRLA |= TC_CTRLA_PRESCALER_DIV1 | // Set prescaler to 1 for 48MHz ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:40:20: error: 'TC_CTRLA_PRESCALER_DIV1' was not declared in this scope REG_TC4_CTRLA |= TC_CTRLA_PRESCALER_DIV1 | // Set prescaler to 1 for 48MHz ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:41:20: error: 'TC_CTRLA_WAVEGEN_MFRQ' was not declared in this scope TC_CTRLA_WAVEGEN_MFRQ; // Put the timer TC4 into Match Frequency Mode ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:42:10: error: 'TC4' was not declared in this scope while (TC4->COUNT16.STATUS.bit.SYNCBUSY); // Wait for synchronization ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp: In function 'void playSample(const uint8_t*, uint32_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:48:3: error: 'REG_TC4_CTRLA' was not declared in this scope REG_TC4_CTRLA |= TC_CTRLA_ENABLE; // Enable timer TC4 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:48:20: error: 'TC_CTRLA_ENABLE' was not declared in this scope REG_TC4_CTRLA |= TC_CTRLA_ENABLE; // Enable timer TC4 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:49:10: error: 'TC4' was not declared in this scope while (TC4->COUNT16.STATUS.bit.SYNCBUSY); // Wait for synchronization ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp: In function 'void pauseSample()': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:53:3: error: 'REG_TC4_CTRLA' was not declared in this scope REG_TC4_CTRLA &= ~TC_CTRLA_ENABLE; // Disable timer TC4 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:53:21: error: 'TC_CTRLA_ENABLE' was not declared in this scope REG_TC4_CTRLA &= ~TC_CTRLA_ENABLE; // Disable timer TC4 ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:54:10: error: 'TC4' was not declared in this scope while (TC4->COUNT16.STATUS.bit.SYNCBUSY); // Wait for synchronization ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp: In function 'void DACWrite(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SAMD21_Audio_Player/src/AudioPlayer.cpp:58:5: error: 'DAC' was not declared in this scope DAC->DATA.reg = sample; // Shortene