I had a little time to try out the new serial variant.
At first: Congrats, you nearly did it!
Please change in the nucleo boards.cpp the new lines to:
Code: Select all
DEFINE_HWSERIAL(Serial, 3);// Use HW Serial 2 as "Serial"
So the order is correct as on my pinsheet! (There was a little mismatch in your code , so "USB" serial was still Serial2)
As I promised, I also tested the maple mini with the new code, so I inserted the same #includes and #ifdefs into the maple mini boards.cpp. As expected all serials are working and are in the right order!
So I give my "OK" to the changes.