I'm changing my project core to newer one of stm32duino. I'm getting many many errors, which is expected. But the problem comes when a library becomes incompatible at fullest. One of which is https://github.com/mike-matera/ArduinoSTL. It was working fine on Steve's core but not on new core v.2.0.0.
Also I have a static method of a library with USBSerial* and now getting the following error
in CoreLib classerror: 'USBSerial' does not name a type; did you mean 'Serial'?
18 | static USBSerial *DebugSerialUsb
| ^~~~~~~~~
| Serial
in main .inostatic USBSerial *DebugSerialUsb;
static HardwareSerial *DebugSerialHardware;
static void Init(HardwareSerial *DebugSerial);
static void Init(USBSerial *DebugSerial);
then later init them whenever need to.USBSerial *CoreLib::DebugSerialUsb = NULL;
HardwareSerial *CoreLib::DebugSerialHardware = NULL;
I'm not getting error on HardwareSerial only on USBSerial.