Skip to content
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

802.15.4_RF can't compile is DEVICE_INTERRUPTIN is not enabled #9857

Closed
jeromecoutant opened this issue Feb 26, 2019 · 10 comments
Closed

802.15.4_RF can't compile is DEVICE_INTERRUPTIN is not enabled #9857

jeromecoutant opened this issue Feb 26, 2019 · 10 comments

Comments

@jeromecoutant
Copy link
Collaborator

Description

Hi

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

$ mbed compile -t ARM -m NUCLEO_L476RG -v

Compile [  1.0%]: NanostackRfPhyMcr20a.cpp                                                                                                                                                                                        
[Error] NanostackRfPhyMcr20a.h@64,0:  #135: namespace "mbed"  has no member "InterruptIn"
[Error] NanostackRfPhyMcr20a.cpp@137,0:  #20: identifier "InterruptIn" is undefined

Issue request type

[ ] Question
[ ] Enhancement
[x] Bug
@ciarmcom
Copy link
Member

Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-921

@jeromecoutant
Copy link
Collaborator Author

Hi

Note that this issue is raised during TFM scope. (#9221) (#9853)

cc @ARMmbed/mbed-os-hal @ARMmbed/mbed-os-maintainers @ARMmbed/mbed-os-psa

@0xc0170
Copy link
Contributor

0xc0170 commented Feb 28, 2019

[Error] NanostackRfPhyMcr20a.h@64,0: #135: namespace "mbed" has no member "InterruptIn"
[Error] NanostackRfPhyMcr20a.cpp@137,0: #20: identifier "InterruptIn" is undefined

This is similar to usticker. Such basic functionality like InterruptIn would not be ported? As this option is there should be supported

@ARMmbed/mbed-os-ipcore

@mikisch81
Copy link
Contributor

[Error] NanostackRfPhyMcr20a.h@64,0: #135: namespace "mbed" has no member "InterruptIn"
[Error] NanostackRfPhyMcr20a.cpp@137,0: #20: identifier "InterruptIn" is undefined

This is similar to usticker. Such basic functionality like InterruptIn would not be ported? As this option is there should be supported

@ARMmbed/mbed-os-ipcore

@ARMmbed/mbed-os-ipcore can you address this issue?

@ARMmbed/mbed-os-maintainers

@artokin
Copy link
Contributor

artokin commented Mar 21, 2019

Fixed in PR #10142.

@jeromecoutant
Copy link
Collaborator Author

@artokin
This is not fully fixed. I added a comment in #10142

@jeromecoutant
Copy link
Collaborator Author

@ciarmcom please re-open this issue as it is not fixed
Thx

@jeromecoutant
Copy link
Collaborator Author

[DEBUG] Output: In file included from .\components\802.15.4_RF\mcr20a-rf-driver\source\NanostackRfPhyMcr20a.cpp:16:
[DEBUG] Output: ./components/802.15.4_RF/mcr20a-rf-driver/mcr20a-rf-driver\NanostackRfPhyMcr20a.h:64:11: error: no type named 'InterruptIn' in namespace 'mbed'
[DEBUG] Output:     mbed::InterruptIn _rf_irq;
[DEBUG] Output:     ~~~~~~^
[DEBUG] Output: 1 error generated.

@artokin
Copy link
Contributor

artokin commented Mar 21, 2019

Thanks @jeromecoutant , I think I compiled all drivers without DEVICE_INTERRUPTIN but apparently something was not right in my environment.

@artokin
Copy link
Contributor

artokin commented Mar 21, 2019

A fix PR is available in #10185

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

No branches or pull requests

5 participants