This report was generated on Wednesday, 23-Feb-22 22:48:15 CET using arduino-testlib.
Version: 1.1.1
More details
Board | Claims compatibility | Inclusion | ChordPlayer |
SimpleSoundVisualizer |
---|---|---|---|---|
arduino:avr:uno
1.8.4 |
Yes | PASS | PASS | PASS |
arduino:mbed_nano:nanorp2040connect
2.7.2 |
No | FAIL | FAIL | FAIL |
arduino:megaavr:nona4809
1.8.7 |
No | FAIL | FAIL | FAIL |
arduino:samd:mkrwifi1010
1.8.12 |
No | FAIL | FAIL | FAIL |
esp32:esp32:d1_mini32
1.0.6 |
No | FAIL | FAIL | FAIL |
Result: PASS
Sketch uses 486 bytes (1%) of program storage space. Maximum is 32256 bytes. Global variables use 18 bytes (0%) of dynamic memory, leaving 2030 bytes for local variables. Maximum is 2048 bytes.
Result: PASS
Sketch uses 4874 bytes (15%) of program storage space. Maximum is 32256 bytes. Global variables use 66 bytes (3%) of dynamic memory, leaving 1982 bytes for local variables. Maximum is 2048 bytes.
Result: PASS
Sketch uses 3870 bytes (11%) of program storage space. Maximum is 32256 bytes. Global variables use 217 bytes (10%) of dynamic memory, leaving 1831 bytes for local variables. Maximum is 2048 bytes.
Result: FAIL
WARNING: library SoundPlayer claims to run on avr 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/SoundPlayer/src/SoundPlayer.cpp:16:38: error: 'F_CPU' was not declared in this scope static const float CLOCK_FREQUENCY = F_CPU; ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:25:96: error: default argument given for parameter 2 of 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' [-fpermissive] SoundPlayer::SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:54:9: note: previous specification in 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' here SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k); ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:25:96: error: default argument given for parameter 3 of 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' [-fpermissive] SoundPlayer::SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:54:9: note: previous specification in 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' here SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k); ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In constructor 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:26:5: error: 'cli' was not declared in this scope cli(); // Stop all interrupts... ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:29:5: error: 'TCCR2A' was not declared in this scope TCCR2A = 0; ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:30:5: error: 'TCCR2B' was not declared in this scope TCCR2B = 0; ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:31:5: error: 'TCNT2' was not declared in this scope TCNT2 = 0; ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:33:5: error: 'OCR2A' was not declared in this scope OCR2A = freq; ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:35:21: error: 'WGM21' was not declared in this scope TCCR2A |= (1 << WGM21); ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:37:21: error: 'CS21' was not declared in this scope TCCR2B |= (1 << CS21); ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:37:21: note: suggested alternative: '._21' TCCR2B |= (1 << CS21); ^~~~ ._21 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:5: error: 'TIMSK2' was not declared in this scope TIMSK2 |= (1 << OCIE2A); ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:5: note: suggested alternative: 'TIMER' TIMSK2 |= (1 << OCIE2A); ^~~~~~ TIMER /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:21: error: 'OCIE2A' was not declared in this scope TIMSK2 |= (1 << OCIE2A); ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:51:5: error: 'DDRD' was not declared in this scope DDRD = DDRD | upperMask; // Init lower selected ports (offset-7) as outputs. ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:51:5: note: suggested alternative: 'DIR' DDRD = DDRD | upperMask; // Init lower selected ports (offset-7) as outputs. ^~~~ DIR /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:52:5: error: 'DDRB' was not declared in this scope DDRB = DDRB | lowerMask; // Init ports (8 - (offset + 8)) as outputs. ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:52:5: note: suggested alternative: 'DIR' DDRB = DDRB | lowerMask; // Init ports (8 - (offset + 8)) as outputs. ^~~~ DIR /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:58:5: error: 'sei' was not declared in this scope sei(); // Allow all interrupts run again. ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In member function 'void SoundPlayer::stop()': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:62:5: error: 'cli' was not declared in this scope cli(); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:67:5: error: 'sei' was not declared in this scope sei(); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In member function 'void SoundPlayer::play(Sound**, unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:71:5: error: 'cli' was not declared in this scope cli(); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:81:16: error: invalid conversion from 'Sound**' to 'volatile Sound**' [-fpermissive] soundPtr = soundArray; ^~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:84:5: error: 'sei' was not declared in this scope sei(); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:87:109: error: default argument given for parameter 4 of 'Sound* SoundPlayer::newSound(const uint8_t*, size_t, float, TimeUnit)' [-fpermissive] Sound* SoundPlayer::newSound(const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:80:16: note: previous specification in 'Sound* SoundPlayer::newSound(const uint8_t*, size_t, float, TimeUnit)' here Sound* newSound(const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ); ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:93:121: error: default argument given for parameter 5 of 'void SoundPlayer::setSound(Sound*, const uint8_t*, size_t, float, TimeUnit)' [-fpermissive] void SoundPlayer::setSound(Sound *sound, const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:91:14: note: previous specification in 'void SoundPlayer::setSound(Sound*, const uint8_t*, size_t, float, TimeUnit)' here void setSound(Sound *sound, const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ); ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:117:92: error: default argument given for parameter 3 of 'void SoundPlayer::setSoundDuration(Sound*, float, TimeUnit)' [-fpermissive] void SoundPlayer::setSoundDuration(Sound *sound, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:100:14: note: previous specification in 'void SoundPlayer::setSoundDuration(Sound*, float, TimeUnit)' here void setSoundDuration(Sound *sound, float soundDuration, TimeUnit unit = HERTZ); ^~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:126:4: error: expected constructor, destructor, or type conversion before '(' token ISR(TIMER2_COMPA_vect) { ^
Result: FAIL
WARNING: library SoundPlayer claims to run on avr 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/SoundPlayer/src/SoundPlayer.cpp:16:38: error: 'F_CPU' was not declared in this scope static const float CLOCK_FREQUENCY = F_CPU; ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:25:96: error: default argument given for parameter 2 of 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' [-fpermissive] SoundPlayer::SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:54:9: note: previous specification in 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' here SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k); ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:25:96: error: default argument given for parameter 3 of 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' [-fpermissive] SoundPlayer::SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:54:9: note: previous specification in 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' here SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k); ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In constructor 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:26:5: error: 'cli' was not declared in this scope cli(); // Stop all interrupts... ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:29:5: error: 'TCCR2A' was not declared in this scope TCCR2A = 0; ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:30:5: error: 'TCCR2B' was not declared in this scope TCCR2B = 0; ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:31:5: error: 'TCNT2' was not declared in this scope TCNT2 = 0; ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:33:5: error: 'OCR2A' was not declared in this scope OCR2A = freq; ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:35:21: error: 'WGM21' was not declared in this scope TCCR2A |= (1 << WGM21); ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:37:21: error: 'CS21' was not declared in this scope TCCR2B |= (1 << CS21); ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:37:21: note: suggested alternative: '._21' TCCR2B |= (1 << CS21); ^~~~ ._21 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:5: error: 'TIMSK2' was not declared in this scope TIMSK2 |= (1 << OCIE2A); ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:5: note: suggested alternative: 'TIMER' TIMSK2 |= (1 << OCIE2A); ^~~~~~ TIMER /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:21: error: 'OCIE2A' was not declared in this scope TIMSK2 |= (1 << OCIE2A); ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:51:5: error: 'DDRD' was not declared in this scope DDRD = DDRD | upperMask; // Init lower selected ports (offset-7) as outputs. ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:51:5: note: suggested alternative: 'DIR' DDRD = DDRD | upperMask; // Init lower selected ports (offset-7) as outputs. ^~~~ DIR /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:52:5: error: 'DDRB' was not declared in this scope DDRB = DDRB | lowerMask; // Init ports (8 - (offset + 8)) as outputs. ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:52:5: note: suggested alternative: 'DIR' DDRB = DDRB | lowerMask; // Init ports (8 - (offset + 8)) as outputs. ^~~~ DIR /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:58:5: error: 'sei' was not declared in this scope sei(); // Allow all interrupts run again. ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In member function 'void SoundPlayer::stop()': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:62:5: error: 'cli' was not declared in this scope cli(); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:67:5: error: 'sei' was not declared in this scope sei(); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In member function 'void SoundPlayer::play(Sound**, unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:71:5: error: 'cli' was not declared in this scope cli(); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:81:16: error: invalid conversion from 'Sound**' to 'volatile Sound**' [-fpermissive] soundPtr = soundArray; ^~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:84:5: error: 'sei' was not declared in this scope sei(); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:87:109: error: default argument given for parameter 4 of 'Sound* SoundPlayer::newSound(const uint8_t*, size_t, float, TimeUnit)' [-fpermissive] Sound* SoundPlayer::newSound(const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:80:16: note: previous specification in 'Sound* SoundPlayer::newSound(const uint8_t*, size_t, float, TimeUnit)' here Sound* newSound(const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ); ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:93:121: error: default argument given for parameter 5 of 'void SoundPlayer::setSound(Sound*, const uint8_t*, size_t, float, TimeUnit)' [-fpermissive] void SoundPlayer::setSound(Sound *sound, const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:91:14: note: previous specification in 'void SoundPlayer::setSound(Sound*, const uint8_t*, size_t, float, TimeUnit)' here void setSound(Sound *sound, const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ); ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:117:92: error: default argument given for parameter 3 of 'void SoundPlayer::setSoundDuration(Sound*, float, TimeUnit)' [-fpermissive] void SoundPlayer::setSoundDuration(Sound *sound, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:100:14: note: previous specification in 'void SoundPlayer::setSoundDuration(Sound*, float, TimeUnit)' here void setSoundDuration(Sound *sound, float soundDuration, TimeUnit unit = HERTZ); ^~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:126:4: error: expected constructor, destructor, or type conversion before '(' token ISR(TIMER2_COMPA_vect) { ^
Result: FAIL
WARNING: library SoundPlayer claims to run on avr 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/SoundPlayer/src/SoundPlayer.cpp:16:38: error: 'F_CPU' was not declared in this scope static const float CLOCK_FREQUENCY = F_CPU; ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:25:96: error: default argument given for parameter 2 of 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' [-fpermissive] SoundPlayer::SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:54:9: note: previous specification in 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' here SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k); ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:25:96: error: default argument given for parameter 3 of 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' [-fpermissive] SoundPlayer::SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:54:9: note: previous specification in 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' here SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k); ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In constructor 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:26:5: error: 'cli' was not declared in this scope cli(); // Stop all interrupts... ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:29:5: error: 'TCCR2A' was not declared in this scope TCCR2A = 0; ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:30:5: error: 'TCCR2B' was not declared in this scope TCCR2B = 0; ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:31:5: error: 'TCNT2' was not declared in this scope TCNT2 = 0; ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:33:5: error: 'OCR2A' was not declared in this scope OCR2A = freq; ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:35:21: error: 'WGM21' was not declared in this scope TCCR2A |= (1 << WGM21); ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:37:21: error: 'CS21' was not declared in this scope TCCR2B |= (1 << CS21); ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:37:21: note: suggested alternative: '._21' TCCR2B |= (1 << CS21); ^~~~ ._21 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:5: error: 'TIMSK2' was not declared in this scope TIMSK2 |= (1 << OCIE2A); ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:5: note: suggested alternative: 'TIMER' TIMSK2 |= (1 << OCIE2A); ^~~~~~ TIMER /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:21: error: 'OCIE2A' was not declared in this scope TIMSK2 |= (1 << OCIE2A); ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:51:5: error: 'DDRD' was not declared in this scope DDRD = DDRD | upperMask; // Init lower selected ports (offset-7) as outputs. ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:51:5: note: suggested alternative: 'DIR' DDRD = DDRD | upperMask; // Init lower selected ports (offset-7) as outputs. ^~~~ DIR /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:52:5: error: 'DDRB' was not declared in this scope DDRB = DDRB | lowerMask; // Init ports (8 - (offset + 8)) as outputs. ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:52:5: note: suggested alternative: 'DIR' DDRB = DDRB | lowerMask; // Init ports (8 - (offset + 8)) as outputs. ^~~~ DIR /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:58:5: error: 'sei' was not declared in this scope sei(); // Allow all interrupts run again. ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In member function 'void SoundPlayer::stop()': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:62:5: error: 'cli' was not declared in this scope cli(); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:67:5: error: 'sei' was not declared in this scope sei(); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In member function 'void SoundPlayer::play(Sound**, unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:71:5: error: 'cli' was not declared in this scope cli(); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:81:16: error: invalid conversion from 'Sound**' to 'volatile Sound**' [-fpermissive] soundPtr = soundArray; ^~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:84:5: error: 'sei' was not declared in this scope sei(); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:87:109: error: default argument given for parameter 4 of 'Sound* SoundPlayer::newSound(const uint8_t*, size_t, float, TimeUnit)' [-fpermissive] Sound* SoundPlayer::newSound(const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:80:16: note: previous specification in 'Sound* SoundPlayer::newSound(const uint8_t*, size_t, float, TimeUnit)' here Sound* newSound(const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ); ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:93:121: error: default argument given for parameter 5 of 'void SoundPlayer::setSound(Sound*, const uint8_t*, size_t, float, TimeUnit)' [-fpermissive] void SoundPlayer::setSound(Sound *sound, const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:91:14: note: previous specification in 'void SoundPlayer::setSound(Sound*, const uint8_t*, size_t, float, TimeUnit)' here void setSound(Sound *sound, const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ); ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:117:92: error: default argument given for parameter 3 of 'void SoundPlayer::setSoundDuration(Sound*, float, TimeUnit)' [-fpermissive] void SoundPlayer::setSoundDuration(Sound *sound, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:100:14: note: previous specification in 'void SoundPlayer::setSoundDuration(Sound*, float, TimeUnit)' here void setSoundDuration(Sound *sound, float soundDuration, TimeUnit unit = HERTZ); ^~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:126:4: error: expected constructor, destructor, or type conversion before '(' token ISR(TIMER2_COMPA_vect) { ^
Result: FAIL
WARNING: library SoundPlayer claims to run on avr 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/SoundPlayer/src/SoundPlayer.cpp: In constructor 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:29:5: error: 'TCCR2A' was not declared in this scope TCCR2A = 0; ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:29:5: note: suggested alternative: 'TCB2' TCCR2A = 0; ^~~~~~ TCB2 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:30:5: error: 'TCCR2B' was not declared in this scope TCCR2B = 0; ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:30:5: note: suggested alternative: 'TCB2' TCCR2B = 0; ^~~~~~ TCB2 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:31:5: error: 'TCNT2' was not declared in this scope TCNT2 = 0; ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:31:5: note: suggested alternative: 'TCB2' TCNT2 = 0; ^~~~~ TCB2 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:33:5: error: 'OCR2A' was not declared in this scope OCR2A = freq; ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:35:21: error: 'WGM21' was not declared in this scope TCCR2A |= (1 << WGM21); ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:37:21: error: 'CS21' was not declared in this scope TCCR2B |= (1 << CS21); ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:5: error: 'TIMSK2' was not declared in this scope TIMSK2 |= (1 << OCIE2A); ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:5: note: suggested alternative: 'TIMERB2' TIMSK2 |= (1 << OCIE2A); ^~~~~~ TIMERB2 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:21: error: 'OCIE2A' was not declared in this scope TIMSK2 |= (1 << OCIE2A); ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:51:17: error: no match for 'operator|' (operand types are 'DDRDClass' and 'volatile uint8_t {aka volatile unsigned char}') DDRD = DDRD | upperMask; // Init lower selected ports (offset-7) as outputs. ~~~~~^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:52:17: error: no match for 'operator|' (operand types are 'DDRBClass' and 'volatile uint8_t {aka volatile unsigned char}') DDRB = DDRB | lowerMask; // Init ports (8 - (offset + 8)) as outputs. ~~~~~^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In function 'void TIMER2_COMPA_vect()': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:157:20: error: no match for 'operator&' (operand types are 'PORTDClass' and 'volatile uint8_t {aka volatile unsigned char}') PORTD = (PORTD & lowerMask) | (sound << soundOutOffset); ~~~~~~^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:158:20: error: no match for 'operator&' (operand types are 'PORTBClass' and 'volatile uint8_t {aka volatile unsigned char}') PORTB = (PORTB & upperMask) | (sound >> (8 - soundOutOffset)); ~~~~~~^~~~~~~~~~~
Result: FAIL
WARNING: library SoundPlayer claims to run on avr 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/SoundPlayer/src/SoundPlayer.cpp: In constructor 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:29:5: error: 'TCCR2A' was not declared in this scope TCCR2A = 0; ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:29:5: note: suggested alternative: 'TCB2' TCCR2A = 0; ^~~~~~ TCB2 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:30:5: error: 'TCCR2B' was not declared in this scope TCCR2B = 0; ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:30:5: note: suggested alternative: 'TCB2' TCCR2B = 0; ^~~~~~ TCB2 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:31:5: error: 'TCNT2' was not declared in this scope TCNT2 = 0; ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:31:5: note: suggested alternative: 'TCB2' TCNT2 = 0; ^~~~~ TCB2 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:33:5: error: 'OCR2A' was not declared in this scope OCR2A = freq; ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:35:21: error: 'WGM21' was not declared in this scope TCCR2A |= (1 << WGM21); ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:37:21: error: 'CS21' was not declared in this scope TCCR2B |= (1 << CS21); ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:5: error: 'TIMSK2' was not declared in this scope TIMSK2 |= (1 << OCIE2A); ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:5: note: suggested alternative: 'TIMERB2' TIMSK2 |= (1 << OCIE2A); ^~~~~~ TIMERB2 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:21: error: 'OCIE2A' was not declared in this scope TIMSK2 |= (1 << OCIE2A); ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:51:17: error: no match for 'operator|' (operand types are 'DDRDClass' and 'volatile uint8_t {aka volatile unsigned char}') DDRD = DDRD | upperMask; // Init lower selected ports (offset-7) as outputs. ~~~~~^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:52:17: error: no match for 'operator|' (operand types are 'DDRBClass' and 'volatile uint8_t {aka volatile unsigned char}') DDRB = DDRB | lowerMask; // Init ports (8 - (offset + 8)) as outputs. ~~~~~^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In function 'void TIMER2_COMPA_vect()': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:157:20: error: no match for 'operator&' (operand types are 'PORTDClass' and 'volatile uint8_t {aka volatile unsigned char}') PORTD = (PORTD & lowerMask) | (sound << soundOutOffset); ~~~~~~^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:158:20: error: no match for 'operator&' (operand types are 'PORTBClass' and 'volatile uint8_t {aka volatile unsigned char}') PORTB = (PORTB & upperMask) | (sound >> (8 - soundOutOffset)); ~~~~~~^~~~~~~~~~~
Result: FAIL
WARNING: library SoundPlayer claims to run on avr 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/SoundPlayer/src/SoundPlayer.cpp: In constructor 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:29:5: error: 'TCCR2A' was not declared in this scope TCCR2A = 0; ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:29:5: note: suggested alternative: 'TCB2' TCCR2A = 0; ^~~~~~ TCB2 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:30:5: error: 'TCCR2B' was not declared in this scope TCCR2B = 0; ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:30:5: note: suggested alternative: 'TCB2' TCCR2B = 0; ^~~~~~ TCB2 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:31:5: error: 'TCNT2' was not declared in this scope TCNT2 = 0; ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:31:5: note: suggested alternative: 'TCB2' TCNT2 = 0; ^~~~~ TCB2 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:33:5: error: 'OCR2A' was not declared in this scope OCR2A = freq; ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:35:21: error: 'WGM21' was not declared in this scope TCCR2A |= (1 << WGM21); ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:37:21: error: 'CS21' was not declared in this scope TCCR2B |= (1 << CS21); ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:5: error: 'TIMSK2' was not declared in this scope TIMSK2 |= (1 << OCIE2A); ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:5: note: suggested alternative: 'TIMERB2' TIMSK2 |= (1 << OCIE2A); ^~~~~~ TIMERB2 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:21: error: 'OCIE2A' was not declared in this scope TIMSK2 |= (1 << OCIE2A); ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:51:17: error: no match for 'operator|' (operand types are 'DDRDClass' and 'volatile uint8_t {aka volatile unsigned char}') DDRD = DDRD | upperMask; // Init lower selected ports (offset-7) as outputs. ~~~~~^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:52:17: error: no match for 'operator|' (operand types are 'DDRBClass' and 'volatile uint8_t {aka volatile unsigned char}') DDRB = DDRB | lowerMask; // Init ports (8 - (offset + 8)) as outputs. ~~~~~^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In function 'void TIMER2_COMPA_vect()': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:157:20: error: no match for 'operator&' (operand types are 'PORTDClass' and 'volatile uint8_t {aka volatile unsigned char}') PORTD = (PORTD & lowerMask) | (sound << soundOutOffset); ~~~~~~^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:158:20: error: no match for 'operator&' (operand types are 'PORTBClass' and 'volatile uint8_t {aka volatile unsigned char}') PORTB = (PORTB & upperMask) | (sound >> (8 - soundOutOffset)); ~~~~~~^~~~~~~~~~~
Result: FAIL
WARNING: library SoundPlayer claims to run on avr 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/SoundPlayer/src/SoundPlayer.cpp:25:96: error: default argument given for parameter 2 of 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' [-fpermissive] SoundPlayer::SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:54:9: note: previous specification in 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' here SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k); ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:25:96: error: default argument given for parameter 3 of 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' [-fpermissive] SoundPlayer::SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:54:9: note: previous specification in 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' here SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k); ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In constructor 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:26:5: error: 'cli' was not declared in this scope cli(); // Stop all interrupts... ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:26:5: note: suggested alternative: 'Gclk' cli(); // Stop all interrupts... ^~~ Gclk /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:29:5: error: 'TCCR2A' was not declared in this scope TCCR2A = 0; ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:29:5: note: suggested alternative: 'TCC2' TCCR2A = 0; ^~~~~~ TCC2 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:30:5: error: 'TCCR2B' was not declared in this scope TCCR2B = 0; ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:30:5: note: suggested alternative: 'TCC2' TCCR2B = 0; ^~~~~~ TCC2 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:31:5: error: 'TCNT2' was not declared in this scope TCNT2 = 0; ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:31:5: note: suggested alternative: 'TCC2' TCNT2 = 0; ^~~~~ TCC2 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:33:5: error: 'OCR2A' was not declared in this scope OCR2A = freq; ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:35:21: error: 'WGM21' was not declared in this scope TCCR2A |= (1 << WGM21); ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:37:21: error: 'CS21' was not declared in this scope TCCR2B |= (1 << CS21); ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:37:21: note: suggested alternative: 'SS1' TCCR2B |= (1 << CS21); ^~~~ SS1 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:5: error: 'TIMSK2' was not declared in this scope TIMSK2 |= (1 << OCIE2A); ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:21: error: 'OCIE2A' was not declared in this scope TIMSK2 |= (1 << OCIE2A); ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:51:5: error: 'DDRD' was not declared in this scope DDRD = DDRD | upperMask; // Init lower selected ports (offset-7) as outputs. ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:52:5: error: 'DDRB' was not declared in this scope DDRB = DDRB | lowerMask; // Init ports (8 - (offset + 8)) as outputs. ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:58:5: error: 'sei' was not declared in this scope sei(); // Allow all interrupts run again. ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In member function 'void SoundPlayer::stop()': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:62:5: error: 'cli' was not declared in this scope cli(); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:62:5: note: suggested alternative: 'Gclk' cli(); ^~~ Gclk /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:67:5: error: 'sei' was not declared in this scope sei(); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In member function 'void SoundPlayer::play(Sound**, unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:71:5: error: 'cli' was not declared in this scope cli(); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:71:5: note: suggested alternative: 'Gclk' cli(); ^~~ Gclk /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:81:16: error: invalid conversion from 'Sound**' to 'volatile Sound**' [-fpermissive] soundPtr = soundArray; ^~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:84:5: error: 'sei' was not declared in this scope sei(); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:87:109: error: default argument given for parameter 4 of 'Sound* SoundPlayer::newSound(const uint8_t*, size_t, float, TimeUnit)' [-fpermissive] Sound* SoundPlayer::newSound(const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:80:16: note: previous specification in 'Sound* SoundPlayer::newSound(const uint8_t*, size_t, float, TimeUnit)' here Sound* newSound(const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ); ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:93:121: error: default argument given for parameter 5 of 'void SoundPlayer::setSound(Sound*, const uint8_t*, size_t, float, TimeUnit)' [-fpermissive] void SoundPlayer::setSound(Sound *sound, const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:91:14: note: previous specification in 'void SoundPlayer::setSound(Sound*, const uint8_t*, size_t, float, TimeUnit)' here void setSound(Sound *sound, const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ); ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:117:92: error: default argument given for parameter 3 of 'void SoundPlayer::setSoundDuration(Sound*, float, TimeUnit)' [-fpermissive] void SoundPlayer::setSoundDuration(Sound *sound, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:100:14: note: previous specification in 'void SoundPlayer::setSoundDuration(Sound*, float, TimeUnit)' here void setSoundDuration(Sound *sound, float soundDuration, TimeUnit unit = HERTZ); ^~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:126:4: error: expected constructor, destructor, or type conversion before '(' token ISR(TIMER2_COMPA_vect) { ^
Result: FAIL
WARNING: library SoundPlayer claims to run on avr 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/SoundPlayer/src/SoundPlayer.cpp:25:96: error: default argument given for parameter 2 of 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' [-fpermissive] SoundPlayer::SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:54:9: note: previous specification in 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' here SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k); ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:25:96: error: default argument given for parameter 3 of 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' [-fpermissive] SoundPlayer::SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:54:9: note: previous specification in 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' here SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k); ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In constructor 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:26:5: error: 'cli' was not declared in this scope cli(); // Stop all interrupts... ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:26:5: note: suggested alternative: 'Gclk' cli(); // Stop all interrupts... ^~~ Gclk /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:29:5: error: 'TCCR2A' was not declared in this scope TCCR2A = 0; ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:29:5: note: suggested alternative: 'TCC2' TCCR2A = 0; ^~~~~~ TCC2 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:30:5: error: 'TCCR2B' was not declared in this scope TCCR2B = 0; ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:30:5: note: suggested alternative: 'TCC2' TCCR2B = 0; ^~~~~~ TCC2 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:31:5: error: 'TCNT2' was not declared in this scope TCNT2 = 0; ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:31:5: note: suggested alternative: 'TCC2' TCNT2 = 0; ^~~~~ TCC2 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:33:5: error: 'OCR2A' was not declared in this scope OCR2A = freq; ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:35:21: error: 'WGM21' was not declared in this scope TCCR2A |= (1 << WGM21); ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:37:21: error: 'CS21' was not declared in this scope TCCR2B |= (1 << CS21); ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:37:21: note: suggested alternative: 'SS1' TCCR2B |= (1 << CS21); ^~~~ SS1 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:5: error: 'TIMSK2' was not declared in this scope TIMSK2 |= (1 << OCIE2A); ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:21: error: 'OCIE2A' was not declared in this scope TIMSK2 |= (1 << OCIE2A); ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:51:5: error: 'DDRD' was not declared in this scope DDRD = DDRD | upperMask; // Init lower selected ports (offset-7) as outputs. ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:52:5: error: 'DDRB' was not declared in this scope DDRB = DDRB | lowerMask; // Init ports (8 - (offset + 8)) as outputs. ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:58:5: error: 'sei' was not declared in this scope sei(); // Allow all interrupts run again. ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In member function 'void SoundPlayer::stop()': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:62:5: error: 'cli' was not declared in this scope cli(); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:62:5: note: suggested alternative: 'Gclk' cli(); ^~~ Gclk /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:67:5: error: 'sei' was not declared in this scope sei(); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In member function 'void SoundPlayer::play(Sound**, unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:71:5: error: 'cli' was not declared in this scope cli(); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:71:5: note: suggested alternative: 'Gclk' cli(); ^~~ Gclk /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:81:16: error: invalid conversion from 'Sound**' to 'volatile Sound**' [-fpermissive] soundPtr = soundArray; ^~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:84:5: error: 'sei' was not declared in this scope sei(); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:87:109: error: default argument given for parameter 4 of 'Sound* SoundPlayer::newSound(const uint8_t*, size_t, float, TimeUnit)' [-fpermissive] Sound* SoundPlayer::newSound(const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:80:16: note: previous specification in 'Sound* SoundPlayer::newSound(const uint8_t*, size_t, float, TimeUnit)' here Sound* newSound(const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ); ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:93:121: error: default argument given for parameter 5 of 'void SoundPlayer::setSound(Sound*, const uint8_t*, size_t, float, TimeUnit)' [-fpermissive] void SoundPlayer::setSound(Sound *sound, const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:91:14: note: previous specification in 'void SoundPlayer::setSound(Sound*, const uint8_t*, size_t, float, TimeUnit)' here void setSound(Sound *sound, const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ); ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:117:92: error: default argument given for parameter 3 of 'void SoundPlayer::setSoundDuration(Sound*, float, TimeUnit)' [-fpermissive] void SoundPlayer::setSoundDuration(Sound *sound, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:100:14: note: previous specification in 'void SoundPlayer::setSoundDuration(Sound*, float, TimeUnit)' here void setSoundDuration(Sound *sound, float soundDuration, TimeUnit unit = HERTZ); ^~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:126:4: error: expected constructor, destructor, or type conversion before '(' token ISR(TIMER2_COMPA_vect) { ^
Result: FAIL
WARNING: library SoundPlayer claims to run on avr 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/SoundPlayer/src/SoundPlayer.cpp:25:96: error: default argument given for parameter 2 of 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' [-fpermissive] SoundPlayer::SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:54:9: note: previous specification in 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' here SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k); ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:25:96: error: default argument given for parameter 3 of 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' [-fpermissive] SoundPlayer::SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:54:9: note: previous specification in 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' here SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k); ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In constructor 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:26:5: error: 'cli' was not declared in this scope cli(); // Stop all interrupts... ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:26:5: note: suggested alternative: 'Gclk' cli(); // Stop all interrupts... ^~~ Gclk /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:29:5: error: 'TCCR2A' was not declared in this scope TCCR2A = 0; ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:29:5: note: suggested alternative: 'TCC2' TCCR2A = 0; ^~~~~~ TCC2 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:30:5: error: 'TCCR2B' was not declared in this scope TCCR2B = 0; ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:30:5: note: suggested alternative: 'TCC2' TCCR2B = 0; ^~~~~~ TCC2 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:31:5: error: 'TCNT2' was not declared in this scope TCNT2 = 0; ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:31:5: note: suggested alternative: 'TCC2' TCNT2 = 0; ^~~~~ TCC2 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:33:5: error: 'OCR2A' was not declared in this scope OCR2A = freq; ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:35:21: error: 'WGM21' was not declared in this scope TCCR2A |= (1 << WGM21); ^~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:37:21: error: 'CS21' was not declared in this scope TCCR2B |= (1 << CS21); ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:37:21: note: suggested alternative: 'SS1' TCCR2B |= (1 << CS21); ^~~~ SS1 /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:5: error: 'TIMSK2' was not declared in this scope TIMSK2 |= (1 << OCIE2A); ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:21: error: 'OCIE2A' was not declared in this scope TIMSK2 |= (1 << OCIE2A); ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:51:5: error: 'DDRD' was not declared in this scope DDRD = DDRD | upperMask; // Init lower selected ports (offset-7) as outputs. ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:52:5: error: 'DDRB' was not declared in this scope DDRB = DDRB | lowerMask; // Init ports (8 - (offset + 8)) as outputs. ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:58:5: error: 'sei' was not declared in this scope sei(); // Allow all interrupts run again. ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In member function 'void SoundPlayer::stop()': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:62:5: error: 'cli' was not declared in this scope cli(); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:62:5: note: suggested alternative: 'Gclk' cli(); ^~~ Gclk /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:67:5: error: 'sei' was not declared in this scope sei(); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In member function 'void SoundPlayer::play(Sound**, unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:71:5: error: 'cli' was not declared in this scope cli(); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:71:5: note: suggested alternative: 'Gclk' cli(); ^~~ Gclk /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:81:16: error: invalid conversion from 'Sound**' to 'volatile Sound**' [-fpermissive] soundPtr = soundArray; ^~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:84:5: error: 'sei' was not declared in this scope sei(); ^~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:87:109: error: default argument given for parameter 4 of 'Sound* SoundPlayer::newSound(const uint8_t*, size_t, float, TimeUnit)' [-fpermissive] Sound* SoundPlayer::newSound(const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:80:16: note: previous specification in 'Sound* SoundPlayer::newSound(const uint8_t*, size_t, float, TimeUnit)' here Sound* newSound(const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ); ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:93:121: error: default argument given for parameter 5 of 'void SoundPlayer::setSound(Sound*, const uint8_t*, size_t, float, TimeUnit)' [-fpermissive] void SoundPlayer::setSound(Sound *sound, const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:91:14: note: previous specification in 'void SoundPlayer::setSound(Sound*, const uint8_t*, size_t, float, TimeUnit)' here void setSound(Sound *sound, const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ); ^~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:117:92: error: default argument given for parameter 3 of 'void SoundPlayer::setSoundDuration(Sound*, float, TimeUnit)' [-fpermissive] void SoundPlayer::setSoundDuration(Sound *sound, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:100:14: note: previous specification in 'void SoundPlayer::setSoundDuration(Sound*, float, TimeUnit)' here void setSoundDuration(Sound *sound, float soundDuration, TimeUnit unit = HERTZ); ^~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:126:4: error: expected constructor, destructor, or type conversion before '(' token ISR(TIMER2_COMPA_vect) { ^
Result: FAIL
WARNING: library SoundPlayer claims to run on avr 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/SoundPlayer/src/SoundPlayer.cpp:25:96: error: default argument given for parameter 2 of 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' [-fpermissive] SoundPlayer::SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:54:9: note: previous specification in 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' here SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:25:96: error: default argument given for parameter 3 of 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' [-fpermissive] SoundPlayer::SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:54:9: note: previous specification in 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' here SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In constructor 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:29:5: error: 'TCCR2A' was not declared in this scope TCCR2A = 0; ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:30:5: error: 'TCCR2B' was not declared in this scope TCCR2B = 0; ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:31:5: error: 'TCNT2' was not declared in this scope TCNT2 = 0; ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:33:5: error: 'OCR2A' was not declared in this scope OCR2A = freq; ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:35:21: error: 'WGM21' was not declared in this scope TCCR2A |= (1 << WGM21); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:37:21: error: 'CS21' was not declared in this scope TCCR2B |= (1 << CS21); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:5: error: 'TIMSK2' was not declared in this scope TIMSK2 |= (1 << OCIE2A); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:21: error: 'OCIE2A' was not declared in this scope TIMSK2 |= (1 << OCIE2A); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:51:5: error: 'DDRD' was not declared in this scope DDRD = DDRD | upperMask; // Init lower selected ports (offset-7) as outputs. ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:52:5: error: 'DDRB' was not declared in this scope DDRB = DDRB | lowerMask; // Init ports (8 - (offset + 8)) as outputs. ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In member function 'void SoundPlayer::play(Sound**, unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:81:14: error: invalid conversion from 'Sound**' to 'volatile Sound**' [-fpermissive] soundPtr = soundArray; ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:87:109: error: default argument given for parameter 4 of 'Sound* SoundPlayer::newSound(const uint8_t*, size_t, float, TimeUnit)' [-fpermissive] Sound* SoundPlayer::newSound(const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:80:16: note: previous specification in 'Sound* SoundPlayer::newSound(const uint8_t*, size_t, float, TimeUnit)' here Sound* newSound(const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:93:121: error: default argument given for parameter 5 of 'void SoundPlayer::setSound(Sound*, const uint8_t*, size_t, float, TimeUnit)' [-fpermissive] void SoundPlayer::setSound(Sound *sound, const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:91:14: note: previous specification in 'void SoundPlayer::setSound(Sound*, const uint8_t*, size_t, float, TimeUnit)' here void setSound(Sound *sound, const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:117:92: error: default argument given for parameter 3 of 'void SoundPlayer::setSoundDuration(Sound*, float, TimeUnit)' [-fpermissive] void SoundPlayer::setSoundDuration(Sound *sound, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:100:14: note: previous specification in 'void SoundPlayer::setSoundDuration(Sound*, float, TimeUnit)' here void setSoundDuration(Sound *sound, float soundDuration, TimeUnit unit = HERTZ); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:126:4: error: expected constructor, destructor, or type conversion before '(' token ISR(TIMER2_COMPA_vect) { ^
Result: FAIL
WARNING: library SoundPlayer claims to run on avr 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/SoundPlayer/src/SoundPlayer.cpp:25:96: error: default argument given for parameter 2 of 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' [-fpermissive] SoundPlayer::SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:54:9: note: previous specification in 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' here SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:25:96: error: default argument given for parameter 3 of 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' [-fpermissive] SoundPlayer::SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:54:9: note: previous specification in 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' here SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In constructor 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:29:5: error: 'TCCR2A' was not declared in this scope TCCR2A = 0; ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:30:5: error: 'TCCR2B' was not declared in this scope TCCR2B = 0; ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:31:5: error: 'TCNT2' was not declared in this scope TCNT2 = 0; ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:33:5: error: 'OCR2A' was not declared in this scope OCR2A = freq; ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:35:21: error: 'WGM21' was not declared in this scope TCCR2A |= (1 << WGM21); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:37:21: error: 'CS21' was not declared in this scope TCCR2B |= (1 << CS21); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:5: error: 'TIMSK2' was not declared in this scope TIMSK2 |= (1 << OCIE2A); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:21: error: 'OCIE2A' was not declared in this scope TIMSK2 |= (1 << OCIE2A); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:51:5: error: 'DDRD' was not declared in this scope DDRD = DDRD | upperMask; // Init lower selected ports (offset-7) as outputs. ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:52:5: error: 'DDRB' was not declared in this scope DDRB = DDRB | lowerMask; // Init ports (8 - (offset + 8)) as outputs. ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In member function 'void SoundPlayer::play(Sound**, unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:81:14: error: invalid conversion from 'Sound**' to 'volatile Sound**' [-fpermissive] soundPtr = soundArray; ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:87:109: error: default argument given for parameter 4 of 'Sound* SoundPlayer::newSound(const uint8_t*, size_t, float, TimeUnit)' [-fpermissive] Sound* SoundPlayer::newSound(const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:80:16: note: previous specification in 'Sound* SoundPlayer::newSound(const uint8_t*, size_t, float, TimeUnit)' here Sound* newSound(const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:93:121: error: default argument given for parameter 5 of 'void SoundPlayer::setSound(Sound*, const uint8_t*, size_t, float, TimeUnit)' [-fpermissive] void SoundPlayer::setSound(Sound *sound, const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:91:14: note: previous specification in 'void SoundPlayer::setSound(Sound*, const uint8_t*, size_t, float, TimeUnit)' here void setSound(Sound *sound, const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:117:92: error: default argument given for parameter 3 of 'void SoundPlayer::setSoundDuration(Sound*, float, TimeUnit)' [-fpermissive] void SoundPlayer::setSoundDuration(Sound *sound, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:100:14: note: previous specification in 'void SoundPlayer::setSoundDuration(Sound*, float, TimeUnit)' here void setSoundDuration(Sound *sound, float soundDuration, TimeUnit unit = HERTZ); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:126:4: error: expected constructor, destructor, or type conversion before '(' token ISR(TIMER2_COMPA_vect) { ^
Result: FAIL
WARNING: library SoundPlayer claims to run on avr 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/SoundPlayer/src/SoundPlayer.cpp:25:96: error: default argument given for parameter 2 of 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' [-fpermissive] SoundPlayer::SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:54:9: note: previous specification in 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' here SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:25:96: error: default argument given for parameter 3 of 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' [-fpermissive] SoundPlayer::SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:54:9: note: previous specification in 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)' here SoundPlayer(uint8_t offset, ReadMode mode = MEMORY, SamplingFrequency freq = Hz40k); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In constructor 'SoundPlayer::SoundPlayer(uint8_t, ReadMode, SamplingFrequency)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:29:5: error: 'TCCR2A' was not declared in this scope TCCR2A = 0; ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:30:5: error: 'TCCR2B' was not declared in this scope TCCR2B = 0; ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:31:5: error: 'TCNT2' was not declared in this scope TCNT2 = 0; ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:33:5: error: 'OCR2A' was not declared in this scope OCR2A = freq; ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:35:21: error: 'WGM21' was not declared in this scope TCCR2A |= (1 << WGM21); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:37:21: error: 'CS21' was not declared in this scope TCCR2B |= (1 << CS21); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:5: error: 'TIMSK2' was not declared in this scope TIMSK2 |= (1 << OCIE2A); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:39:21: error: 'OCIE2A' was not declared in this scope TIMSK2 |= (1 << OCIE2A); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:51:5: error: 'DDRD' was not declared in this scope DDRD = DDRD | upperMask; // Init lower selected ports (offset-7) as outputs. ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:52:5: error: 'DDRB' was not declared in this scope DDRB = DDRB | lowerMask; // Init ports (8 - (offset + 8)) as outputs. ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: In member function 'void SoundPlayer::play(Sound**, unsigned int)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:81:14: error: invalid conversion from 'Sound**' to 'volatile Sound**' [-fpermissive] soundPtr = soundArray; ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp: At global scope: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:87:109: error: default argument given for parameter 4 of 'Sound* SoundPlayer::newSound(const uint8_t*, size_t, float, TimeUnit)' [-fpermissive] Sound* SoundPlayer::newSound(const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:80:16: note: previous specification in 'Sound* SoundPlayer::newSound(const uint8_t*, size_t, float, TimeUnit)' here Sound* newSound(const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:93:121: error: default argument given for parameter 5 of 'void SoundPlayer::setSound(Sound*, const uint8_t*, size_t, float, TimeUnit)' [-fpermissive] void SoundPlayer::setSound(Sound *sound, const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:91:14: note: previous specification in 'void SoundPlayer::setSound(Sound*, const uint8_t*, size_t, float, TimeUnit)' here void setSound(Sound *sound, const uint8_t data[], size_t length, float soundDuration, TimeUnit unit = HERTZ); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:117:92: error: default argument given for parameter 3 of 'void SoundPlayer::setSoundDuration(Sound*, float, TimeUnit)' [-fpermissive] void SoundPlayer::setSoundDuration(Sound *sound, float soundDuration, TimeUnit unit = HERTZ) { ^ In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:4:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.h:100:14: note: previous specification in 'void SoundPlayer::setSoundDuration(Sound*, float, TimeUnit)' here void setSoundDuration(Sound *sound, float soundDuration, TimeUnit unit = HERTZ); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/SoundPlayer/src/SoundPlayer.cpp:126:4: error: expected constructor, destructor, or type conversion before '(' token ISR(TIMER2_COMPA_vect) { ^