<commit_before># Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

add_subdirectory(TARGET_FVP_MPS2_M0 EXCLUDE_FROM_ALL)
add_subdirectory(TARGET_FVP_MPS2_M0P EXCLUDE_FROM_ALL)
add_subdirectory(TARGET_FVP_MPS2_M3 EXCLUDE_FROM_ALL)
add_subdirectory(TARGET_FVP_MPS2_M4 EXCLUDE_FROM_ALL)
add_subdirectory(TARGET_FVP_MPS2_M7 EXCLUDE_FROM_ALL)

add_library(mbed-fvp-mps2 INTERFACE)

target_include_directories(mbed-fvp-mps2
    INTERFACE
        .
        drivers
        SDK
)

target_sources(mbed-fvp-mps2
    INTERFACE
        analogin_api.c
        flash_api.c
        gpio_api.c
        gpio_irq_api.c
        i2c_api.c
        lp_ticker.c
        pinmap.c
        port_api.c
        serial_api.c
        sleep_api.c
        spi_api.c
        trng_api.c
        us_ticker.c

        drivers/lan91c111.c

        SDK/fpga.c
)<commit_msg>CMake fvp mps2: fix linking to arm-fm<commit_after># Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

add_subdirectory(TARGET_FVP_MPS2_M0 EXCLUDE_FROM_ALL)
add_subdirectory(TARGET_FVP_MPS2_M0P EXCLUDE_FROM_ALL)
add_subdirectory(TARGET_FVP_MPS2_M3 EXCLUDE_FROM_ALL)
add_subdirectory(TARGET_FVP_MPS2_M4 EXCLUDE_FROM_ALL)
add_subdirectory(TARGET_FVP_MPS2_M7 EXCLUDE_FROM_ALL)

add_library(mbed-fvp-mps2 INTERFACE)

target_include_directories(mbed-fvp-mps2
    INTERFACE
        .
        drivers
        SDK
)

target_sources(mbed-fvp-mps2
    INTERFACE
        analogin_api.c
        flash_api.c
        gpio_api.c
        gpio_irq_api.c
        i2c_api.c
        lp_ticker.c
        pinmap.c
        port_api.c
        serial_api.c
        sleep_api.c
        spi_api.c
        trng_api.c
        us_ticker.c

        drivers/lan91c111.c

        SDK/fpga.c
)

target_link_libraries(mbed-fvp-mps2 INTERFACE mbed-arm-fm)
{'fraction_non_alphanumeric': 0.06311207834602829, 'fraction_numerical': 0.028291621327529923, 'mean_word_length': 2.7839506172839505, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5446351', 'n_tokens_mistral': 777, 'n_tokens_neox': 735, 'n_words': 97}