Skip to content

Usage of embedded-hal to support bindgen'ed OpenThread #235

Open
@markushx

Description

@markushx

I am currently bindgen'ing OpenThread and want to create an idiomatic wrapper around it.

Among other things (e.g. radio-hal), OpenThread needs support for a MilliSecond timer API:

pub unsafe extern "C" fn otPlatAlarmMilliStop(_aInstance: *mut otInstance) {};
pub unsafe extern "C" fn otPlatAlarmMilliStartAt(_aInstance: *mut otInstance, _aT0: u32, _aDt: u32) {};
pub unsafe extern "C" fn otPlatAlarmMilliGetNow() -> u32 {};

I am wondering what I should build this on. I see several (competing? complementing?) options:

Any recommendations?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions