Skip to content

GREENTEA can't compile is DEVICE_SERIAL is not enabled #9850

@jeromecoutant

Description

@jeromecoutant

Description

How to reproduce:

  • remove SERIAL from DEVICE_HAS in targets json file
  • add "*cellular*" in .mbedignore
$ 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.

Thx

Issue request type

[ ] Question
[ ] Enhancement
[x] Bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions