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

Compatibility: yield() weak binding, delay() calling yield() #17

@dok-net

Description

@dok-net

In official AVR Arduino core, delay() is based on yield(), which is turn has weak binding and is overridable.
I am asking that yield() has a weak binding to __yield(), which shall contain the default implementation for the given platform, and that delay() on any Arduino platform must either call yield() (at least once, preferably at the end of delay()), or have a weak binding to __delay() such that is can be shimmed.
This is for compatibility with libraries like Arduino Scheduler and similar implementations.

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