Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Arduino: 1.8.15 (Windows 10), Board: "Adafruit CLUE, S140 6.1.1, Level 2 (Full Debug)"
- WARNING: library Adafruit_WavePlayer_Library claims to run on samd architecture(s) and may be incompatible with your current board which runs on nrf52 architecture(s).
- arduino_audio_provider.cpp:62:41: error: 'DEFAULT_BUFFER_SIZE' was not declared in this scope; did you mean 'SERIAL_BUFFER_SIZE'?
- 62 | constexpr int kAudioCaptureBufferSize = DEFAULT_BUFFER_SIZE * 16;
- | ^~~~~~~~~~~~~~~~~~~
- | SERIAL_BUFFER_SIZE
- arduino_audio_provider.cpp:63:32: error: size of array 'g_audio_capture_buffer' is not an integral constant-expression
- 63 | int16_t g_audio_capture_buffer[kAudioCaptureBufferSize];
- | ^~~~~~~~~~~~~~~~~~~~~~~
- arduino_audio_provider.cpp:70:35: error: 'DEFAULT_BUFFER_SIZE' was not declared in this scope; did you mean 'SERIAL_BUFFER_SIZE'?
- 70 | volatile int16_t recording_buffer[DEFAULT_BUFFER_SIZE];
- | ^~~~~~~~~~~~~~~~~~~
- | SERIAL_BUFFER_SIZE
- C:\Users\aalha\Documents\Arduino\libraries\Adafruit_TensorFlow_Lite\examples\micro_speech_arcada\arduino_audio_provider.cpp: In function 'void TIMER_CALLBACK()':
- arduino_audio_provider.cpp:121:20: error: 'DEFAULT_BUFFER_SIZE' was not declared in this scope; did you mean 'SERIAL_BUFFER_SIZE'?
- 121 | if (audio_idx >= DEFAULT_BUFFER_SIZE) {
- | ^~~~~~~~~~~~~~~~~~~
- | SERIAL_BUFFER_SIZE
- arduino_audio_provider.cpp:138:3: error: 'recording_buffer' was not declared in this scope
- 138 | recording_buffer[audio_idx] = sample;
- | ^~~~~~~~~~~~~~~~
- C:\Users\aalha\Documents\Arduino\libraries\Adafruit_TensorFlow_Lite\examples\micro_speech_arcada\arduino_audio_provider.cpp: In function 'void CaptureSamples()':
- arduino_audio_provider.cpp:180:33: error: 'DEFAULT_BUFFER_SIZE' was not declared in this scope; did you mean 'SERIAL_BUFFER_SIZE'?
- 180 | const int number_of_samples = DEFAULT_BUFFER_SIZE;
- | ^~~~~~~~~~~~~~~~~~~
- | SERIAL_BUFFER_SIZE
- arduino_audio_provider.cpp:191:58: error: 'recording_buffer' was not declared in this scope
- 191 | memcpy(g_audio_capture_buffer + capture_index, (void *)recording_buffer, DEFAULT_BUFFER_SIZE*2);
- | ^~~~~~~~~~~~~~~~
- exit status 1
- 'DEFAULT_BUFFER_SIZE' was not declared in this scope; did you mean 'SERIAL_BUFFER_SIZE'?
- This report would have more information with
- "Show verbose output during compilation"
- option enabled in File -> Preferences.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement