$ mbed compile -t ARM -m NUCLEO_L476RG -v
[Error] greentea_serial.h@10,0: #1046: namespace "mbed" has no member class "RawSerial"
[Error] greentea_serial.h@10,0: #262: not a class or struct name
[Error] greentea_serial.cpp@15,0: #1046: namespace "mbed" has no member class "RawSerial"
[Error] greentea_serial.cpp@15,0: #18: expected a ")"
I don't see any reason why greentea-client should be compiled when DEVICE_SERIAL is not enabled.
[ ] Question
[ ] Enhancement
[x] Bug