Custom baudrates

when setting the baudrate for the serial ports, can you use non standard values?For example, if I type 900, would it understand 900000 and connect to another device with this baudrate?

No, it will no do that.

If I modify /libraries/AP_SerialManager/AP_SerialManager.cpp to add a custom case, would it work or it’s not as simple as that?