Skip to content

Add INTERRUPTIN compilation guard for ESP8266 #10329

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

michalpasztamobica
Copy link
Contributor

Description

This is the same fix as #10244 , but without the astyle fixes. Original description:

In case INTERRUPTIN flag is not set for a particular target, ESP8266 source code should not be compiled. The reason is that it relies on submodules (such as UARTSerial), which will not compile without INTERRUPTIN flag set. Thus, the compilation fails with an error without the flag.

The solution to the issue is to guard the ESP8266 with a macro checking that INTERRUPTIN flag is set.

This fixes #10061 .

Pull request type

[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

@SeppoTakalo
@VeijoPesonen

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 5, 2019

This is already on master, so this one is needed for 5.12 branch, now release-candidate? I can cherry-pick it

@0xc0170 0xc0170 changed the base branch from master to mbed-os-5.12 April 5, 2019 14:52
@0xc0170
Copy link
Contributor

0xc0170 commented Apr 5, 2019

Cherrypicked - part of 5.12.1 rc

@ciarmcom ciarmcom requested review from SeppoTakalo, VeijoPesonen and a team April 5, 2019 15:00
@ciarmcom
Copy link
Member

ciarmcom commented Apr 5, 2019

@michalpasztamobica, thank you for your changes.
@VeijoPesonen @SeppoTakalo @ARMmbed/mbed-os-maintainers please review.

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 8, 2019

I can close this, integreated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants