microlibrary

Dependencies

Table of Contents

  1. avr-libcpp
  2. GoogleTest

avr-libcpp

avr-libcpp is a microlibrary dependency if MICROLIBRARY_HIL is MICROCHIP_MEGAAVR, and MICROLIBRARY_TARGET is HARDWARE. A parent project supplied copy of avr-libcpp can be used instead of the microlibrary supplied copy by using CMake’s FetchContent module to add the parent project supplied copy to a CMake build before microlibrary is added to the CMake build.

include( FetchContent )
FetchContent_Declare( avrlibcpp
    ...
    )

If a parent project supplied copy of avr-libcpp is used, avr-libcpp must be configured as follows:

GoogleTest

GoogleTest is a microlibrary dependency if MICROLIBRARY_TARGET is DEVELOPMENT_ENVIRONMENT. A parent project supplied copy of GoogleTest can be used instead of the microlibrary supplied copy by using CMake’s FetchContent module to add the parent project supplied copy to a CMake build before microlibrary is added to the CMake build.

include( FetchContent )
FetchContent_Declare( googletest
    ...
    )