I got a number of problems when migrating from mbed2 to mbed-os with the offline Compiler (on Mac):
1) Case sensitivity
I have a local project file called “PinMap.h” which was working fine with mbed2. With mbed-os the compiler task mixes this up my PinMap.h file with the in "mbed-os/hal/pinmap.h
The only way to overcome this was to create a Mac case sensitive file system.
2) Include/Compiler Order
I have local copies (in a library) of USBCDC.h, USBHID.h, USBHID.cpp etc.
Now the compiler includes the system header and sources of USBCDC.h/cpp instead of my local library.
This all was working fine with mbed2, with mbed-os it does not work.
Is there any chance to get the compile order right? (without renaming all files)
mbed --version says 1.10.2
Thank you, Helmut