Thanks to visit codestin.com
Credit goes to github.com

Skip to content

rpc.call_async() without Future #12

Open
@razvanphp

Description

@razvanphp

I am writing a dual-core app running on Portenta H7 with micropython on M7 + arduino code on M4.

My use-case for true paralelism is to call a function and never expect for the return value (since it's void anyway). I want to do this call in a non-blocking way, so I used rpc.call_async() but after 150 calls, I get this error:

timeout waiting for a free buffer
(OR)
memory allocation failed, allocating 4168 bytes

This does not happen with rpc.call(), but I do not want to introduce latency.

How can we achieve this?

Thanks!
R

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