Skip to content
This repository was archived by the owner on Aug 19, 2021. It is now read-only.
This repository was archived by the owner on Aug 19, 2021. It is now read-only.

[RC5 OoB] mbed-events doesn't compile with non Cortex-M platform #11

@toyowata

Description

@toyowata

How to reproduce:

mbed import https://github.com/ARMmbed/mbed-os-example-ble
mbed update mbed-os-5.1.0-rc5
cd BLE_URIBeacon
# Add RZ_A1H config in the mbed_app.json
mbed compile -m RZ_A1H -t ARM

I got errors below.

C:\Users\toywat01\Documents\GitHub\mbed-os-example-ble\BLE_URIBeacon>mbed compile -m RZ_A1H -t ARM
Building project BLE_URIBeacon (RZ_A1H, ARM)
Scan: .
Scan: FEATURE_BLE
Scan: FEATURE_CLIENT
Scan: FEATURE_COMMON_PAL
Scan: FEATURE_UVISOR
Scan: FEATURE_STORAGE
Scan: mbed
Scan: env
Compile: events.c
Compile: events_mbed.cpp
[Error] events_mbed.cpp@48,0:  #20: identifier "__get_PRIMASK" is undefined
[Error] events_mbed.cpp@53,0:  #20: identifier "__set_PRIMASK" is undefined
[ERROR] ".\mbed-events\events-c\events_mbed.cpp", line 48: Error:  #20: identifier "__get_PRIMASK" is undefined
".\mbed-events\events-c\events_mbed.cpp", line 53: Error:  #20: identifier "__set_PRIMASK" is undefined
.\mbed-events\events-c\events_mbed.cpp: 0 warnings, 2 errors

[mbed] ERROR: "python" returned error code 1.
[mbed] ERROR: Command "python -u C:\Users\toywat01\Documents\GitHub\mbed-os-example-ble\BLE_URIBeacon\mbed-os\tools\make.py -t ARM -m RZ_A1H --source . --build .\.build\RZ_A1H\ARM" in "C:\Users\toywat01\Documents\GitHub\mbed-os-example-ble\BLE_URIBeacon"

---

cc @geky @pan- @sg-

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions