Skip to content

Break mbed-drivers dependency #21

@0xc0170

Description

@0xc0170

If we want to remove dependency on mbed-drivers. I had a quick look at files within hal, which are referenced within hal tree:

Files from mbed-drivers used in target's HAL:

  • pinmap common (uses error() if pinmap not found)
  • mbed error (mbed_die() -> which requires wait_us)
  • mbed assert - exit() and mbed_die()
  • us ticker api

All these are currently in mbed-drivers module. There are some dependencies on other files as highlighted above. Thus to have HAL not depend on mbed-drivers, we would need to move files above, plus this additional files:

  • error
  • exit
  • mbed_assert (use from core-util which depends on mbed-drivers)
  • mbed_die
  • mbed_interface - weak mac address (needs to be fixed)
  • wait

@bogdanm @bremoran @salkinium

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