I just received a Nucleo F401RE and can't get my sketch to work on it because the compiler says Serial1 is not defined. My sketch uses multiple serials because I need to use the usb serial monitor while also communicating to another device on a different serial port.
Here is a screenshot of the flags I selected.
According to the F401 specs it has at least 6 different serials, so the real question is: is there an easy way to use Serial1 and so on straight out of the box in the Arduino IDE?
I'm quite new and unexperienced to this field, so please excuse me if this question is too trivial.