Skip to content

esp8266-driver can't compile is DEVICE_INTERRUPTIN is not enabled #10061

@jeromecoutant

Description

@jeromecoutant

Description

Issue is following #9857

If you remove INTERRUPTIN from DEVICE_HAS json configuration,
mbed-os compilation is failing:

$ mbed compile -t ARM -m NUCLEO_L476RG -v

[DEBUG] Output: In file included from .\components\wifi\esp8266-driver\ESP8266\ESP8266.cpp:22:
[DEBUG] Output: ./components/wifi/esp8266-driver/ESP8266/ESP8266.h:396:11: error: no type named 'UARTSerial' in namespace 'mbed'
[DEBUG] Output:     mbed::UARTSerial _serial;
[DEBUG] Output:     ~~~~~~^
[DEBUG] Output: .\components\wifi\esp8266-driver\ESP8266\ESP8266.cpp:174:34: error: use of undeclared identifier 'SerialBase'
[DEBUG] Output:         _serial.set_flow_control(SerialBase::Disabled, _serial_rts, _serial_cts);
[DEBUG] Output:                                  ^

Issue request type

[ ] Question
[ ] Enhancement
[x] Bug

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions