Skip to content

CELLULAR can't compile is DEVICE_SERIAL is not enabled #9848

Closed
@jeromecoutant

Description

@jeromecoutant

Description

How to reproduce: remove SERIAL from DEVICE_HAS in targets json file, and compile a target (with no cellular):

[Error] CellularDevice.h@197,0:  #20: identifier "UARTSerial" is undefined
[Error] CellularContext.h@269,0:  #20: identifier "UARTSerial" is undefined
[Error] AT_CellularContext.h@61,0:  #20: identifier "UARTSerial" is undefined
[Error] AT_CellularContext.cpp@92,0:  #20: identifier "UARTSerial" is undefined
[Error] AT_CellularContext.cpp@105,0:  #20: identifier "UARTSerial" is undefined

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