Mbed-os: 802.15.4_RF can't compile is DEVICE_INTERRUPTIN is not enabled

Created on 26 Feb 2019  路  10Comments  路  Source: ARMmbed/mbed-os

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
CLOSED mirrored bug

All 10 comments

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 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
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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cesarvandevelde picture cesarvandevelde  路  4Comments

ghost picture ghost  路  4Comments

sarahmarshy picture sarahmarshy  路  4Comments

ashok-rao picture ashok-rao  路  4Comments

bulislaw picture bulislaw  路  3Comments