Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move hal stubs to hal directory #14827

Merged
merged 4 commits into from
Jul 1, 2021
Merged

Move hal stubs to hal directory #14827

merged 4 commits into from
Jul 1, 2021

Commits on Jul 1, 2021

  1. CMake: Move hal stubs sources to the mbed-os/hal directory

    Move the hal stubs into the hal component directory.
    so we can avoid duplicating the mbed-os source tree in a central
    UNITTESTS folder.
    rajkan01 committed Jul 1, 2021
    Configuration menu
    Copy the full SHA
    84bb4cc View commit details
    Browse the repository at this point in the history
  2. CMake: unit-tests: Move mbed-headers-hal to the hal directory

    Move the header-only mbed-headers-hal library the unit test stubs
    depend on into the hal component directory. This makes the events
    stubs more self-contained and improves the composition of the library.
    rajkan01 committed Jul 1, 2021
    Configuration menu
    Copy the full SHA
    bf06897 View commit details
    Browse the repository at this point in the history
  3. CMake: unit-tests: Make hal stubs only depend on headers it uses

    Previously the hal stub library depended on `mbed-headers`, which
    is a collection of all available headers in mbed-os. To make it easier
    to separate the library, only depend on the headers we're using.
    rajkan01 committed Jul 1, 2021
    Configuration menu
    Copy the full SHA
    fe0298a View commit details
    Browse the repository at this point in the history
  4. CMake: Remove --coverage link option from mbed-stubs-hal

    The --coverage flag globally set in UNITTESTS/CMakeLists.txt
    and configuring the same option again in mbed-stubs-hal is
    redundant so remove it
    rajkan01 committed Jul 1, 2021
    Configuration menu
    Copy the full SHA
    26c608b View commit details
    Browse the repository at this point in the history