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
````
[ ] Question
[ ] Enhancement
[x] Bug
Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-921
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
[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
[Error] NanostackRfPhyMcr20a.h@64,0: #135: namespace "mbed" has no member "InterruptIn"
[Error] NanostackRfPhyMcr20a.cpp@137,0: #20: identifier "InterruptIn" is undefinedThis 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
Fixed in PR https://github.com/ARMmbed/mbed-os/pull/10142.
@artokin
This is not fully fixed. I added a comment in #10142
@ciarmcom please re-open this issue as it is not fixed
Thx
[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.
Thanks @jeromecoutant , I think I compiled all drivers without DEVICE_INTERRUPTIN but apparently something was not right in my environment.
A fix PR is available in https://github.com/ARMmbed/mbed-os/pull/10185