Skip to content

Box 0 can't receive RPC #539

@Taiki-San

Description

@Taiki-San

Multiple mbedOS features don't work properly when uVisor is activated unless implemented in box 0 (Ethernet on a K64F board for instance).

However, exposing those features with a RPC will cause an assert when called because of this code.
The documentation doesn't mention creating RPCs from the public box but it appears possible and when box_id < 1 is patched and replaced with box_id < 0, everything appears to work fine.

Is there a reason for this limitation? If not, would a PR for this patch be accepted?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions