ArduinoCore-stm32wb
ArduinoCore-stm32wb copied to clipboard
STM32WB55 Nucleo, PDM library error 'SERIAL_STATUS_BUSY' was not declared in this scope
Hi everyone, maybe it's just me but I'm trying to use this library to run the PDM example on a P-NUCLEO WB55 connected to to 2 PDM microphones but when I try to build the normal example I get these compilation errors:
_SerialUSB.ino:32:55: error: invalid conversion from 'uint8_t {aka unsigned char}' to 'void (*)()' [-fpermissive]
Serial.write(&data[0], PDM_BUFFER_SIZE, status);
and also
error: 'SERIAL_STATUS_BUSY' was not declared in this scope
while (status == SERIAL_STATUS_BUSY)
am I doing something wrong?
Also, I can't seem to get the USB Serial device to show up, even for just a simple Serial.prinln(), I've worked with the official core from ST up until this moment so I might be a little new to this one, apologies for the questions.