Skip to content

STM32WB55 Nucleo, PDM library error 'SERIAL_STATUS_BUSY' was not declared in this scope #14

Description

@federica-ven

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions